Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,69 +1,17 @@
|
|
1 |
-
#
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
```
|
16 |
-
|
17 |
-
|
18 |
-
Use the `cat` command to concatenate all parts in the correct order:
|
19 |
-
|
20 |
-
```bash
|
21 |
-
cat alibaba_dataset_part_* > alibaba_dataset.tar.xz
|
22 |
-
```
|
23 |
-
|
24 |
-
This command combines all parts into a single file named `alibaba_dataset.tar.xz`.
|
25 |
-
|
26 |
-
## Step 3: Verify the Merged File
|
27 |
-
Check that the merged file was created successfully:
|
28 |
-
|
29 |
-
```bash
|
30 |
-
ls -lh alibaba_dataset.tar.xz
|
31 |
-
```
|
32 |
-
|
33 |
-
The file size should be approximately 500GB (the sum of all parts).
|
34 |
-
|
35 |
-
## Step 4: Extract the tar.xz Archive
|
36 |
-
Use the `tar` command with appropriate flags:
|
37 |
-
|
38 |
-
```bash
|
39 |
-
tar -xf alibaba_dataset.tar.xz
|
40 |
-
```
|
41 |
-
|
42 |
-
For progress visibility, add the verbose flag:
|
43 |
-
|
44 |
-
```bash
|
45 |
-
tar -xvf alibaba_dataset.tar.xz
|
46 |
-
```
|
47 |
-
|
48 |
-
## Step 5: Verify Extraction
|
49 |
-
Once extraction is complete, check the extracted contents:
|
50 |
-
|
51 |
-
```bash
|
52 |
-
ls -la
|
53 |
-
```
|
54 |
-
|
55 |
-
## Memory-Efficient Options
|
56 |
-
|
57 |
-
If disk space is limited, extract directly without saving the merged file:
|
58 |
-
|
59 |
-
```bash
|
60 |
-
cat alibaba_dataset_part_* | tar -xJ
|
61 |
-
```
|
62 |
-
|
63 |
-
For large archives that cause memory issues:
|
64 |
-
|
65 |
-
```bash
|
66 |
-
tar --use-compress-program="xz -d" -xf alibaba_dataset.tar.xz
|
67 |
-
```
|
68 |
-
|
69 |
-
This approach may handle very large archives more efficiently.
|
|
|
1 |
+
# alibaba_dataset
|
2 |
+
|
3 |
+
## Dataset Information
|
4 |
+
This dataset contains multiple parts of a large archive that need to be combined.
|
5 |
+
|
6 |
+
## Reconstruction Instructions
|
7 |
+
To reconstruct the original dataset file from the parts:
|
8 |
+
|
9 |
+
1. Download all parts (alibaba_dataset_part_*)
|
10 |
+
2. Use the cat command to join them:
|
11 |
+
```
|
12 |
+
cat alibaba_dataset_part_* > alibaba_dataset.tar.xz
|
13 |
+
```
|
14 |
+
3. Extract the tarball:
|
15 |
+
```
|
16 |
+
tar -xf alibaba_dataset.tar.xz
|
17 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|