add usage info
Browse files
README.md
CHANGED
@@ -25,6 +25,18 @@ The dataset contains 100 questions, each having their answer in 1 of the 90 arti
|
|
25 |
- **Language(s) (NLP):** French
|
26 |
- **License:** [More Information Needed]
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
### Dataset Sources
|
29 |
|
30 |
https://www.syntec.fr/
|
|
|
25 |
- **Language(s) (NLP):** French
|
26 |
- **License:** [More Information Needed]
|
27 |
|
28 |
+
### Usage
|
29 |
+
|
30 |
+
```py
|
31 |
+
import datasets
|
32 |
+
|
33 |
+
# Download the documents (corpus)
|
34 |
+
corpus_raw = datasets.load_dataset("lyon-nlp/mteb-fr-retrieval-syntec-s2p", "documents")
|
35 |
+
|
36 |
+
# Download the queries
|
37 |
+
queries_raw = datasets.load_dataset("lyon-nlp/mteb-fr-retrieval-syntec-s2p", "queries")
|
38 |
+
```
|
39 |
+
|
40 |
### Dataset Sources
|
41 |
|
42 |
https://www.syntec.fr/
|