bclavie tomaarsen HF staff commited on
Commit
78fc093
·
verified ·
1 Parent(s): 0d32c15

Fix a snippet (#1)

Browse files

- Fix a snippet (478a985c02a2bb750db87628a82feedefd0d257f)


Co-authored-by: Tom Aarsen <[email protected]>

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -114,7 +114,7 @@ Finally, if you want to extract individula vectors, you can use the model this w
114
  ```python
115
  from colbert.modeling.checkpoint import Checkpoint
116
 
117
- ckpt = Checkpoint(answerdotai/answerai-colbert-small-v1", colbert_config=ColBERTConfig())
118
  embedded_query = ckpt.queryFromText(["Who dubs Howl's in English?"], bsize=16)
119
  ```
120
 
 
114
  ```python
115
  from colbert.modeling.checkpoint import Checkpoint
116
 
117
+ ckpt = Checkpoint("answerdotai/answerai-colbert-small-v1", colbert_config=ColBERTConfig())
118
  embedded_query = ckpt.queryFromText(["Who dubs Howl's in English?"], bsize=16)
119
  ```
120