Training scripts and Logs on GITHUB
AutonomousX is an ambitious open-source project by Rohit Yadav where a complete family of Large Language Models (LLMs) was built entirely from scratch.
This repository tracks the training logs, model architectures, and analytics for various LLM parameter sizes, ensuring a highly documented, educational, and reproducible process for understanding how language models scale.
Rohit Yadav B.Tech 3rd Year
Dr. B.R. Ambedkar National Institute of Technology (NIT) Jalandhar, India
E-mail: yrohit1825@gmail.com
LinkedIn: Rohit Yadav
GitHub: YADAV1825
Research interests include: Large Language Models, MultiModal Pipelines, Systems Programming, AI Infrastructure, Distributed Training.
AutonomousX focuses on open-source contributions aimed at building Large Language Models from scratch using custom training pipelines. Our work explores different training configurations including optimizers, datasets, and scalable TPU training using JAX and pmap. The goal is to provide transparent and reproducible implementations so that researchers, students, and developers can understand how modern LLMs are trained end-to-end.
Due to the current scarcity of complete beginner-friendly guides for training LLMs on TPUs, especially using JAX, AutonomousX aims to bridge this gap by publishing full training pipelines, scripts, and documentation for the open-source community.
The project successfully trained multiple models ranging from 124 million to 1.4 billion parameters, trained on massive datasets like DOLMA and PILE.
Below is the detailed list of models, architecture setups, and their respective checkpoints:
| Model | Params | Architecture | Positional Embeddings | Optimizer | Dataset | Checkpoints on Billions Tokens | Total Tokens |
|---|---|---|---|---|---|---|---|
| Instinct 0.124B | 124m | v-4 (128) pmap | RoPE | AdamW | DOLMA | 6B, 12B, 18B, 25B | 25B tokens |
| Instinct 0.3B | 300m | v-4 (128) pmap | RoPE | AdamW | DOLMA | 6B, 12B, 18B, 24B, 30B | 30B tokens |
| Instinct 0.5B | 0.5B | v-4 (128) pmap | RoPE | AdamW | PILE | 40B, 80B, 120B, 150B | 150B tokens |
| Instinct 0.65B | 0.65B | v-4 (128) pmap | RoPE | AdamW | DOLMA | 25B, 50B, 75B, 100B | 100B tokens |
| Instinct 1B | 1B | v-4 (128) pmap | No RoPE | AdamW | PILE | 20B, 40B, 60B, 80B, 85B | 85B tokens |
| Instinct 1.4B | 1.4B | v-4 (128) pmap | RoPE | Lion | DOLMA | 26B, 52B, 70B | 70B tokens |
(Note: 150m models are currently excluded from this release tracking.)
The repository is organized into specific directories for each parameter scale of the Instinct model family. Each directory contains the specific training logs, perplexity validations, inference scripts (train.py), and a dedicated README.md with deep-dives into their learning curves.
.
├── Instinct 0.124B
│ ├── README.md # Detailed architecture and logs for 124M model
│ ├── training_curves.png # Visualized loss curves
│ ├── training_log_120.txt # Raw training log
│ ├── train.py # Source code and inference script
│ └── val_perplexity_120.txt # Raw perplexity logs
├── Instinct 0.3B
│ ├── README.md
│ ├── training_curves.png
│ ├── training_log_150.txt
│ ├── train.py
│ └── val_perplexity_150.txt
├── Instinct 0.5B
│ ├── README.md
│ ├── training_curves.png
│ ├── training_log.txt
│ ├── train.py
│ └── val_perplexity.txt
├── Instinct 0.65B
│ ├── README.md
│ ├── training_curves.png
│ ├── training_log.txt
│ ├── train.py
│ └── val_perplexity.txt
├── Instinct 1B
│ ├── README.md
│ ├── training_curves.png
│ ├── training_log.txt
│ ├── train.py
│ └── val_perplexity.txt
└── Instinct 1.4B
├── README.md
├── training_curves.png
├── training_log.txt
├── train.py
└── val_perplexity.txt
The architecture of the entire repository and the associated workflows can be broken down into Data, Core Pipeline, Logging, and Release.
graph TD
%% Repositories and Data
HF[Hugging Face /autonomousX
Model Checkpoints & Tokenizers]
GitRepo[GitHub Repository
Code, Scripts, & Logs]
Datasets[Training Data
DOLMA / PILE]
%% Codebase Layout
subgraph Repository Structure
Root[Root Directory
Central README & Aggregated Data]
Dirs[Model Directories
Instinct 0.124B - 1.4B]
Root --> Dirs
end
%% Training Environment
subgraph Compute Infrastructure
TPU[TPU v4-8 Architecture
JAX & pmap]
end
%% Interactions
Datasets -.-> TPU
Dirs -.-> TPU
TPU --> Logs[Training Logs & Analytics]
Logs --> Dirs
TPU --> HF
The training workflow employed across these architectures follows a modern and optimized deep learning pipeline, scalable across multiple token checkpoints.
graph TD
%% Datasets
Datasets[Training Datasets\nDOLMA / PILE]
%% Training Process
Tokenizer[BPE / Pythia Tokenizer]
Models[LLM Architecture Family\nv-4 pmap decoder-only]
TrainingLoop[Distributed Training Loop\nAdamW / Lion Optimizers]
%% Logs & Artifacts
Logs[Loss & Perplexity Logs\nSaved via Checkpointing]
Plotting[Plotting Scripts\ntraining_curves.png]
HuggingFace[Hugging Face\nFinal & Intermediate Checkpoints]
Datasets --> Tokenizer
Tokenizer --> TrainingLoop
Models --> TrainingLoop
TrainingLoop --> Logs
Logs --> Plotting
TrainingLoop --> HuggingFace
Each sub-directory contains its respective training_log.txt and python scripts used to visualize learning progress.
Checkpoints and model weights are publicly available on Hugging Face at autonomousX.
Navigate to the individual model directories to see detailed parameter configurations and deep-dives into their learning curves: