Views
No views yet
https://github.com/2sophia/skylar.Honest scope — read before using. This is a 236M domain model, intentionally small and undertrained by Chinchilla (~1.12B tokens ≈ 5× below compute-optimal for this size). It is an Italian specialist (English is not fluent) and it is not a factual oracle — it hallucinates open-domain facts. Its real, measured strength is grounded Italian tasks (answer/extract/classify from provided context). Published as a transparent reference for the Skylar framework, not as a general-purpose or SOTA model.
eval/validate_grounded.py — 6/6 with clean stopping:| Task | Output |
|---|---|
| Answer-from-context | ✅ correct |
| Classify → one word | ✅ credito |
| Extract → JSON | ✅ {"importo": "1.500 euro", "scadenza": "31 dicembre 2024"} |
| Query generation (RAG) | ✅ 3 clean search queries |
| Refuse when not in context | ✅ "Non presente nel contesto" |
| Field | Value |
|---|---|
| Params | ~236M |
| Layers | 18 |
| d_model | 1024 |
| Heads (Q/KV) | 16 / 4 (GQA) |
| d_ff | 2816 (SwiGLU) |
| Context | 2048 |
| Vocab | 32,768 (ByteLevel BPE) |
| Pos. enc. | RoPE (θ=1e6) · QK-Norm · RMSNorm |
| License | Apache-2.0 |
pip install skylar1import skylar
2m = skylar.load("Skyl4r-Ai/Skylar-236M-Chat")
3print(m.generate("Contesto: La Banca d'Italia ha sede a Roma.\n\nDomanda: Dove ha sede?",
4 system="Sei un assistente che risponde SOLO dal contesto."))
5# -> "La Banca d'Italia ha sede a Roma."import skylar registers the architecture):1import skylar
2from transformers import AutoModelForCausalLM
3model = AutoModelForCausalLM.from_pretrained("Skyl4r-Ai/Skylar-236M-Chat")