Update README.md
Browse files
README.md
CHANGED
|
@@ -1,42 +1,19 @@
|
|
| 1 |
|
| 2 |
# Stack v2 Clean — 200K Multi-Language Code Subset
|
| 3 |
|
| 4 |
-
A cleaned and filtered subset of [bigcode/the-stack-v2](https://huggingface.co/datasets/bigcode/the-stack-v2)
|
| 5 |
-
|
| 6 |
## Dataset Summary
|
| 7 |
|
| 8 |
-
This dataset was assembled to support fine-tuning
|
| 9 |
-
|
| 10 |
-
| Language | Files | Approx. Size |
|
| 11 |
-
|-------------|---------|--------------|
|
| 12 |
-
| Python | 40,001 | 57.8 MB |
|
| 13 |
-
| JavaScript | 40,001 | 43.2 MB |
|
| 14 |
-
| Java | 40,001 | 41.6 MB |
|
| 15 |
-
| C++ | 40,001 | 84.3 MB |
|
| 16 |
-
| Go | 40,001 | 60.8 MB |
|
| 17 |
-
| **Total** | **200,005** | **~288 MB** |
|
| 18 |
-
|
| 19 |
-
## Data Fields
|
| 20 |
-
|
| 21 |
-
Each row contains the following fields:
|
| 22 |
-
|
| 23 |
-
- `blob_id`: Software Heritage blob identifier for the source file.
|
| 24 |
-
- `content_id`: Content hash used for deduplication.
|
| 25 |
-
- `repo_name`: Origin repository in `owner/name` format.
|
| 26 |
-
- `path`: File path within the source repository.
|
| 27 |
-
- `language`: Programming language label (Python, JavaScript, Java, C++, or Go).
|
| 28 |
-
- `extension`: File extension.
|
| 29 |
-
- `length_bytes`: Size of the original file in bytes.
|
| 30 |
-
- `license_type`: License classification reported by the source dataset.
|
| 31 |
-
- `content`: Full source code as a UTF-8 string.
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
|
|
|
| 40 |
|
| 41 |
## Limitations and Considerations
|
| 42 |
|
|
@@ -57,4 +34,4 @@ If you use this dataset, please cite the original Stack v2 release:
|
|
| 57 |
journal={arXiv preprint arXiv:2402.19173},
|
| 58 |
year={2024}
|
| 59 |
}
|
| 60 |
-
```
|
|
|
|
| 1 |
|
| 2 |
# Stack v2 Clean — 200K Multi-Language Code Subset
|
| 3 |
|
| 4 |
+
A cleaned and filtered subset of [bigcode/the-stack-v2](https://huggingface.co/datasets/bigcode/the-stack-v2).
|
|
|
|
| 5 |
## Dataset Summary
|
| 6 |
|
| 7 |
+
This dataset was assembled to support fine-tuning models such as ModernBERT, Llama, Qwen on programming language data. It provides a balanced, deduplicated, and filtered collection of real-world source files drawn from public repositories indexed by Software Heritage and curated by the BigCode project.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
+
| Language | Files |
|
| 10 |
+
|-------------|---------|
|
| 11 |
+
| Python | 40,001 |
|
| 12 |
+
| JavaScript | 40,001 |
|
| 13 |
+
| Java | 40,001 |
|
| 14 |
+
| C++ | 40,001 |
|
| 15 |
+
| Go | 40,001 |
|
| 16 |
+
| **Total** | **200,005** |
|
| 17 |
|
| 18 |
## Limitations and Considerations
|
| 19 |
|
|
|
|
| 34 |
journal={arXiv preprint arXiv:2402.19173},
|
| 35 |
year={2024}
|
| 36 |
}
|
| 37 |
+
```
|