Buckets:
1.56 MB
6 files
Updated about 4 hours ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| train | 2 items | ||
| validation | 2 items | ||
| .gitattributes | 2.5 kB xet | 738f1125 | |
| README.md | 2.08 kB xet | db6e0239 |
Rust-Coder
Rust-Coder is a comprehensive text dataset designed for Rust programming language learning. It contains 12,000 unique samples focusing on distinct Rust concepts, code snippets, and explanations.
Dataset Structure
Each sample consists of:
id: A unique UUID.instruction: A prompt or question about a Rust concept.code: An idiomatic Rust code snippet.explanation: A detailed explanation of the concept and code.category: The high-level Rust category (e.g., Ownership & Borrowing).topic: The specific topic within the category.metadata: Additional details like used adjectives, verbs, and context.
Covered Topics
- Ownership & Borrowing
- Types & Data Structures
- Control Flow & Logic
- Functions & Methods
- Error Handling
- Standard Library & Collections
- Concurrency & Parallelism
- Macros & Metaprogramming
- Unsafe & FFI
- Cargo & Tooling
Duplicate Detection
Strict duplicate detection was implemented using SHA-256 hashing of instructions and code snippets to ensure 100% uniqueness across all 12,000 samples.
Usage
from datasets import load_dataset
dataset = load_dataset("Convence/Rust-Coder")
print(dataset['train'][0])
License
Apache 2.0
- Total size
- 1.56 MB
- Files
- 6
- Last updated
- Nov 13
- Pre-warmed CDN
- US EU US EU