Shorten it to the length of one tweet: Using unstable baselines is relatively simple.…
- User
Shorten it to the length of one tweet: Using unstable baselines is relatively simple. Just pip install and import unstable, initialize the necessary objects and start training. To make training more accessible, beyond the computational (and vRAM) requirement reductions achieved by using LoRA, we implemented optional full activation check-pointing and training sequence truncation (i.e. only training on the first "N" tokens, but generating (and evaluating) sequences of up to "M" tokens; this works very well in practice). When using both of these, it is possible to train up to 4B parameter models using self-play on just 24gb of vRAM (although it is worth mentioning that currently you will need at least 2 GPUs (i.e. minimum of 2x24gb) since learners and actors (currently) can't share the same gpu).
- Assistant
Train 4B models with just 2×24GB GPUs using unstable! 🚀 Install via pip, init, and train. LoRA + optional activation checkpointing + sequence truncation make self-play training accessible and efficient.
- User
This is a sub tweet in a thread giving some details make a fitting style with a bit more information
- Assistant
Sure! Here's a more detailed tweet that fits as a subtweet in a technical thread, while staying within the character limit (280 characters): Using unstable is easy: pip install unstable. Init your setup, and you're ready to train. With LoRA + optional full activation checkpointing + training seq truncation, you can self-play train 4B param models on just 2×24GB GPUs. No GPU sharing (yet) between actors/learners.
- User
Make that into one tweet talking about the results: Results Example
Running the above code snippet on 3x RTX6000 Ada takes ~12h and significantly improves the models win-rate against a fixed opponent (in this case "google/gemini-2.0-flash-lite-001") on both the training environment (SimpleTak) and an unseen ood environment (KuhnPoker); showing that at least some of the learned reasoning patterns generalize to other tasks and problems.
Two things worth pointing out. The model was trained via mirror self-play and thus has never played against "google/gemini-2.0-flash-lite-001" in either of the environments. Secondly, the gemini models perform surprisingly well on TextArena games (whilst being very cheap), so they have been our go-to choice for training against fixed opponents and as eval opponents
- Assistant
Here’s a tweet-length summary with results that fits the style of a thread: Example run: training via mirror self-play on 3× RTX6000 Ada (~12h) led to strong gains vs. google/gemini-2.0-flash-lite-001—both in-domain (SimpleTak) and OOD (KuhnPoker). Learned strategies generalize, despite never playing vs. Gemini during training.