Datasets:
Upload multi-source Rust AI dataset
Browse files- .gitattributes +4 -0
- README.md +66 -0
- collection_report.json +35 -0
- pretrain_rust_code.jsonl +3 -0
- sft_all.jsonl +3 -0
- sft_train.jsonl +3 -0
- sft_validation.jsonl +3 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
pretrain_rust_code.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
sft_all.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
sft_train.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
sft_validation.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- rust
|
| 9 |
+
- code
|
| 10 |
+
- programming
|
| 11 |
+
- software-engineering
|
| 12 |
+
pretty_name: Rust AI Multi-Source Dataset
|
| 13 |
+
size_categories:
|
| 14 |
+
- 10K<n<100K
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# Rust AI Multi-Source Dataset
|
| 18 |
+
|
| 19 |
+
A multi-source Rust programming dataset.
|
| 20 |
+
|
| 21 |
+
## Files
|
| 22 |
+
|
| 23 |
+
- `sft_train.jsonl`: SFT training examples
|
| 24 |
+
- `sft_validation.jsonl`: SFT validation examples
|
| 25 |
+
- `sft_all.jsonl`: All SFT examples
|
| 26 |
+
- `pretrain_rust_code.jsonl`: Raw Rust code corpus
|
| 27 |
+
- `collection_report.json`: Collection statistics
|
| 28 |
+
|
| 29 |
+
## Statistics
|
| 30 |
+
|
| 31 |
+
- SFT total: 201377
|
| 32 |
+
- SFT train: 191308
|
| 33 |
+
- SFT validation: 10069
|
| 34 |
+
- Raw Rust code: 93381
|
| 35 |
+
|
| 36 |
+
## Sources
|
| 37 |
+
|
| 38 |
+
- DavidBPunkt/Strandset-Rust-v1
|
| 39 |
+
- Convence/Rust-Coder
|
| 40 |
+
- NickIBrody/rust-code-suite
|
| 41 |
+
- rust-lang/book
|
| 42 |
+
|
| 43 |
+
## Filtering
|
| 44 |
+
|
| 45 |
+
Exact duplicate content is removed.
|
| 46 |
+
|
| 47 |
+
Raw code corpus entries are retained only when their
|
| 48 |
+
record-level license matches the allowlist:
|
| 49 |
+
|
| 50 |
+
MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, 0BSD.
|
| 51 |
+
|
| 52 |
+
Unknown or non-allowlisted licenses are excluded from
|
| 53 |
+
the raw code corpus.
|
| 54 |
+
|
| 55 |
+
## Important limitations
|
| 56 |
+
|
| 57 |
+
Source dataset quality claims are not independently
|
| 58 |
+
verified by this collection script.
|
| 59 |
+
|
| 60 |
+
The SFT examples are not all compiler-tested here.
|
| 61 |
+
The raw code corpus is intended for code pretraining,
|
| 62 |
+
not instruction tuning.
|
| 63 |
+
|
| 64 |
+
The dataset uses mixed upstream licenses. Review each
|
| 65 |
+
source and its attribution requirements before
|
| 66 |
+
redistribution or commercial use.
|
collection_report.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"created_at": "2026-11-18T12:52:21.818553+00:00",
|
| 3 |
+
"sources": {
|
| 4 |
+
"Strandset-Rust-v1": {
|
| 5 |
+
"scanned": 191008,
|
| 6 |
+
"added": 190161,
|
| 7 |
+
"errors": 0
|
| 8 |
+
},
|
| 9 |
+
"Convence/Rust-Coder": {
|
| 10 |
+
"scanned": 10800,
|
| 11 |
+
"added": 10800,
|
| 12 |
+
"errors": 0
|
| 13 |
+
},
|
| 14 |
+
"NickIBrody/rust-code-suite": {
|
| 15 |
+
"scanned": 200000,
|
| 16 |
+
"added": 93381,
|
| 17 |
+
"license_rejected": 104461,
|
| 18 |
+
"errors": 0
|
| 19 |
+
}
|
| 20 |
+
},
|
| 21 |
+
"total_sft": 201377,
|
| 22 |
+
"sft_train": 191308,
|
| 23 |
+
"sft_validation": 10069,
|
| 24 |
+
"pretrain_code": 93381,
|
| 25 |
+
"unique_sft": 201377,
|
| 26 |
+
"unique_code": 93381,
|
| 27 |
+
"allowed_licenses": [
|
| 28 |
+
"0bsd",
|
| 29 |
+
"apache-2.0",
|
| 30 |
+
"bsd-2-clause",
|
| 31 |
+
"bsd-3-clause",
|
| 32 |
+
"isc",
|
| 33 |
+
"mit"
|
| 34 |
+
]
|
| 35 |
+
}
|
pretrain_rust_code.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0228643281a0ce3b237eaf7a2fb3445b24a1cd2b6dc31bd23738ce9b4040575d
|
| 3 |
+
size 213670052
|
sft_all.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:037198bb36e9ef0ac20201ff89093521aa4ed178307e3f3c0e0b08f13ef135a3
|
| 3 |
+
size 367761075
|
sft_train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35702a0b5ed149aa69768afe65f67d900c1a384a1db30456c366370536b9df77
|
| 3 |
+
size 349256248
|
sft_validation.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dfa0d0fe36420032ee0acac3bbbcfd0f767a5896fb551ddcf4801fdfa9d2ed76
|
| 3 |
+
size 18504827
|