#114114th of 126 in Training and fine-tuning
tinyengram
Research code for Engram N-gram memory modules in Qwen and Stable Diffusion
Watch puts tinyengram on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.tinyengram is on your watch list. Its new releases and problems show there.
- Stars
- 1.3k
- License
- no license
- Last commit
- May 2026
- Language
- Python
75 on 6 May 20261,344 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
TinyEngram is a research codebase that inserts DeepSeek Engram-style N-gram memory modules into Qwen decoder layers and the Stable Diffusion text encoder, training only the added parameters. The README reports experiments comparing it with LoRA on biomedical fine-tuning, catastrophic forgetting (TruthfulQA) and concept injection for SD1.5 and SD3.5. It ships training scripts, datasets, logs and reproduction guides.
Who it is for: Researchers testing Engram memory as a LoRA alternative
Strengths
- Only added Engram parameters train; base Qwen or SD weights stay frozen
- Reproduction guides, training scripts and logs for LLM and SD1.5/SD3.5 experiments
- Reports Engram vs LoRA on TruthfulQA: MC2 +0.71% vs -1.91% against base
- Ablations cover n-gram order, vocab size, embedding dim, hash heads and layers
Weaknesses
- Research notebook, not a packaged tool; no release or stable API
- LLM experiments use Qwen3-0.6B only; larger-scale results are not shown
- README badge says MIT but no license was detected in the repo
- Zero-interference claim for stacked engrams rests on the authors' own experiments
What it needs
- Needs Python 3.10, conda, Diffusers, lm-evaluation-harness
- Models: Qwen3-0.6B, Stable Diffusion 1.5, Stable Diffusion 3.5
Also in Training and fine-tuning
See all 126| Rank | Project | Score |
|---|---|---|
| #112 | search-r1RL framework that trains LLMs to interleave reasoning with search engine calls | 24 out of 100 |
| #113 | augmentoolkitGenerates training datasets from your documents and fine-tunes domain-expert LLMs | 24 out of 100 |
| #115 | open-audio-opdOn-policy distillation trainer for compact ASR models, with ARK-ASR-0.6B weights | 22 out of 100 |
| #116 | whisper-finetuneLoRA fine-tuning scripts for Whisper speech recognition, with fast inference export | 20 out of 100 |
| #117 | learning-at-home/hivemindPyTorch library for training one model across volunteer machines over the Internet | 19 out of 100 |