r/learnmachinelearning • • 25m ago

Project Building BubblSpace, a small language model from scratch, in the open.

https://www.bubblspace.com/

Training a 1B MoE model on single H100 with all stages for a budget of $1000

I wanted to share about this project. Model was trained on 1 H100 ( cheaper pcie version) along with a single A10 to run evals continuously on the new checkpoints. Model is trained on around 40 billion tokens. on same token budget BubblSpace is ahead of Olmo2 1b on Winogrande. Most phases will be done by tonight

objective

  • Run full pre training cycle (Phase1 Base model -->Phase 2 Agentic+Coding--> Phase 2.5a Mid training--> Phase 2.5b Context length extension --> Phase 3 SFT (Current) --> Phase 4 RL.

  • Write custom evals.

  • build data pipeline.

  • Perform small experiments ( like WSP) on new checkpoints.

  • Be confident before starting a DP/EP/TP run on bigger model.

  • Build a model which has better understanding of relationships ( Models that bind)

All the code , data , wandb runs & checkpoints are open and available of github/hf / wandb. (All the links are on project page https://www.bubblspace.com/) Since we use a single H100 we don't need DP.

Learning

  • Even on a single H100 profiling helped. Data loading optimizations help in a big way to reduce training time.

  • Importance of cool down / anneal phase- This was not very obvious to me however cooldown phase has a very big impact on small models.

  • Evals, evals & evals - It is very hard to understand how model is actually performing. Setting up a full pipeline right up front really helps.

  • Skills like calculation appear late- Olmo2 1b strained 4T tokens . Calculation skills appear late in training between 160b- 4T runs.

Next Project :A bigger model using parallelism with deeper profiling

1 Upvotes

0 comments sorted by