Sönke-1.5-350M
A 350M model I trained from scratch on my own GPU. It can chat, do basic math and write small bits of code, and it can think before it answers. This is the finished model: step 72,480, 30B tokens. Sönke-1.0 was the same run at 22.8B tokens.
How to use it
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "ProjectAstroAI/Sonke-1.5-350M"
tok = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True, dtype="bfloat16").to("cuda")
messages = [{"role": "user", "content": "Explain photosynthesis in two sentences."}]
inputs = tok.apply_chat_template(messages, add_generation_prompt=True, enable_thinking=False, return_dict=True, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=512, temperature=0.7, top_p=0.9, do_sample=True)
print(tok.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))
Remove enable_thinking=False if you want it to think first. It needs trust_remote_code=True because the architecture is my
own. Batches need prompts of the same length for now.
Evals
| Model | MMLU | HellaSwag | ARC-C | GSM8K | HumanEval |
|---|---|---|---|---|---|
| Sönke-1.5-350M | 27.1 | 43.3 | 29.3 | 19.9 | 18.3 |
| Sönke-1.0-350M | 28.6 | 42.0 | 28.8 | 12.3 | 12.2 |
| SmolLM2-360M | 25.0 | 54.5 | 38.4 | 3.2 | 12.2 |
| Qwen2.5-0.5B | 47.5 | 52.1 | 35.6 | 41.6 | 30.5 |
| Qwen2.5-1.5B | 60.9 | 67.9 | 54.7 | 68.5 | 37.2 |
The last 7B tokens mostly helped math and code: GSM8K went from 12.3 to 19.9 and HumanEval from 12.2 to 18.3.
Sönke: MMLU 5-shot, HellaSwag and ARC-C 0-shot, GSM8K 0-shot without thinking, HumanEval pass@1. SmolLM2's MMLU, ARC-C and HumanEval were run the same way; everything else is from the models' own cards, with different shot counts, so small gaps don't mean much.
Limitations
It's small. It gets facts wrong, loses track in long chats, and sometimes messes up formatting. Don't use it for anything that matters.
License
Apache 2.0. Part of the training data was generated with DeepSeek models, so use of this model is also subject to the use restrictions in LICENSE-DEEPSEEK-MODEL (paragraph 5 and Attachment A). Dataset credits are in NOTICE.