|
Download README.md from deepcode-ai-5m/DeepCode-Rust-2M: direct link, hf CLI and curl.
- Browser
- Download file 1.14 kB
-
https://huggingface.co/deepcode-ai-5m/DeepCode-Rust-2M/resolve/a225e9cddde89ebd64351072d40cebf88fae99ac/README.md
- Command line
-
hf download hf://deepcode-ai-5m/DeepCode-Rust-2M@a225e9cddde89ebd64351072d40cebf88fae99ac/README.md
-
curl -L -o README.md https://huggingface.co/deepcode-ai-5m/DeepCode-Rust-2M/resolve/a225e9cddde89ebd64351072d40cebf88fae99ac/README.md
1.14 kB
| license: mit | |
| language: | |
| - en | |
| - ru | |
| tags: | |
| - rust | |
| - custom-architecture | |
| - text-generation | |
| # DeepCode-Rust-2M | |
| This is a lightweight, custom language model built entirely from scratch in **Rust**. It does not rely on Python, PyTorch, or standard Hugging Face `transformers` libraries. | |
| ## Model Details | |
| * **Parameters:** ~2 Million | |
| * **Architecture:** Decoder-only Transformer (6 layers, 256 embedding dim) | |
| * **Format:** Serialized via `bincode` (requires the custom Rust inference engine) | |
| ## Benchmark Results (Napkin Benchmark) | |
| Tested on 6 basic prompts: | |
| * **Python Addition:** 4/5 (Successfully generated `def add(a, b): return a + b`) | |
| * **Python Multiplication:** 2/5 (Recognized `multiply`, but broken syntax) | |
| * **Python Loop:** 0/5 (Stuck in a repetition loop) | |
| * **HTML Structure:** 1/5 (Recognized tags, but no hierarchical structure) | |
| * **HTML Button:** 1/5 | |
| * **Overall Score:** ~2 out of 5 | |
| ## Limitations | |
| Due to its extremely small size, the model often suffers from repetition loops and fails to understand nested structures (like HTML trees). It is an educational project demonstrating how language models work under the hood. | |