Single file implementation of llama3 models with pre-training script
# Install dependencies
git clone https://github.com/ilyasoulk/NanoLlama.git
cd NanoLlama
uv sync
source .venv/bin/activate
# Run SmolLM2-135M
python llama.py --model_id HuggingFaceTB/SmolLM2-135M
# Run pre-training
python train.py --config_file configs/train/setup.yaml
54 commits
Python
100.0%
Single file implementation of llama3 models with pre-training script
# Install dependencies
git clone https://github.com/ilyasoulk/NanoLlama.git
cd NanoLlama
uv sync
source .venv/bin/activate
# Run SmolLM2-135M
python llama.py --model_id HuggingFaceTB/SmolLM2-135M
# Run pre-training
python train.py --config_file configs/train/setup.yaml
54 commits
Python
100.0%