Skip to content
프로젝트

YuvrajSingh-mist/Paper-Replications-and-Experiments

GitHub에서 보기

소개

From-scratch PyTorch replications of classic and SOTA AI/ML papers: transformers, attention, GANs, diffusion, CLIP, LoRA, MoE, plus SFT/GRPO post-training experiments.

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
+2

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Paper Replications and Experiments

From-scratch PyTorch replications of classic and SOTA AI/ML papers, small language models trained end to end, and post-training experiments

license: Apache 2.0 dataset: CC BY 4.0 Sponsor: GitHub Buy me a coffee

I build models from the papers, then train them. Every folder here is code I wrote and ran rather than a fork of someone else's, so the notes next to it record what actually happened: hyperparameters, datasets, final losses, and the parts where my numbers disagree with the paper's.

What's in here

Folder Contents
Replications/ 37 papers reimplemented from scratch, each self-contained with a README of hyperparameters and results
SmolHub/ 6 original small language models, 88M–200M parameters, with full training pipelines and HF Space deployments
Post-Training/ SFT and GRPO recipes, preference optimisation, plus my own runs on my own data

Replications

One folder per paper, from Bahdanau attention and the original Transformer through BERT, GPT, Llama, Mixtral and DeepSeek V3, plus GANs, VAEs, CLIP-style vision-language models and Whisper.

Browse the replications →

SmolHub

Small models built and trained end to end on hardware you can rent by the hour:

Model Params Architecture Dataset
SmolLlama ~88M Llama-style, RoPE + GQA TinyStories
SmolMixtral ~124M Mixture of Experts, 8 experts TinyStories
SmolTransformer ~150M Classic transformer + RMSNorm FineWeb
StoryLlama ~88M Llama variant, story-tuned TinyStories
StoryMixtral ~200M Mixtral variant Story corpus
StoryKimi ~180M DeepSeek V3-inspired MLA + MoE Story corpus

These are original architectures rather than reproductions. Learned weights live on the Hub — for example StoryKimi and SmolMixtral — and the deployable Spaces are under Spaces.

Browse the small models →

Post-Training

Fine-tuning and post-training work, kept separate from the paper reproductions so the two don't get confused:

  • sft/ — supervised fine-tuning recipes
  • grpo/ — GRPO and RL-style post-training recipes
  • runs/ — my own experiments on my own data, not reproductions of anyone's results

Browse the post-training experiments →

Deployed models

smolhub.com hosts the deployed models, and the Spaces themselves live on the HuggingFace account.

Usage

Every folder stands alone. Open its README for the hyperparameters and results, then run the notebook or script inside. Datasets marked as local are not committed; the folder README names the source. Weights and checkpoints are never committed — see .gitignore.

Contributing

Feel free to open issues or pull requests if you have suggestions, improvements, or additional replications to add!

Sponsors

Thank you everyone for their support and love for this project!

🔗 Links

HuggingFace · Website · Deployed models

Authors

Citation

If you find this repository useful in your research, please cite it:

@software{singh_paper_replications_2026,
  title     = {Paper Replications and Experiments},
  author    = {Singh, Yuvraj},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.23198171},
  url       = {https://github.com/YuvrajSingh-mist/Paper-Replications-and-Experiments}
}

10.5281/zenodo.23198171 is the concept DOI: it always resolves to the newest archived version. This release, v1.1.0 (SmolHub merged in), is pinned at 10.5281/zenodo.23929573; the first release, v1.0.0, stays at 10.5281/zenodo.23198172.

License

Attribution: Yuvraj Singh. See NOTICE and CITATION.cff. SmolHub/ was merged in from a separate repository that declared MIT but shipped no licence file; it is distributed here under Apache-2.0.

관련 프로젝트 살펴보기

불러오는 중…