| --- |
| license: apache-2.0 |
| task_categories: |
| - text-generation |
| language: |
| - en |
| tags: |
| - rust |
| - documentation |
| - code |
| - cli |
| - lora |
| - fine-tuning |
| size_categories: |
| - n<1K |
| --- |
| |
| # Rust CLI Documentation Corpus |
|
|
| A scientifically rigorous corpus for fine-tuning LLMs to generate idiomatic `///` documentation comments for Rust CLI tools. |
|
|
| ## Dataset Description |
|
|
| This corpus follows the Toyota Way principles and Popperian falsification methodology. |
|
|
| ### Statistics |
|
|
| - **Total entries:** 80 |
| - **Source repositories:** 0 |
| - **Validation score:** 96/100 |
|
|
| ### Supported Tasks |
|
|
| - **Documentation Generation**: Generate Rust doc comments from code signatures |
| - **Code Understanding**: Learn Rust idioms and documentation patterns |
|
|
| ## Dataset Structure |
|
|
| ### Data Fields |
|
|
| | Field | Type | Description | |
| |-------|------|-------------| |
| | `id` | string | UUID v4 identifier | |
| | `input` | string | Rust code signature | |
| | `output` | string | Documentation comment | |
| | `category` | string | Doc type (function/argument/example/error/module) | |
| | `source_repo` | string | Source repository | |
| | `quality_score` | float32 | Quality score [0.0, 1.0] | |
|
|
| ### Data Splits |
|
|
| | Split | Percentage | |
| |-------|------------| |
| | train | 80% | |
| | validation | 10% | |
| | test | 10% | |
|
|
| ## Quality Validation |
|
|
| All entries pass 100-point Popperian falsification criteria. |
|
|
| ## Usage |
|
|
| ```python |
| from datasets import load_dataset |
| |
| dataset = load_dataset("paiml/rust-cli-docs-corpus") |
| ``` |
|
|
| ## License |
|
|
| Apache 2.0 |
|
|
| ## Citation |
|
|
| ```bibtex |
| @dataset{paiml_rust_cli_docs, |
| title={Rust CLI Documentation Corpus}, |
| author={PAIML}, |
| year={2026}, |
| publisher={HuggingFace} |
| } |
| ``` |
|
|
| ## Provenance |
|
|
| - **Version**: 1.0.0 |
| - **Hash**: 73e3d79f8f6a0fc757989708d2e521405a9bd677daf6fdb3cb90288e2011cb59 |
|
|