Prime Intellect retweeted
openai recently shared perplexity numbers for their models on their internal codebase. this is super valuable information and we need more public comparisons like this, so here is a first try with open models
introducing v0 of pre-training index
eliebak.com/pretraining-inde…
it covers 27 open models (base and post-trained) on ~260 curated sources (code, math & science, systems writing, essays) + uncheatable eval
there are a few challenges with comparing perplexity across models. first if the model is train on a document it can easily mememorize it and then have veryyy low ppl on it. one obvious fix is to only use very recent documents that can't be in the pretraining corpus, which is what uncheatable eval does (50% of the index). but i was a bit frustrated because it cuts a lot of the sources you can include, so i tried a few ideas
first, you can compute a win rate, if a model memorized a doc its loss collapses, but if you use win rate that only counts as one win (hence kinda normalize the importance of each document)
second, you can try to detect outliers (document where model have insanely low loss on)
loss(model, doc) ~ difficulty of the doc + skill of the model + r
difficulty is the median loss of all models on that doc, skill is how much better the model usually is than the median of other document in the sources and r is what's left. r < -2 means a loss 4x lower than expected
this seems to work pretty well. on uncheatable eval (published after every model's cutoff) only ~1% get flagged, vs 27% of older docs. by default the index drops every old doc that any model flags (with r < -2 as the threshold) for all models
some other notes
- i didn't have time to "base recover" the post-trained models, so keep in mind their base model perplexity is likely much lower! i think there is a lot to study here, especially the impact of SFT, distillation and RL on ppl
- for the curated sources, i took some of my favorite blogs and some i know high quality sources, gave them to neon, opus, sol and a few more models and asked them to find more like these and just iterate with models and looking at data. i know source quality is probably not the biggest differentiator here, oai does it only on their held out codebase, but there is something cool about evaluating how well models do next token prediction on the best stuff humans wrote
- i would prefer held out set for everything obviously, but i wanted to try to see a bit how we could detect memorization, and if/how it matters for different model and training process likely have impact on this! you can make the index 100% of uncheatable eval to remove as much as possible memorization
- i also asked a model to filter out heavily ai generated code/text on some sources, but i think it's relatively fine to have some llm generated data here (i know there is some). it might be a bigger issue for oai/anthropic models since they write a lot of code
- you can customize everything and build your own index by changing the weight of each domain, toggling sources on/off, picking the r cutoff, and clicking any document to see which models look like they memorized it
- there is also a lot of cool work on compression/memorization by nicholas carlini and others that i need to look into more!
- this first version of the index is OBVIOUSLY not good to compute ppl threshold to release model or not, probably a lot of way to under/overfit on it, and not the goal here
wanted to share this publicly quickly, i'll keep improving it when i have time and look for better ways to handle memorization. please give feedback and send cool resources to include!!
Prime Intellect retweeted
Prime Sandboxes. 1000 sandboxes. Global private mesh network.
We serve the swarm infra. For 90 seconds, we opened ~39,000 real TCP connections.
Same-node RTT: 0.23 ms
Cross-node RTT: 194 ms
we are releasing prime-rl 0.11.0 today
1. new pretraining entrypoint
2. Major training performance improvement as well as model specific kernel
3. bidirectional kv transfer in PD
4. Env workers pool and heavy cpu memory reduction
5. bunch of new model
... and a bunch more
agent are massively accelerating our work, a big shift happened around opus 5.5 release imo slop went down a lot
My new favorite model, Inkling 2 Mini, is now available on Prime Inference. Happy Friday!
Some of you thought that Inkling 2 Small was too big at 594B parameters. We heard you: Inkling 2 Mini is a looped transformer with just 26B parameters, small enough to run on your laptop, powerful enough for agentic work with a score of 20.1 on AA Index.
thinkingmachines.ai/news/ink…
Prime Intellect retweeted
Really proud of all the residents who have done amazing work the last few month!
And we're not done yet.
Prime Intellect retweeted
i often say one thing i dearly miss from academia is teaching
happy about that program, i am working/advising with some super bright independent researchers like @patience_cave, @dejavucoder and @HuNtEr_J1324 :)
apply if you want to build fun stuff! 🙏
Prime Intellect retweeted
There are a lot of “can we train a model to do this?” questions worth answering. We’ve been dogfooding Model Factory on ours, from enterprise workflows to chip design.
What’s been really nice in our own experiments is how little friction there is between training a model, seeing what it actually does, and figuring out what to try next. You can inspect rollouts, compare checkpoints, deploy, and bring what you learn back into training, all without stitching together a new set of tools at every step.
We’ve been building this while using it for our own research. Pretty excited to see what questions other teams bring to it! 🦋
Prime Intellect retweeted
Everyone can build their own models
Let the great speciation of weights begin
A Cambrian explosion of models
Optimization rewards diversity
This is the way
Prime Intellect retweeted
some firms would prefer you spend only on consumption and operations, never R&D.
we disagree. firms of the future will be in a continual state of R&D. their sensors yield novel experiences to compound into new market advantage. but the job is never done. you are always learning.
Prime Intellect retweeted
Introducing Model Factory.
Train, deploy, and continuously improve your own models on one stack.
Run on-demand, on dedicated clusters, or bring your own.
Own your intelligence. Own your model factory.
Prime Intellect retweeted
model factory is live.
pre-train. sft. rl. eval.
deploy to prod inference. capture traces.
Prime Intellect retweeted
the factory is the product.
today we're launching Model Factory so any company can train, deploy and continuously improve its own models in production.
one unified stack for large-scale RL, SFT, mid-training, inference, evals and sandboxes.
Prime Intellect retweeted
my first task, when i first joined Prime Intellect, was "build a production trace storage system, make no mistake". thus, Prime Traces was born.
it was designed with the following in mind:
1. to be able to ingest and store oversized trace documents, and to be able to retrieve them at any time
2. to be able to handle large volume of traffic across different stages of the Model Factory pipeline
3. to enable efficient browsing of traces on the dashboard
our research and inference team put it through trials and tribulation, but in the end, it was all worth it. Model Factory is the result of hard work across teams and different layers of the stack, and i am so honored to be able to work alongside them to help push towards a future of pluralistic intelligence
finally, i have more exciting work and experimentations that propel our data layer story even further, and i can't wait to share more soon.
Replying to @PrimeIntellect
Frontier labs own the full loop, training and deploying intelligence, and capturing the data required to train the next model.
We believe every company should have that same ability.
Model Factory brings that loop into one open, customizable stack. Here's how it works:
Prime Intellect retweeted
we have a (new) pretraining feature that lets you do autoresearch on top of @karpathy's nanochat scaling ladder on a few nodes but also launch jobs on thousands of gpus with automatic recovery
love how beautiful these scaling plots look even at very small scale
Prime Intellect retweeted
prime-rl has a new home!!
a lot of love has been poured into this, go check it out!
i've enjoyed using this over the last few weeks. takes away a lot of the infra pain and custom tooling you'd otherwise have to handle
Prime Intellect retweeted
nothing gives me more purpose than making sure the next branch of humanity’s tech tree benefits everyone
























