Instructions to use cointegrated/SONAR_200_text_encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cointegrated/SONAR_200_text_encoder with Transformers:
# Load model directly from transformers import AutoTokenizer, M2M100Encoder tokenizer = AutoTokenizer.from_pretrained("cointegrated/SONAR_200_text_encoder") model = M2M100Encoder.from_pretrained("cointegrated/SONAR_200_text_encoder") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -276,4 +276,6 @@ print(embs)
|
|
| 276 |
# [-0.0003, -0.0071, 0.0076, ..., 0.0055, 0.0022, -0.0083]])
|
| 277 |
```
|
| 278 |
|
| 279 |
-
For advanced examples of usage, please take a look at the readme in https://github.com/facebookresearch/SONAR.
|
|
|
|
|
|
|
|
|
| 276 |
# [-0.0003, -0.0071, 0.0076, ..., 0.0055, 0.0022, -0.0083]])
|
| 277 |
```
|
| 278 |
|
| 279 |
+
For advanced examples of usage, please take a look at the readme in https://github.com/facebookresearch/SONAR.
|
| 280 |
+
|
| 281 |
+
The model was repacked [in this notebook](https://colab.research.google.com/drive/1s6JuQWaMnWXyFdni1AAw-Z48k8YoKwG7?usp=sharing).
|