Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -16,8 +16,12 @@ through the `embed-multilingual-v2.0` embedding model from [Cohere AI](https://c
|
|
| 16 |
|
| 17 |
## Sample code for searching for anime
|
| 18 |
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
| 20 |
|
|
|
|
| 21 |
```python
|
| 22 |
import os
|
| 23 |
|
|
|
|
| 16 |
|
| 17 |
## Sample code for searching for anime
|
| 18 |
|
| 19 |
+
Install some dependencies
|
| 20 |
+
```
|
| 21 |
+
pip install cohere==4.4.1 datasets==2.12.0 torch==2.0.1
|
| 22 |
+
```
|
| 23 |
|
| 24 |
+
Code heavily inspired by the [Cohere Wikipedia embeddings sample](https://huggingface.co/datasets/Cohere/wikipedia-22-12-simple-embeddings#search)
|
| 25 |
```python
|
| 26 |
import os
|
| 27 |
|