Downloads · 30 days
0
hotmandoo/hotmandoo-lm-practice
hotmandoo-lm-practice is a machine learning model from hotmandoo. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Pico Train is a lightweight framework for training language models—from tiny-scale (~1M parameters) to mid-scale (~1B parameters)—with built-in rich checkpointing that captures activations, gradients, and model states…
Downloads · 30 days
0
Access
Public
Updated May 19, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py128 KB · 79%
From the Hugging Face model README
Pico Train is a lightweight framework for training language models—from tiny-scale (~1M parameters) to mid-scale (~1B parameters)—with built-in rich checkpointing that captures activations, gradients, and model states, enabling detailed learning dynamics research.
Our suite of pre-trained models is already publicly available on our Hugging Face organization, and a dedicated companion library for advanced analysis—pico-analyze—is fully released for deeper checkpoint studies.
For a detailed run-through, check out the full tutorial on our website at picolm.io.
Pico Decoder: LLAMA-style Transformer Architecture
Comprehensive Checkpoints
Focused Scale Range
Clean, Pre-tokenized Data
Research Ready
All models in the Pico suite (both pre-trained and user-trained):
This uniformity means you can isolate model size as the primary variable, giving you clearer insights into how model capacity affects learning.
Pico-Decoder Model
Future plans include additional architectures like pico-diffusion and pico-statespace.
Training & Checkpointing
Config-Driven Setup
Clone the Repository
git clone https://github.com/pico-lm/pico-train
cd pico-train
Configure Environment
Create a .env file at the root with your Hugging Face and Weights & Biases tokens:
export HF_TOKEN=your_huggingface_token
export WANDB_API_KEY=your_wandb_key
Install Dependencies
source setup.sh
This script checks your environment, installs necessary tools, and sets up a Poetry virtual environment.
Train Your Model Suite
configs/demo.yaml) to specify your architecture and training preferences.poetry run train --config_path configs/demo.yaml
Explore Checkpoints
runs/YOUR_RUN_NAME/checkpoints/.src/model/pico_decoder.py
src/training/trainer.py
src/checkpointing
src/config
configs/demo.yaml
For deeper checkpoint analysis—comparing gradients, tracking representation shifts, measuring sparsity—use our companion repository pico-analyze. It automatically processes pico-train checkpoints and applies advanced metrics like CKA, PWCCA, Gini, Hoyer, and more to reveal how your models learn over time.
Pico is open-source under the Apache License 2.0.
If you use Pico in your research, please cite:
@software{pico2025,
author = {Diehl Martinez, Richard},
title = {Pico: A Lightweight Framework for Studying Language Model Learning Dynamics},
year = {2025},
url = {https://github.com/pico-lm}
}
Happy Training! For more information and tutorials, visit our website at picolm.io.