Update README.md
Browse files
README.md
CHANGED
|
@@ -52,9 +52,11 @@ Each row in the dataset contains the following fields:
|
|
| 52 |
|
| 53 |
## How to use this dataset?
|
| 54 |
You can use this dataset together with its [embeddings](https://huggingface.co/datasets/OpenResearcher/OpenResearcher-Indexes) to build an offline search engine. Below is a pseduo code for **demonstration only** (for production use, consider [Faiss-GPU](https://github.com/facebookresearch/faiss/wiki/Faiss-on-the-GPU)).
|
| 55 |
-
```
|
| 56 |
# download index before
|
| 57 |
-
|
|
|
|
|
|
|
| 58 |
import glob
|
| 59 |
import pickle
|
| 60 |
import faiss
|
|
|
|
| 52 |
|
| 53 |
## How to use this dataset?
|
| 54 |
You can use this dataset together with its [embeddings](https://huggingface.co/datasets/OpenResearcher/OpenResearcher-Indexes) to build an offline search engine. Below is a pseduo code for **demonstration only** (for production use, consider [Faiss-GPU](https://github.com/facebookresearch/faiss/wiki/Faiss-on-the-GPU)).
|
| 55 |
+
```bash
|
| 56 |
# download index before
|
| 57 |
+
huggingface-cli download OpenResearcher/OpenResearcher-Corpus --repo-type=dataset --include="qwen3-embedding-8b/*" --local-dir ./indexes
|
| 58 |
+
```
|
| 59 |
+
```python
|
| 60 |
import glob
|
| 61 |
import pickle
|
| 62 |
import faiss
|