ShinchaBoo retweeted
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
ShinchaBoo retweeted
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
ShinchaBoo retweeted
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.
bubblspace.com/
ShinchaBoo retweeted
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.
bubblspace.com/research-note…
ShinchaBoo retweeted
WSP experiments are becoming serious !!!! LFG
Replying to @TensorSlay
Thank you! My 2027 resolution is to post regularly. My WSP experiments came straight from your posts. I used your closed-form edit for a different goal: strengthening a general skill (binding a property to the right entity) rather than inserting facts.
On my Phase 1 base model it lifted my binding probe 25→31/100, but free generation didn't improve. Next: retry on Phase 2.5 (facts + relational data).
e.g. "The wardrobe could not be carried up the stairwell. It was the wardrobe, not the stairwell, that was too bulky."
I will push a blog on this soon once I finish EDA on the new dataset.
Notes/docs created using AI:
github.com/thefirehacker/bub…
ShinchaBoo retweeted
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.
ShinchaBoo retweeted
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
Replying to @twillis209 @AndrewCurran_
Verification of NS will take years👇
CMI won't accept direct solutions. These have to be published in a Qualifying outlet with minimum 2 years of publication time.
Qualifying outlets are small set of publications as described by the rule "refereed mathematics publication of worldwide repute." So take at least 2 years or more for publication then ateast 2 more years of Clay cooling period. That is if there is no error in the solution.
claymath.org/wp-content/uplo…
ShinchaBoo retweeted
He is still Jenny from the block 🔥.
We are so back 💪, Jensen Huang is the biggest advocate for open source models.
NVIDIA Board reinstates Jensen Huang as President, CEO and Board Director.
Read the release: nvidianews.nvidia.com/news/n…
ShinchaBoo retweeted
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 bubblspace.com/.
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.
ShinchaBoo retweeted
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.
ShinchaBoo retweeted
(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"youtube.com/watch?v=k86eUj4h…
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.
tylerromero.com/translations…
Blog 02: Second blog talks about his ideas on Rotary Position Embedding
tylerromero.com/translations…
- 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: bubblnet.com/lab/speedrun/jo…
RoPE: bubblnet.com/lab/speedrun/jo…
In this (extremely long) video, I'll build a distributed training framework from first principles using PyTorch.
We'll derive everything from first principles, explaining the mathematics behind distributed training as well as every auxiliary component we build along the way, including Multi-head Latent Attention (MLA), Rotary Position Embeddings (RoPE) and YaRN.
I'll explain process groups, ranks, collective communication operations, distributed autograd, device meshes and distributed tensors, and then use these foundations to implement the major forms of parallelism used to train modern language models.
We'll derive and code pipeline parallelism, data parallelism, FSDP, HSDP, tensor parallelism and context parallelism, including pipeline schedules, block matrix multiplication, model sharding and ring attention. We'll then combine these techniques and examine how tensor layouts and gradients must be tracked as data moves between devices.
Most importantly, we won't study each parallelism technique in isolation. We'll combine pipeline, data, tensor, context and expert parallelism into a single working framework and follow the tensors, communication operations and gradients as they move across GPUs. By the end, you'll understand not only how these techniques work individually, but how modern distributed training systems compose them to train large dense and mixture-of-experts models.
We'll also build the important components of a modern transformer, including rotary embeddings, long-context extensions, multi-head latent attention and a mixture-of-experts architecture. This leads into expert parallelism, expert tensor parallelism, token dispatching, all-to-all communication and combining different parallel dimensions through dense and sparse device meshes.
We'll also build the supporting training infrastructure, including the training loop, optimizer, learning-rate schedule, checkpointing and metrics.
The goal is to give you the foundations required to understand how distributed training frameworks work internally and how to design and implement new parallelization strategies yourself. No prior knowledge of distributed training is required.
Link to the video: youtube.com/watch?v=XoGvCBRn…
ShinchaBoo retweeted
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 ?
ShinchaBoo retweeted
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.
ShinchaBoo retweeted
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.
This works really well btw, at the end of your query ask your LLM to "structure your response as HTML", then view the generated file in your browser. I've also had some success asking the LLM to present its output as slideshows, etc.
More generally, imo audio is the human-preferred input to AIs but vision (images/animations/video) is the preferred output from them. Around a ~third of our brains are a massively parallel processor dedicated to vision, it is the 10-lane superhighway of information into brain. As AI improves, I think we'll see a progression that takes advantage:
1) raw text (hard/effortful to read)
2) markdown (bold, italic, headings, tables, a bit easier on the eyes) <-- current default
3) HTML (still procedural with underlying code, but a lot more flexibility on the graphics, layout, even interactivity) <-- early but forming new good default
...4,5,6,...
n) interactive neural videos/simulations
Imo the extrapolation (though the technology doesn't exist just yet) ends in some kind of interactive videos generated directly by a diffusion neural net. Many open questions as to how exact/procedural "Software 1.0" artifacts (e.g. interactive simulations) may be woven together with neural artifacts (diffusion grids), but generally something in the direction of the recently viral nitter.gq/zan2434/status/2046982…
There are also improvements necessary and pending at the input. Audio nor text nor video alone are not enough, e.g. I feel a need to point/gesture to things on the screen, similar to all the things you would do with a person physically next to you and your computer screen.
TLDR The input/output mind meld between humans and AIs is ongoing and there is a lot of work to do and significant progress to be made, way before jumping all the way into neuralink-esque BCIs and all that. For what's worth exploring at the current stage, hot tip try ask for HTML.
ShinchaBoo retweeted
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.
ShinchaBoo retweeted
Crazy that such a powerful coding model is open source
Exciting news: GLM-5.2 (Max) ranks #2 in Code Arena: Frontend, with +29pt over Claude Opus 4.7 (Thinking) and only behind Fable 5! GLM-5.2 is the best open model vs Kimi-K2.6 and Minimax-M3 by a large margin.
- #2 React and #4 HTML sub-leaderboards
- Ranks as the top model in nearly all sub categories: Brand & Marketing, Reference-Based Design, Data & Analytics, Consumer Product, Gaming, and Simulations.
Congrats @Zai_org for the incredible milestone!
ShinchaBoo retweeted
Skills up for grab this week at FBA Lab speed run event 😱
🏀 LLM Modelling- Optimizer
🏀 Pytorch
Request access —> Join event —> Complete Challenge
bubblnet.com
ShinchaBoo retweeted
Using AI for research , study or even literature review can be so troublesome. If research consumes a lot of tokens and you default to a smaller model , system overall starts giving wrong answers.
For a simple question like "what is required to create a vector"
Small Model : To make a vector in math, you need a magnitude (size) and a direction.
Large Model : A vector requires two things:
A vector space—the coordinate system or “space” in which it lives.
One scalar component for every independent axis of that space.


























