Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Small Language Models Python Packages

Python packages with the GitHub topic small-language-models. Sorted by monthly downloads, with stars and forks.
AlexanderNyr
auralite-ai

Train and fine-tune LLMs on an old PC without a GPU. AuraLite Studio (Windows app, no Python) picks a model for your computer, fine-tunes Qwen3.5 with LoRA/QLoRA on the CPU, trains small models from scratch and exports GGUF for Ollama and LM Studio. English and Russian UI.

10K 8 3
Moralfish-Labs
maatml

Build task-specific models with measurable quality. One model.yml drives data preparation, training, evaluation, export, and serving, with independent validators checking outputs against your task’s rules.

4K 2 0
solvi-ai
solvi

A runtime where decision models propose and your code decides: typed questions, hard rules, quotes checked against the text, escalation with a guaranteed error budget, replayable traces. Works with any System One model.

2K 14 0
cogvera-labs
akeratos

Pretrain a small language model from scratch on your Mac with MLX. Train one in 41 minutes and 6.7 GiB (M4 Max), or enter the 5-minute speedrun.

1K 3 1
ctrl-gaurav
effgen

[ICML 2026] effGen: Enabling Small Language Models as Capable Autonomous Agents

1K 210 35
Kungie
gutfeel

Judgment calls as one line of Python, on small, fast, cheap models. likely / classify / rate, answering YES, NO or UNSURE, on any backend.

983 7 0
Kungie
gutfeel-mcp

Judgment calls as one line of Python, built for TypeSafe AI's Jev and running on any small model: likely / classify / rate → YES, NO or UNSURE. Also local NLI, local LLMs, Ollama, vLLM, OpenAI.

866 7 0
webis-de
small-text

Active Learning for Text Classification in Python.

780 646 80
tanaos
artifex

Small Language Model Inference, Fine-Tuning and Observability.

700 101 14
openlanguagemodel
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.

633 28 5
vaneeckhoutnicolas
quantum-cortex

A 27M parameter byte level language model with a memory outside its weights: a sealed journal of episodes it must cite or abstain from. Every claim has a row, a file and a test that can fail.

569 5 0
MS-AGI
physai

PhysAI is an open-source, multi-backend framework for solving partial differential equations with Physics-Informed Neural Networks (PINNs), Fourier Neural Operators (FNOs), and Unified Spectral Element architectures. Has 57 pre-configured residuals and a built-in packaged numerical solver for most geometries and equations.

522 8 1
lazincip
cscs-constraint-engine

CSCS (Constraint Space Coordinate System) Constraint Physics Engine — zero-GPU trajectory governor for small language models: spectral-manifold gating, contraction-mirror drift tracking, confabulation auditing. CPU-only, numpy only, 0 MB VRAM.

487 1 0
ankit-aglawe
tinyjev

A tiny jev-like model that answers Choice, Score and Noul questions in one forward pass and returns calibrated probabilities. MLX or PyTorch, fully offline, System One compatible.

291 29 3
dhruvdcoder
xlm-core

XLM Framework

256 31 4
AIAnytime
distill-anything

The open-source lifecycle framework for distilling any model: generate data from teachers, distill students, evaluate, and benchmark.

256 6 3
ChenLiu-1996
embedding-condensation

Measure layer-wise token embedding cosine similarity, assessing the severity of embedding condensation. Concept from [ICML 2026] Dispersion loss counteracts embedding condensation and improves generalization in small language models.

254 130 6
dhruvdcoder
xlm-models

Collection of Language Models for XLM Framework

166 31 4
DYNAMOatGHUB
slmrouter

A bounded, zero-runtime-dependency tool router for local language models

119 0 0
mmarks13
smallbatch

Distill prompt-driven LLM decisions into tested local CPU functions.

75 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology