small-language-models
LM-Dispersion
[𝗜𝗖𝗠𝗟 𝟮𝟬𝟮𝟲] Dispersion loss counteracts embedding condensation and improves generalization in small language models
- 130
- Python
- 5 mo ago
Domain-Specific-Small-Language-Models
Repository for the companion Colab notebook of the Domain-Specific Small Language Models book.
- 108
- Jupyter Notebook
- Apache-2.0
- 3 mo ago
smoothstone
A skill and CLI that lets small local models like LFM3-1.7B make 3D printable parts, from words or a picture, even through context compaction.
- 82
- Python
- MIT
- 7 h ago
Building-a-Small-Language-Model-SLM-
This Repository provides a Jupyter Notebook for building a small language model from scratch using 'TinyStories' dataset. Covers data preprocessing, BPE tokenization, binary storage, GPU memory management, and training a Transformer in PyTorch. Generate sample stories to test your model. Ideal for learning NLP and PyTorch.
- 80
- Jupyter Notebook
- MIT
- 18 mo ago
gutsy
Local decision model with calibrated probabilities: send a state and yes/no, choice or score questions, get a probability for every option. 0.8B GGUF on CPU, Jev-style API.
- 76
- HTML
- Apache-2.0
- 7 wk ago
Mingbird-agent
Local-first agent harness (Windows + Ollama) for 2–9B models. Same 2B model: 0.017 → 0.821 across four agent harnesses — 48×. 288-cell benchmark, every cell public. One-click zero-outbound mode. 本地优先,一键断网,零遥测。鸣鸟
- 37
- Python
- Apache-2.0
- 5 d ago
openlanguagemodel
Readable, composable PyTorch library for language models: build Llama, Qwen, Gemma, DeepSeek, Kimi and 20+ other architectures from plain nn.Modules, then train them on CPU, one GPU, or multi-GPU.
- 28
- Python
- MIT
- 8 wk ago
EC2-Bench
EC2-Bench (EC²-Bench): benchmark for edge-cloud collaboration in long-horizon LLM agents — task performance, resource usage & privacy exposure. arXiv 2610.17816
- 24
- Python
- MIT
- 5 d ago
SLM Tetris Arena
Tiny decoder-only LMs play Tetris zero-shot, ranked by Elo
Runs in the browser on Hugging Face
- 17
- apache-2.0
- 5 wk ago
tier
A 1.5B model shown all 80 tools picks the right one half the time — not because it can't call tools, but because it can't find them. Tier adapts the tool presentation to model size: +10pp accuracy and 97% fewer tool tokens on sub-4B models.
- 14
- Python
- MIT
- 5 wk ago
laya_router
Model routing is a System 1 job: a 421M local decision engine (Laya) against a GPT-5 nano reasoning router. Same accuracy, 35x faster, free.
- 14
- Python
- Apache-2.0
- 2 mo ago
gromacs_smolagent
An HF's Smolagent to automate molecular dynamics simulations using GROMACS.
- 13
- Python
- Apache-2.0
- 10 mo ago
FrugalAI
Evidence-first frugal AI: small language models and pipelines on an old laptop or Raspberry Pi, no cloud, no GPU. Measured benchmarks and recipes, with Indian-language focus.
- 12
- Python
- MIT
- 1 d ago
granitepi-4-nano
Run IBM Granite 4.0 locally on Raspberry Pi 5 with Ollama.This is a privacy-first AI. Your data never leaves your device because it runs 100% locally. There are no cloud uploads and no third-party tracking.
- 12
- Shell
- Apache-2.0
- 10 d ago
BlossomTuneLLM-MLX
Federated Fine-Tuning of LLMs on Apple Silicon with Flower.ai and MLX-LM
- 9
- Python
- Apache-2.0
- 15 mo ago
vwen
A tiny Vietnamese paraphraser: light or strong rewrites, plus simplify, gist and style. Built on Qwen3.5-0.8B with just 7k carefully selected samples, and small enough to run on your laptop.
- 6
- 11 d ago
kurtis
Kurtis is a fine-tuning, inference and evaluation tool built for SLMs (Small Language Models), such as Huggingface's SmolLM2.
- 6
- Python
- MIT
- 8 mo ago
Fine-Tuning-a-Small-Language-Model-for-Cypher-Query-Generation
This project fine-tunes Unsloth's Gemma-3 4B IT (4-bit) model to translate natural language into Cypher queries for Neo4j graph database.
- 6
- Jupyter Notebook
- MIT
- 16 mo ago
26-11-DotNetConf-Small-Models-Big-DotNet-Energy-public
.NET Conf 2026 session demos for running small AI models locally with .NET and Foundry Local.
- 4
- MIT
- 13 d ago
helix
Professional training stack for 100M parameter language models optimized for AMD Radeon RX 7000/9000 series GPUs with ROCm. Complete pipeline: tokenization, pretraining, fine-tuning, DPO, and GGUF export.
- 5
- Python
- 10 mo ago
vespasian
Open-source weight space editing for small language models. Direct tensor edits, measured hill climbs and a Hugging Face workbench.
- 3
- Python
- Apache-2.0
- 6 d ago
system-one
An open-source System One decision model — Kahneman's term for the fast, automatic judgment faculty. Calibrated choice/score/noul probabilities in one forward pass on small fine-tuned open models. Local on Apple Silicon (MLX), Jev-compatible API, audited experiment log.
- 4
- Python
- MIT
- 2 mo ago
kindi-bench
kbench: an agent benchmark for small language models with the pi coding agent - tasks, hidden tests, runner and results
- 4
- Python
- MIT
- 4 wk ago










