Update README.md
Browse files
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-
|
18 |
-
tokenizer = AutoTokenizer.from_pretrained("BMRetriever/BMRetriever-
|
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:
|