Dataset Viewer
The dataset could not be loaded because the splits use different data file formats, which is not supported. Read more about the splits configuration. Click for more details.
Couldn't infer the same data file format for all splits. Got {NamedSplit('train'): ('json', {}), NamedSplit('validation'): ('json', {}), NamedSplit('test'): ('harbor', {})}
Error code: FileFormatMismatchBetweenSplitsError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Rust Book Training Dataset
A collection of Rust code examples extracted from The Rust Programming Language.
Dataset files
- train.jsonl
- validation.jsonl
- all_records.jsonl
- chapters/
Statistics
- Total records: 416
- Training records: 395
- Validation records: 21
- Invalid records: 0
- Duplicate records: 0
Format
Each record contains:
- messages
- source
- chapter
- heading
- source_url
- license
- validation
- record_id
Source
https://github.com/rust-lang/book
The source repository is dual-licensed under MIT OR Apache-2.0.
Original license files are included when available.
Validation
The extracted code examples are not automatically considered compiler-verified.
Only records explicitly marked as validated should be treated as compiler-verified.
Generated
2026-11-18T12:46:44.448393+00:00
- Downloads last month
- 82