Skip to content

KickItLikeShika/smalLM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmallLM

Training, Evaluating and Infering a Small LM from scratch.

Weights: https://huggingface.co/KickItLikeShika/smalLM-v0.1

DDP Training Run

torchrun --standalone --nproc_per_node=1 main.py

Inference

Everything needed to infer the model will be at the inference directory.

python infer.py "Text to complete"

Screenshot 2024-10-28 at 2 18 10 PM

Acknowledgement

A lot of the work done here is inspired by Andrej Karpthy's work.

About

Code to pre-train, evaluate and infer LLM from scratch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages