Dataset · 2024-07
SmolLM-Corpus (Python-Edu, Cosmopedia, FineWeb-Edu-Dedup)
Pretraining corpus of SmolLM v1 including Python-Edu: Python files scored 4 or more by an educational code classifier.
How to use it
Use python-edu as a compact high-quality Python source; Cosmopedia adds synthetic textbook text.
Caveats
Python only for code; Cosmopedia is synthetic from Mixtral, with that model's terms. Superseded for code by Stack-Edu. Python-edu includes file text; license inherited from source repos.
load
from datasets import load_dataset ds = load_dataset("HuggingFaceTB/smollm-corpus", "python-edu", split="train", streaming=True)
Related
- Dolma 3 Dolmino mix (100B): Ai2 OLMo 3 mid-training mix with fill-in-the-middle Stack-Edu, synthetic Python (CraneCode) and code...
- Code Llama 70B (legacy): Meta's 2024 code Llama; included for historical comparison...
- Codestral-22B-v0.1: Mistral's 2024 code model; weights open for research and testing...
- DeepSeek-Coder-V2: Continued pretraining of a MoE on code and math tokens to reach closed-model-level code results at...
- DeepSeek-Coder-V2 (Instruct 236B / Lite): June 2024 MoE code model continued-pretrained from DeepSeek-V2; strong at release, now...
- Granite Code 8B Base: IBM enterprise-oriented code model trained on license-permissive data; legacy but cleanly...
