Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,44 @@
|
|
| 1 |
-
Data for
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Data for Paper: *Dynamic Vocabularies for Learned Sparse Retrieval with Entities*
|
| 2 |
|
| 3 |
+
This guide explains how to download the data used in our paper.
|
| 4 |
|
| 5 |
+
---
|
| 6 |
|
| 7 |
+
## Setup Instructions
|
| 8 |
+
|
| 9 |
+
1. **Clone the DyVo repository**
|
| 10 |
+
```
|
| 11 |
+
git clone https://github.com/thongnt99/DyVo
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
2. **Create a data directory inside the project**
|
| 15 |
+
```
|
| 16 |
+
cd DyVo
|
| 17 |
+
mkdir dyvo_data
|
| 18 |
+
cd dyvo_data
|
| 19 |
+
```
|
| 20 |
+
|
| 21 |
+
3. **Download the data from Hugging Face**
|
| 22 |
+
|
| 23 |
+
Make sure you have the Hugging Face CLI installed. If not, install it with:
|
| 24 |
+
```
|
| 25 |
+
pip install huggingface_hub
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
Then run:
|
| 29 |
+
```
|
| 30 |
+
huggingface-cli download lsr42/dyvo_data
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
## Notes
|
| 36 |
+
|
| 37 |
+
- You may need to log in to Hugging Face before downloading:
|
| 38 |
+
```
|
| 39 |
+
huggingface-cli login
|
| 40 |
+
```
|
| 41 |
+
- The downloaded files will be stored locally; check the Hugging Face CLI documentation for cache settings if needed.
|
| 42 |
+
- It is recommended to use Python 3.7 or later.
|
| 43 |
+
|
| 44 |
+
---
|