small-language-models

Open repos and models their makers tagged small-language-models, most starred first. The same for everyone.

AI on my own machineRepo

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
ChaitanyaK77Take it
AI on my own machineRepo

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
kouhxpTake it
AI on my own machineRepo

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
MingbirdTake it
AI agentsRepo

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
yantrikosTake it
AI on my own machineRepo

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
yogeshhkTake it
AI on my own machineRepo

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
JewelzufoTake it
AI on my own machineRepo

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
arkodeepsenTake it
AI on my own machineRepo

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
mpuigTake it

Show 9 more

Search GitHub and Hugging Face for small-language-models

Get , open it once and sign in. Then come back here and press the button again.