Artanic30 commited on
Commit
38293ff
·
verified ·
1 Parent(s): d9b42d7

Upload annotation/README_MERGE.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. annotation/README_MERGE.md +39 -0
annotation/README_MERGE.md ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Large File Merge Instructions
2
+
3
+ ## Overview
4
+
5
+ Some large files have been split into 1GB chunks for easier upload/download. The split files are stored in dedicated `*_files/` directories alongside the original file location.
6
+
7
+ ## Files that need merging
8
+
9
+ - `kb_index.faiss` (25.3 GB)
10
+ - Split into ~26 parts in `2M_kb_eval/echosight_evqa_2M_kb/kb_index_files/`
11
+
12
+ ## How to Merge
13
+
14
+ After downloading this dataset, navigate to the specific `*_files/` directory and run the merge script:
15
+
16
+ ```bash
17
+ cd annotation/2M_kb_eval/echosight_evqa_2M_kb/kb_index_files/
18
+ python merge_chunks.py
19
+ ```
20
+
21
+ This will automatically:
22
+ 1. Detect all `.part*` files in current directory
23
+ 2. Merge them back into the complete file (e.g., `kb_index.faiss`)
24
+ 3. Place the merged file in the parent directory (`../`)
25
+ 4. Optionally delete the `.part` files after successful merge
26
+
27
+ ## Requirements
28
+
29
+ - Python 3.6+
30
+ - Sufficient disk space (at least 2x the size of the largest file during merge)
31
+
32
+ ## Verification
33
+
34
+ After merging, verify the file exists in the parent directory:
35
+ ```bash
36
+ ls -lh ../kb_index.faiss
37
+ ```
38
+
39
+ Expected size: ~25.3 GB