Upload annotation/2M_kb_eval/echosight_evqa_2M_kb/kb_index_files/README.md with huggingface_hub
Browse files
annotation/2M_kb_eval/echosight_evqa_2M_kb/kb_index_files/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# kb_index.faiss - Split File Parts
|
| 2 |
+
|
| 3 |
+
This directory contains the split parts of `kb_index.faiss` (25.28 GB), divided into 26 chunks of ~1GB each for easier upload/download.
|
| 4 |
+
|
| 5 |
+
## Files
|
| 6 |
+
|
| 7 |
+
- `kb_index.faiss.part000` to `kb_index.faiss.part025` (26 parts)
|
| 8 |
+
- `merge_chunks.py` - Merge script
|
| 9 |
+
- `README.md` - This file
|
| 10 |
+
|
| 11 |
+
## How to Merge
|
| 12 |
+
|
| 13 |
+
After downloading this dataset, run the merge script in this directory:
|
| 14 |
+
|
| 15 |
+
```bash
|
| 16 |
+
cd annotation/2M_kb_eval/echosight_evqa_2M_kb/kb_index_files/
|
| 17 |
+
python merge_chunks.py
|
| 18 |
+
```
|
| 19 |
+
|
| 20 |
+
The script will:
|
| 21 |
+
1. Automatically detect all `.part*` files in the current directory
|
| 22 |
+
2. Merge them into `../kb_index.faiss` (parent directory)
|
| 23 |
+
3. Verify the merged file size (~25.28 GB)
|
| 24 |
+
4. Optionally delete the `.part` files after successful merge
|
| 25 |
+
|
| 26 |
+
## Requirements
|
| 27 |
+
|
| 28 |
+
- Python 3.6+
|
| 29 |
+
- ~50 GB free disk space during merge (25 GB for parts + 25 GB for merged file)
|
| 30 |
+
|
| 31 |
+
## Verification
|
| 32 |
+
|
| 33 |
+
After merging, verify the file:
|
| 34 |
+
```bash
|
| 35 |
+
ls -lh ../kb_index.faiss
|
| 36 |
+
# Expected: ~25.28 GB
|
| 37 |
+
```
|