Update README.md
Browse files
README.md
CHANGED
|
@@ -1305,7 +1305,6 @@ You can also use the model to perform cross-lingual search: Enter your search qu
|
|
| 1305 |
## Loading the dataset
|
| 1306 |
|
| 1307 |
### Loading the document embeddings
|
| 1308 |
-
The `corpus` split contains all document embeddings of the corpus.
|
| 1309 |
|
| 1310 |
You can either load the dataset like this:
|
| 1311 |
```python
|
|
@@ -1335,7 +1334,6 @@ A full search example (on the first 1,000 paragraphs):
|
|
| 1335 |
from datasets import load_dataset
|
| 1336 |
import numpy as np
|
| 1337 |
import cohere
|
| 1338 |
-
import os
|
| 1339 |
|
| 1340 |
co = cohere.Client("YOUR_COHERE_API_KEY") # Add your cohere API key from www.cohere.com
|
| 1341 |
lang = "simple"
|
|
|
|
| 1305 |
## Loading the dataset
|
| 1306 |
|
| 1307 |
### Loading the document embeddings
|
|
|
|
| 1308 |
|
| 1309 |
You can either load the dataset like this:
|
| 1310 |
```python
|
|
|
|
| 1334 |
from datasets import load_dataset
|
| 1335 |
import numpy as np
|
| 1336 |
import cohere
|
|
|
|
| 1337 |
|
| 1338 |
co = cohere.Client("YOUR_COHERE_API_KEY") # Add your cohere API key from www.cohere.com
|
| 1339 |
lang = "simple"
|