Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
## CIRAL Baselines and Indexes
|
2 |
+
|
3 |
+
### Reproduction
|
4 |
+
|
5 |
+
This repo provides the CIRAL's built indexes (Pre-built indexes) to reproduce baselines.
|
6 |
+
|
7 |
+
To search using the indexes:
|
8 |
+
|
9 |
+
1. Afriberta-DPR
|
10 |
+
```bash
|
11 |
+
lang=yo # or ha, so, sw
|
12 |
+
set=train # or test
|
13 |
+
|
14 |
+
run_file=runs/run.ciral.afriberta-dpr.${lang}.${set}.txt
|
15 |
+
|
16 |
+
python -m pyserini.search.faiss \
|
17 |
+
--encoder-class auto \
|
18 |
+
--encoder castorini/afriberta-dpr-ptf-msmarco-ft-latin-mrtydi \
|
19 |
+
--topics /path/to/topics \
|
20 |
+
--index /path/to/faiss.ciral-v1.0-${lang}-afriberta-dpr \
|
21 |
+
--output ${run_file} --batch 128 --threads 16 --hits 1000
|
22 |
+
```
|