manueldeprada HF Staff commited on
Commit
baf9180
·
verified ·
1 Parent(s): 8dd4632

Update model card

Browse files
Files changed (1) hide show
  1. README.md +46 -0
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ language:
4
+ - en
5
+ library_name: transformers
6
+ pipeline_tag: text-generation
7
+ tags:
8
+ - qwen3
9
+ - text-generation
10
+ - littlelearner
11
+ - bounded
12
+ - base
13
+ ---
14
+
15
+ # littlelearner-0.6b-bounded-base
16
+
17
+ 0.617B K-5-bounded base model (pretraining only). Smallest scale point of the family.
18
+
19
+ Part of the **LittleLearner** scale-up study (*pedagogically-controlled knowledge exposure*): Qwen3 dense LMs trained on a corpus filtered to U.S. K-5 material (**bounded**) vs an unfiltered FineWeb-Edu corpus (**unbounded**), to measure what an interpretable knowledge boundary costs and grants.
20
+
21
+ ## Model
22
+ - **Architecture:** Qwen3 dense (`Qwen3ForCausalLM`).
23
+ - **Size:** 0.617B params, hidden 1536, 20 layers, 12 query / 6 KV heads, FFN 4096. **Context:** 4096.
24
+ - **Tokenizer:** custom 64k byte-level BPE with per-digit splitting (ChatML special tokens).
25
+ - **Pretraining:** 88B tokens on K-5 **LittleCurriculum** (FineWeb-Edu filtered to U.S. grades K-5). WSD schedule, sharded Muon, MXFP8, Megatron-Core on 8xB200.
26
+
27
+ ## Evaluation
28
+ - In-domain (K-5) bits-per-byte (BPB): **0.622**.
29
+
30
+ ## Usage
31
+ ```python
32
+ # transformers (completion)
33
+ from transformers import AutoModelForCausalLM, AutoTokenizer
34
+ repo = "manueldeprada/littlelearner-0.6b-bounded-base"
35
+ tok = AutoTokenizer.from_pretrained(repo)
36
+ model = AutoModelForCausalLM.from_pretrained(repo, dtype="bfloat16", device_map="cuda")
37
+ ids = tok("The sum of 2 and 3 is", return_tensors="pt").to(model.device)
38
+ print(tok.decode(model.generate(**ids)[0], skip_special_tokens=True))
39
+ ```
40
+
41
+ ```python
42
+ # vLLM
43
+ from vllm import LLM
44
+ llm = LLM("manueldeprada/littlelearner-0.6b-bounded-base")
45
+ print(llm.generate(["The sum of 2 and 3 is"])[0].outputs[0].text)
46
+ ```