raphaelsty commited on
Commit
cff4f66
·
verified ·
1 Parent(s): aea962b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +26 -1
README.md CHANGED
@@ -776,4 +776,29 @@ This multilingual collection is derived from the original English NanoBEIR datas
776
 
777
  The compact size of these datasets makes them ideal for conducting quick and efficient evaluations during the model training process.
778
  To facilitate broader research in cross-lingual information retrieval, our dataset has been machine-translated from the original English
779
- into eight additional languages: Arabic (ar), German (de), Spanish (es), French (fr), Italian (it), Norwegian (no), Portuguese (pt), and Swedish (sv).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
776
 
777
  The compact size of these datasets makes them ideal for conducting quick and efficient evaluations during the model training process.
778
  To facilitate broader research in cross-lingual information retrieval, our dataset has been machine-translated from the original English
779
+ into eight additional languages: Arabic (ar), German (de), Spanish (es), French (fr), Italian (it), Norwegian (no), Portuguese (pt), and Swedish (sv).
780
+
781
+
782
+ ```python
783
+ from datasets import load_dataset
784
+
785
+ language = "fr"
786
+
787
+ corpus = load_dataset(
788
+ "lightonai/nanobeir-multilingual",
789
+ f"NanoQuoraRetrieval_{language}",
790
+ split="corpus"
791
+ )
792
+
793
+ queries = load_dataset(
794
+ "lightonai/nanobeir-multilingual",
795
+ f"NanoQuoraRetrieval_{language}",
796
+ split="queries"
797
+ )
798
+
799
+ qrels = load_dataset(
800
+ "lightonai/nanobeir-multilingual",
801
+ "NanoQuoraRetrieval",
802
+ split="qrels"
803
+ )
804
+ ```