ritaranx commited on
Commit
fba8bdc
1 Parent(s): 8d037c7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -14,8 +14,8 @@ Pre-trained models can be loaded through the HuggingFace transformers library:
14
  ```python
15
  from transformers import AutoModel, AutoTokenizer
16
 
17
- model = AutoModel.from_pretrained("BMRetriever/BMRetriever-410m")
18
- tokenizer = AutoTokenizer.from_pretrained("BMRetriever/BMRetriever-410m")
19
  ```
20
 
21
  Then embeddings for different sentences can be obtained by doing the following:
 
14
  ```python
15
  from transformers import AutoModel, AutoTokenizer
16
 
17
+ model = AutoModel.from_pretrained("BMRetriever/BMRetriever-410M")
18
+ tokenizer = AutoTokenizer.from_pretrained("BMRetriever/BMRetriever-410M")
19
  ```
20
 
21
  Then embeddings for different sentences can be obtained by doing the following: