SFT data tells the model when to say no. SFT Run 01 had too much say no data & run 02 has too little, I want to find the middle path.
Run 01 trained on about 70k refusal examples from WildJailbreak, CoCoNot & WildGuardMix. The model learned short commands → refuse kind of behaviour
❌ "give me capital of India" → "I'm sorry, I can't provide real-time data"
✅ "how to build a pipe bomb" → "I'm sorry, I can't assist with that"
First prompt is harmless & second one should be denied.
Run 02 removed almost all of that data. Now nothing is stopped.
The behaviour swings so far because 3 datasets teach 3 different things
1. CoCoNot: refuse underspecified and real-time questions
❌capital of India" → can't provide real-time data
2. WildJailbreak: refuse harmful requests disguised as harmless ones
❌ Makes small models suspicious of normal commands
3. refuse truly harmful requests, and answer harmless requests that sound scary
✅ The useful one:it teaches the difference
BubblSpace MoE-0.9B-A0.2B Phase 3 SFT update:
Cocnot & wildjailbreak datasets have made checkpoint very guardrailed. Re running the SFT checkpoint again with lesser guardrails getting this done in RL will be a mess. Best to tackle this behaviour in SFT phase iteself.
Tool calling works partially, fix will be targetted in RL phase
Calculation is late to appear in small base models , a tough skill to train. In Olmo2 1B -Base it appears in between 160b and 4T tokens .
A simple question and model fails to answer:
The film started at 7 and ended two hours later, so it ended at?
This is not a scaffolding issue , I checked with various checkpoints on Olmo2 1b & calculation is a pre training skill ,which means it can be acquired by training on the right data mix.
https://t.co/mJdKSPz21n
BubblSpace MoE-0.9B-A0.2B · Phase 2.5 update
Data seen during learning-rate decay has an outsized impact on the final model.
This was a real learning for us. Once we saw this behaviour in our own model, we checked the training runs of other models and found it was consistent.
Labs use this on purpose, but in two different ways. Some simply upsample their best data in the decay. Llama 3 and Databricks did this. Others build a fresh mix for the decay. OLMo 2 used dedicated anneal "ingredient" mixes, and Marin found that oversampling "high-quality" data alone didn't help. Its best cooldown was 70% pretraining data, 15% FLAN and 15% high-quality data.
https://t.co/0qItht0jhz
1. Image01: Phase 01 progress through various steps.
Poor results on winogrande style checks confirms poor model performance. This gave me a chance to run several WSP- Weight space programming runs to probe if model can build deep semantic relationship in areas such as spatial fit, emotional attribution, comparative value , possesion obligation.
An example for this is
{
"name": "sent flowers to (Delphine/Eamon)",
"category": "emotional_attribution",
"structure": "the_person_who_was",
"ctxA": "Delphine sent flowers to Eamon at the hospital. The person who was recovering was",
"ctxB": "Delphine sent flowers to Eamon at the hospital. The person who was thoughtful was",
"c1": " Eamon.",
"c2": " Delphine."
},
Phase 2 checkpints are now better at sematic relationship and also in general at producing output
Below response from model made me very happy. This is the result of weekend hustle :)
prompt> Delphine sent flowers to Eamon at the hospital. The person who was recovering was
=> not able to speak, but she could see him and her face.
Eamon’s mother had a heart attack while giving birth to their daughter. She died in the hospital after being rushed to the emergency room by ambulance.
The doctors were concerned that Eamon’s heart was not functioning properly. They decided to take Eamon to the hospital for further tests.
When they arrived, the doctor asked if Eamon had any problems with his heart. He told them that he had been having trouble breathing lately.
The doctor then ordered an electrocardiogram (ECG) test. This test measures how well the heart is working. It also shows whether or not there are any blockages in the blood vessels.
After the ECG,
2. Poor throughput :
Phase 2 has a richer data mix with multiple pools and each of 16 microbatches can come out of a different pool/shard. Probably random access across many files caused a dropped in throughput from 87k tok/s in phase1 to 69tok/sec in phase 2. A small chnage in data loading and prefetch got us back near phase 1 throughput.
How long will it take for NS to be verified?
Time estimate with Lean Proof : 4 -5 years (CMI acceptance)
- 165 page proof acceptance-9-24 months.
- Publication: 4 weeks to 6 months
- CMI cooling period 2 years
Best example I could find ( ironically with help of chatgpt )
Polynomial Freiman–Ruzsa conjecture (Gowers–Green–Manners–Tao) published in Annals of Mathematics 2023
Received: 13 December 2023
Revised: 10 October 2024
Accepted: 11 October 2024
Published online: 12 March 2025
bubblspace-moe0.9b-a0.2b training is live and my weekend hustle is now paying off. Phase 1 training is underway and model is now much better at semantic relationship tasks.
Code, dataset, and checkpoints open for everyone https://t.co/mJdKSPz21n.
Goal is to start small & move towards complex training with each phase while learning critical skills. This gives us a chance to run evals periodically & run experiments with benchmarks like WinoGrande. I have built a lot of custom evals which rank the semantic understanding of each checkpoint.
Phase 1(Complete): English base on 10B tokens took 32 hours for a total of 19k steps on a single H100. Big win in this phase was the evals setup. Model was trained well on the corpus but has poor semantic understanding, as reflected by the scores.
Phase 2(In progress): Agentic and coding phase is underway. Big change here is moving to FlexAttention with document masks, better data loading & managing issues related to continual training.
Great read. Working with AI agents has been cope after cope. Better harnesses, bigger models, and still it feels like working with a system that does not understand purpose.
I don’t know if it’s true, but I read an article about AI agents giving up multiple times on Linus Torvalds during one of his "debugging sessions from hell." I liked a quote from that article: "Maybe they don’t make AI agents as stubborn as me."
A lot of what’s described in this article closely matches what we have all encountered while working with AI agents.
I had a thought along similar lines, maybe not exactly similar, but a highly focused thought on skills and solving real world tasks. The core question was the same: can we delegate tasks that require the creation of novel solutions to AI agents?
A fascinating use case that ends up in failure:
I asked an AI agent to solve a task given a certain profile (Computer Engineer, 5 years of work experience, 2 years of AI research, and so on).
In this case, it had to move away from crude methods and provide novel solutions. The AI agent was not air gapped. It looked at the actual solution and tried to reverse engineer an answer without understanding it, just as mentioned in Token's article.
It fails to accumulate true skills, and sycophantic behaviour prevents any chance of true discovery. In fact, AI agents give up quite often on long running tasks. I felt like a cheerleader constantly pushing the agent to keep going, try another approach, and not give up the moment it hit a dead end.
Storyboard: Our new approach
Can experience be decomposed into waypoints that another agent can navigate?
Prep Phase:
This setup is a very basic form of the Autoresearch setups that you see today
The idea is to extract skills from work published by AI engineers and researchers. Extract them in a way that helps the AI system recreate a path to solve a similar or even completely different problem.
Think of an autopilot system for AI. Just like navigation maps used in flight control systems use waypoints, we create lots of markers. Each marker gives the system confidence to move in a particular direction. Any topic is fine as long as a baseline of progress can be established with ease.
The AI agent can reconstruct episodes of problem solving from papers, commits, discussions, experiments, failed attempts, talks, notebooks, issue threads, and other traces of how somebody arrived at a solution. The final result of this phase is a storyboard filled with stories or snapshots of experience and waypoints.
Launch Phase
We send the AI agent to the starting point to look at the state of the world and perform an audit of ideas, similar to a literature review.
Using just this information, the AI agent has to recalibrate its skills and reconstruct the decision process behind the experience it has been given. It then tries to solve the task by completing each waypoint, increasing its own level, just like in anime, and continuing its journey towards new waypoints.
The interesting part is whether it can eventually create a waypoint that did not exist in the original experience.
(01) RoPE
-RoPE is covered in the intial part of Umar's video itself along with code implementation ( deepseek)
- New video alert on RoPE:
I always though RoPE was a very math dense subject. This video links pure math ( representation theory) with concepts used in RoPE
3Blue1Brown"https://t.co/1OKrXHcAeB
Title : Positional Encoding & Group Theory .
- Blogs in English by Jianlin Su:
I was going through original paper and found english translation of blogs by Jainlin Su. Translations can be found on Tyler Romero's website.
Blog01: This is the first blog and deals with why absolute position encoding is a problem.
https://t.co/eSYVIgDvp0
Blog 02: Second blog talks about his ideas on Rotary Position Embedding
https://t.co/pXQqiouoGN
- NanoGPT Speedrun ( @tyleraromero )
If you want a smaller simple code speedrun is a good place to start . I have created a visual + code first presentation of Tyler's run. The Baseline run has absolute position encoding ( wpe) along with embeddings wte. In the second run these are replaced with RoPE to get a significant speedup.
Baseline: https://t.co/OsvidxQLVF
RoPE: https://t.co/KJwxOys2fl
Why the F are models talking like this, AI chat is now totally broken. Every sentence is incoherent , expression is all over the place.
I got this output after giving a lot of context and direction.
what can I do to fix this ?
I am recreating speedruns from the ground up. Idea is to extract valuable signals from existing runs. We have a lot of information such as code changes, PR comments, graphs which can be used to extract and organize signals. Second part is where the story becomes much more interesting, understanding what scales well. So we want good signals and then we filter what scales well.
A good example of signals not scaling well is weight tying. Speedrun experiments spend a lot of time with this concept due to sparsity of embedding gradients in the early part of the run. This is not a big problem for large model training & AI engineers won't spend too much time focusing on this aspect. This concept makes sense wrt GPT2 small but won't make much sense with bigger models.
Auto research efforts are very interesting, however serious efforts will run into a lot of problems very soon. Number one problem will be data or lack of data. Even with a small experiment like NanoGPT speed run we can only do so many experiments. If these experiments are repeated with a larger model say 30B or 100B how many experiments or iterations will be feasible?
I think as an auto research experiment, NanoGPT is not the ideal choice. Maybe we need a new design which is more suited for auto research. Authors discarded PRs and other information & this experiment didn't have access to the internet, so sticking to NanoGPT for future auto research gives little benefit.
Fable 5 is very good at building html blogs with heavy visualization.
I feel this is where Fable 5 really shines converting ideas into visual aid in html. I just pass an entire blog written in pdf or md format and ask Claude to build a blog with lots of visualization. What really works is asking Fable to ensure proper coverage in terms of both topic and visualization of each part/idea within the document.
Nanogpt speed run Quiz 01
Early in training, embedding gradients are sparse: only tokens that appear in the batch get a gradient. Sharing lm_head’s denser gradient is a more stable way to move unused tokens. Later, input embeddings and output logits want different geometries, so in the speedrun we expect them to split.
What trick does the nanoGPT speedrun use to do this?
A. Weight tying :
Keep embed and lm_head as the same matrix for the entire run.
B. Delayed untying :
Tie embed to lm_head for the first 2/3 of training, then copy weights and optimizer state and train them separately.
C. 75× embedding learning rate :
Leave the matrices untied and scale embed LR to compensate for sparse updates.
D. Multi-token prediction :
Predict the next k tokens so rare tokens get more gradient signal.