Upload README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CrashTwin Dataset
|
| 2 |
+
|
| 3 |
+
This repository provides the CrashTwin dataset released as a single `tar`
|
| 4 |
+
archive split into multiple `.zst` parts for large-scale distribution.
|
| 5 |
+
|
| 6 |
+
## File Structure
|
| 7 |
+
|
| 8 |
+
```
|
| 9 |
+
crashtwin_data.tar.part_000.zst
|
| 10 |
+
...
|
| 11 |
+
crashtwin_data.tar.part_045.zst
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
## Download
|
| 15 |
+
|
| 16 |
+
```bash
|
| 17 |
+
git lfs install
|
| 18 |
+
git clone https://huggingface.co/datasets/nnuochen/crashtwin_data
|
| 19 |
+
cd crashtwin_data
|
| 20 |
+
git lfs pull
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
## Restore Dataset
|
| 24 |
+
|
| 25 |
+
The following command reconstructs the dataset directory:
|
| 26 |
+
|
| 27 |
+
```bash
|
| 28 |
+
mkdir -p crashtwin_data
|
| 29 |
+
cat crashtwin_data.tar.part_*.zst | zstd -dc -T0 | tar -xvf - -C crashtwin_data
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
After extraction, the dataset is available under:
|
| 33 |
+
|
| 34 |
+
```
|
| 35 |
+
crashtwin_data/
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
## Requirements
|
| 39 |
+
|
| 40 |
+
- `git-lfs`
|
| 41 |
+
- `zstd`
|
| 42 |
+
- `tar`
|
| 43 |
+
- Sufficient disk space (hundreds of GB)
|
| 44 |
+
|