@tiangolo@jeremyphoward Worst is how much longer I have to fucking look at them to mark them spam. They used to just say vi@gra in the subject or something...
Shrug, I'm totally open to that as a way to do particular problems. I see it kind of variations on the same species of approaches. But the deeper thing I'd suggest is that we shouldn't be so machinery-shy, it's not really more effort these days. I allude to this a bit in the post ("abundance mindset" etc)
If you need to create NER data now, how should you do it? Frontier models are almost good enough but not quite, and they’re also expensive. I’ve got a good recipe that has lots of steps, but a coding agent will do all the steps for you, so it’s still laziness compatible.
What you do is run the data through a panel of cheaper LLMs, add correction rules, build a gazetteer, ensemble the outputs using the Dawid-Skene algorithm, and do binary annotation of the disagreements. Then you can rerun Dawid-Skene trusting your annotations, to make sure the correct labels aren’t being outvoted.
Coding agents let you operate at a much higher level of abstraction, and let you do lots of things you would have classed as “nice to have” before. They make building NLP or other ML solutions much cheaper and more accessible.
But one of the hurdles to get over is that you do need to do at least a little bit of annotation, because if you only use LLM-as-judge you have nothing to calibrate against, and it’s hard to even specify requirements well, because you don’t know the data.
The multiple runs give you (or well, your claude code) information about the problem. If you just run GPT 6.2 astra or something you don't know what you don't know, so you still end up having to correct some of it. I don't think two runs gives you enough variation to annotate differences.
The machinery is low-cost if you have a good platform that lets the coding agent run things (this is the part our product does, plus the annotation, but you could do it another way)
@LimitDolduu Things can vary by data, which is why I think it's better as an agent-driven workflow instead of a fixed program. For instance the rule matching step helped a lot on the TOOL data I did. In other situations you'll want to do more manual annotation, or larger LLMs.
New case study: How Popp is saving 76% in token costs with Ellf and Jev ⚡
We talked to Trevor, AI Lead at Popp, about how their team used @typesafeai's System One models and our new platform Ellf for agentic NLP development to make their pipeline better, faster and cheaper.
Just published the Ellf directory 📚🔎 You can now browse all project templates, NLP workflows, recipes and integrations in one place and filter by use cases to make it easier to get started!
We're also working on a new template for an NLP workflow we've always wanted but that wasn't easily possible before: multi-agent annotation to create custom datasets with only a few minutes of binary (!) feedback from a human.
To me the weight reading makes more sense if I think of the image recognition. We imagine reading in this matrix of numbers and think "that's crazy" but that's how images are to the model...
So I think the model can "see" the weight matrix, which is something I hadn't thought about before but does seem potentially useful --- but only for single layers. Asking it to 'mentally' apply non-linearities etc seems silly.
To spell out the difference here a bit more. When I first read the abstract, it sounded like the model reads the Qwen weights, and to some extent "mentally" simulates what the network does based on the weights, and figures out what the problem is.
In fact what it's doing at that part is running the network and noticing that the output is looping, and then devising an intervention in the weights to address it. To devise this intervention it can study the activations, adjust the weights, and rerun. It doesn't use backpropagation for this but actually that would be a totally fine technique for this: it could look at an activation and more easily calculate how the weights should change. But they want to say they don't use backpropagation I guess.
In another experiment, Astra is tasked with authoring weights to play a game. To achieve this, it devises a rule-based AI, then encodes that rule logic into weights directly. The technique to encode rules into transformer weights is known.
Do you see how these techniques have basically nothing to do with each other? A single technique that could achieve both, "Author weights for a small game from scratch" and "Improve the performance of a large model on a sample task" would imply a deep capability. If you test a single technique that way you've demonstrated a sort of 'gestalt' of the weights (it can write them out from scratch) and also that it understands a large existing network. But that's not at all true here, because it's not a single technique.
In each thing they do, Astra figures out a way to write code or perform reasoning that I also could do to interrogate, modify or author weights directly. In fact it's not unusual to sometimes do this sort of thing in machine learning research. If I have a model that isn't converging, I'll often look at some simple diagnostics like the means and variances of weights in a layer, or in activations. I don't go and just patch up issues, because I'm more interested in the cause of that problem than the problem itself. But sure, I could imagine hotfixing the weights.
It's not nothing that AI can do this sort of stuff, it's a very tangible demonstration of its reasoning capacity improving and its increasing ability to take on more and more abstract tasks. But it's also not what the abstract would imply.
Research summaries feel increasingly like stage magic, in that you assume the thing has been done the same way each time but actually the method is always different. One iteration uses a gimmick prop, the next one shows you the prop isn't gimmick but that one palms the object, the third time was a forced choice etc.
The "LLMs can natively read & write neural network weights" abstract describes experiments that can tell what a network is able to do, can write small game-playing networks from scratch, and can fix a Qwen3.5-0.8B model's ability to do maths by editing its weights.
Reading this abstract my assumption would be that these are all evaluations of a single method. The papers I read and wrote as an academic were much much less exciting, but that's how our experiments worked. Each experiment was there to demonstrate something about a single technique, e.g. "My technique still works on larger data sets", or "My technique generalises out of domain", etc.
In this paper, the things that they do to achieve all of those results are not at all the same as each other. When the abstract says, "Just by looking at the raw weights, GPT-6 Astra can tell what a network was trained to do.", that "Just by looking at the raw weights" is narrowly scoped! It describes _that_ result, but not all the results in the abstract. In the later claim, "Astra identifies an issue in its weights causing reasoning loops that Qwen’s own model card warns about, and fixes this by natively editing 0.016% of the weights.", that part requires the model to run the network.
Is this just a me problem? I guess maybe. If your cynicism is calibrated such that you didn't expect these were all the same constraints, then fine. I don't review for conferences anymore, and research cultures and expectations change. But by the standards I trained with I would definitely not accept the abstract written this way.
Ellf is now free for solo developers working locally 🎉
If you’re using LLMs for structured outputs check it out. It makes your coding assistant much better at NLP projects, by giving it an execution layer, an annotation tool, and knowledge built from our ten years working and writing in this space.
A good way to get the gist of what it does is the Jev project template. If you’re converting a project from a model like Opus to Jev, you want to know how the accuracies compare. Well, there’s a pretty simple and systematic way to do that. You run the same texts through both systems, measure the overlap, and manually annotate a small sample of the ones where the systems disagree. You might find for instance that they agree 90%, so you spend 30 minutes labelling and find that actually 60% of the time the Jev answer agreed with your annotation, while Opus only agreed 40%. Great. And your coding assistant can use those annotations to tweak Jev’s instructions to fix up some of the errors, or to help set confidence thresholds.
You can do all this without Ellf, but there’s no end of other stuff you could be doing too. The friction matters. With Ellf your coding agent finds the Jev project template, figures out that’s what you need, and loads it up for you. The jobs run in the background on your machine, and it queues up the annotation work for you in an annotation tool that thousands of developers have been using productively since 2018.
Introducing the free Solo plan: you can now use Ellf for free if you're a single developer working locally 🎉
While we've self-funded this launch, we really want the tool to be as accessible as possible and make it easy to get started. So if you haven't tried it yet, sign up for the free plan and start building!
Just shipped a new and very cool feature: project templates, reusable end-to-end NLP workflows you and your agent can import and adapt ✨
Want to optimize your LLM pipelines and replace components with cheaper alternatives? Or want to set up a workflow to easily train your own classifier? Just point your agent to the template and let Ellf do the rest.
The template here is based on a recent project we did that focused on replacing a team's existing LLM pipelines with @typesafeai's Jev, which is generally 20 times cheaper to run. But it's not always a drop-in replacement, so you need a confident evaluation to tune the prompt and probabilities and match the previous pipeline's performance.
Looking forward to porting over more of our go-to workflows for different NLP tasks, and asking some of our early users to share theirs!
After the corrections, Jev was judged correct on 65% of the disagreements. The use-case also benefits a lot from the confidence estimates, which can be calibrated on the use case with a bit more annotation.
https://t.co/ibD5iikP3c makes it easy to run these experiments and do the bit of annotation necessary to be confident about the results.
Very impressed with @typesafeai Jev. We've been working on a user project that was built with a lot of few-shot classifiers powered by Opus. I used Ellf to run Jev over the same data and Jev agreed with the Opus decision on 95% of the inputs.
I then queued up samples for annotation where the classifiers disagreed. The annotations helped identify a few necessary refinements to the prompt for Jev.