328 points · by JohnBerryman · 2mo ago · 233 comments
I feel like good engineering doesn't just ignore those things, or at least it didn't before recently. Now I guess social media has added a pressure to reduce everything to a hot take.
LLM were used as classifiers because they solved that.
Jev have the flexibility of LLM and the perf and api of classifiers.
I can't see any benefits that a typical ML classifier would not be better at.
As a DevOps Engineer, I never once saw before the advantage of using a classifier. Now I see multiple parts of the stack where a better level of expressiveness will be useful (PR validations, Blue/Green validation, notification router for alerts, quick smoke tests, etc).
Nobody will give us the time and budget to build a custom classifier for these use cases, but a simple API call yes.
Being able to route prompt to features that then route to special models would be a really solid implementation.
I saw an article about 2+ years ago of a researcher using a small local AI strapped into excel to evaluate the abstract and intro of 10000 papers for "papers that research X in domain of Y", and let it loose.
jev is probably more capable avd faster than that workflow was, but saved one dude a few very grindy weeks for a litteratur review.
It's amusing how long it took, and much hype it gets for someone releasing the least revolutionary ML architecture in a new package. But i can see a fair few uses.
A LLM agent could be trained to use jev effectively as a tool call, even (but even without specific RL they do a good job already)
This is a transformer based classifier with massive pretraining on synthetic datasets and it outperforms boosting classifiers on many benchmarks without the need of more gradient descent steps (the forward pass on X_train, y_train IS the training).
I understand that jev focus on text entry. But I feel that it is a similar kind of model but trained on text. Did someone test it on tabular data as well ?
The good news is it’s fun to see people discover and get excited about things that I like as well.
I would have never considered importing pytorch for filtering through log files before even knowing my way around it. But if i can type a filtering condition by text and hit enter; i may actually use that to save some time.
Id want something local though, but thats hardly a difficult demand for what it is.
Agreed. This isn't new. I led a research team at a Fortune 500 that used a transformer based classifier approach in a commercial product as far back as 2022 and we didn't come up with it. It was already common enough that we found the inspiration for our implementation on some web forum. Models like RouteLLM have been around for a long time. The news here isn't that a new model type came about, its that a large percentage of people messing around with this stuff that are new to AI just learned that not all transformer based implementations need to be autoregressive.
It doesn't have to be new, it just has to be consumable by devs.
You could send text before Twilio. You could process credit cards before Stripe.
Jev, at the end of the day is an easy to use API.
Everyone seems to forget that usability is a thing.
I think building generalist classifier is some open ended research task, where frontier labs can contribute: different internal reasoning, instruction tuning, building datasets and benchmarks, building and distilling super large models.
and then whatever tech it is will be absorbed/assimilated/Sherlocked into the leading products anyway
Also, moat discussion is the lowest form of discussion. I don’t care if jev has a moat. Did it get the interface right? What other past ideas have we overlooked that if given some love, could kick the door down like jev did?
Really silly stuff.. people wanting to talk about moats when there’s no castle. Moat talk merely projects the illusion of being engaged but, much more often than not, it’s hollow engagement.
pangram says... 20% of content likely AI written, 80% of content likely human written.
Eventually humans are going to start writing like AI if we read enough of it.
Process: First, actually have ideas :D Then, I write an outline for what I want to talk about at basically a sentence-by-sentence level. (This is me yelling things at my computer.) And then I have the AI convert a chunk at a time into prose. I reread it and rework it to be my voice.
Then I have the AI help with things like subject titles and social posts.
¯\_(ツ)_/¯
I am not personally like philosophically or ethically opposed to having LLMs help or even write text... the issue is that I see so much LLM-written text that is just _bad_, and very hard for me to read or extract meaning out of, especially relative to it's often long length.
People think they are bad writers, but usually LLMs are actually worse (although they are great writers of catchy slogans and phrases, and then put together an article out of them, which I find just exhausting to try to get more than a "vibe" out of).
What you describe sounds like a fairly reasonable approach, but I suspect the parts the person I was replying to were reacting to was areas were you had not been as succesful at reworking it to be your voice. Which are probably also the parts pangram flagged as likely LLM written.
Pangram gives you a handful of free tokens, it would be interesting if you wanted to see what parts are the 20% pangram is flagging as LLM, and reflect on if they went through your process differently. Perhaps they were the parts you didn't spend quite as much time reworking it to be your voice. (I 100% believe you, because I've been running things through pangram a lot lately, and it's actually pretty rare for it to flag mixed content, instead of 100% likely AI or 100% likely human).
There was recently a post on HN that said if you want to avoid this, you really can't use any words at all that are written by the LLM, you can use it for suggesgting structure or points, or reviewing your work in various ways, but if you accept even a single phrase it provides... it's not going to be "reworked into your voice", it's going to be picked up by people (at least those of us who have become sensitive to it) as AI, because it's like, headline-speak.
(I can't find the article now, because I'm trying to quit facebook so can't log in to find my own post of it there, have to stop using that as bookmarks substtitue!)
Of course, that's not welcome advice if what you want AI for is "phrase choice".
I'm just here to say, LLMs are not good at phrase choice either. Although they may be quick at it. I feel like it's asking the reader to do the work of trying to extract meaning from slop that the author didn't have the energy to use to encode it well in the first place. I don't have time to try to read sentences that the writer didn't have time to write, i find myself bailing out quicker and quicker at signs of AI slop buzzword headline-speak.
> My main assumption is that Jev is using something quite close to a conventional large language model. As evidence of this, Latent Space reports that many of the early clones are indeed LLM-based.
Not proof that this is the case with Jev though. It might use non causal text encoder for the state, which could make sense given that it's very good for its price.
LLMs already shell out and write code to solve certain problems. This is just a special case of that.
Note that I don't think OpenAI is incapable of doing it, but I just don't think they will bother with it.
For now. Any company that grows to OpenAI/Anthropic's size and gets VC money is ought to become greedy.
And for Jev, everyone has a price, and OpenAI's raised an historical amount of funding.
so maybe typesafe's real plan is to front run and releasing their own new models for some time until they can get acquired which seems to be the only rational objective
If the headline said "Frontier labs are about to eat Jev's lunch" it might be an easier sell. But if we're gonna include Anthropic, I think part of their success is actually making products for which there is demand. It will take time for something like that to come out of this new "decision model" paradigm.
But if they had to show how well their product worked they might give away the whole game... because they'd have to compare their "noul" class against an NLI benchmark for instance, and possibly show they're losing to cross encoders and give away the fact that they are just rebranding NLI. Or rerankers (choice) or zero-shot classifiers.
But Jev is works pretty much out of the box without any fine tuning.
There are many automation pipelines that use LLMs because there was no choice, but the multi-way classification that Jev provides is exactly what they need, and is going to be way faster and cheaper, as well as having the benefit of calibrated probabilities and structured output that can be relied on.
Why build codex if AGI will replace SWEs?
Why build excel integrations if AGI will replace spreadsheets?
You have to run a legitimate business and make money. After the "takeoff," anything is fair game. It could result in value accruing to capital (lab shareholders) and everyone else is screwed, it could result in the status quo being maintained but people do way more and GDP goes up by a lot, it could result in a post scarcity society etc. Theres a reason why its called the singularity - you can't see past the event horizon.
In any case it is optimal for OpenAI to create good products that generate revenue NOW vs going for some straight shot pie in the sky model that is "AGI." SSI is attempting to do this and I suspect they are about as close as anyone else is, and I'd honestly assume they are likely further away than OpenAI or Anthropic at the moment. But one of these classes of companies has actual revenue that is arguably good for the economy, the other is just a glorified research lab that has produced nothing of value.
But you're completely right: our current APIs were optimized for humans, and some like Excel date from the 80s. So in the long term, agents will highly likely create their own interfaces optimized for when no human is in the loop.
Which is exactly why companies stick with current APIs for now. Fable 5.1 already emits alien-like reasoning traces, and the recent OpenAI agent swarm accident just proved this.
Is it? If AGI is here then by the time I test and deploy that the AGI will be most likely cheaper and smarter because it improved itself (for example by implementing it's own Jev for stupid prompts like this), so why invest into a more complex solutions?
Though for tasks where you are trying to search through billions of documents, social media posts, etc. and extract certain information, where each individual post is of low value and only the data in aggregate is valuable, then that’s where you’d want something cheaper and faster.
Such as if you want to look at all posts on X in the last few months and find how many have a negative or positive sentiment about the economy (or are unrelated).
Of course you could use a special-purpose model for this, but the whole point of something like Jev is to ask whatever questions you want without having to train something new.
> so why invest into a more complex solutions
Not sure what's more complex about one REST API call versus another REST API call...Or they can even offer it as a standalone API if deemed worth it.
1) It's very cheap and fast - you provide one input and many potential classifications, and the compute to ingest the input is shared.
2) It generates structured output natively - guaranteed to be correct
3) It's output probabilities are calibrated to actually mean something
OpenAI, or anyone else, could certainly replicate it - there are already articles guessing how Jev achieves its "parallel" classifications, but it seems the AI companies need to decide are they in the business of providing intelligence/tokens, or are they in the application business trying to compete with all their customers (not that Jev uses OpenAI).
Don't fall for marketing BS so easily.
Jev can output drastically different probabilities if you simply reorder the list of choices. And Jev's "confidence" output is fake/redundant - it's just a formula applied to probabilities, it conveys no additional information.
I bet they will eventually "fix" (read hide under the rug) the ordering problem by ordering the list on the backend before feeding to the model.
> 2) It generates structured output natively - guaranteed to be correct
It's not guaranteed to be correct: it's guaranteed to be _formatted in a particular way_. You can get the same thing with grammars on any LLM.
Jev and Jev-like models have other advantages, but I feel like people forget grammars exist for LLMs.
It has the advantage of speed and the confidence not being hallucinated.
But LLMs start to generalise on the pattern, rather than the classification that you want the more examples you have to train on.
LLMs start to break down as well the more classifications you have. Laya (Open source paper Jev is based on) even mentions that over 20 classifications and it starts to fail rapidly.
20 is around the level of sentiment analysis or minor intent routing. There are cheaper, smaller and easier ML models for that level of classification.
That is, if you force any llm to return json and a confidence it can also do that too and mostly likely it will he better at any one shot classification task than Jev.
LLMs have the great quality of knowing more due to the depth and richness of the training data. If Jev is trying to classify anything outside of its training data, it’s going to do a terrible job.
There are plenty of other ways to do zero shot classification that would result in more "token usage" (really just having to reprocess everything for each class), but the pricing and the way they describe it narrows it down somewhat.
Hopefully there will be some decent benchmarks and gateways for switching between providers easily.
People don't want to believe something as unsatisfying as "Scaling up LLMs" can yield something as profound as AGI/be useful, and just hope that literally anything else can take their mindshare away, and this just happens to be the new rage. Along with clearly-not-frontier-level open source models, non-transformer based architectures, etc.
I think demand for tools that are more tailored for this type of integration is high. I don't really understand why Jev is supposed to get my company's decisions right more than an LLM, but regardless of the tech I think people are just excited about the possibility of iterating faster, more explainability, higher-level tools that are specifically created to help hone classifiers etc.
The ability to use classifiers under the hood for the larger models has the potential to dramatically improve cost and throughput, allowing them to increase margin on a very similar service.
vLLM has a PR very close to merging: https://github.com/vllm-project/vllm/pull/57250
Kev is an open Jev: https://github.com/jaredpalmer/kev
The right part: autoregressive LLMs are indeed generating “probabilities” (scare quotes very much intentional). During pre-training and any SFT steps, those probabilities are nudged toward the probabilities, over the training distribution, of the next token conditioned on the previous tokens. (This is an explicit property of most training recipes: KL divergence is a “proper scoring function”.)
So if you prompt with “Paris is a city in ”, the next token probabilities estimate the probabilities over the input distribution that the next token in the sentence is the first token of France or of something else.
But there are huge caveats:
1. That is not at all the same thing as the probability that Paris is France under any distribution that you care about (the population of the various Parises, for example).
2. None of this necessarily usefully applies to RL or, as the article discusses, tool calling. The output probability of a tool call is not some Platonic idea of a probability that the input is worthy of a tool call. It’s a the result of a training process that tried to teach the model to be useful and to achieve its goals.
3. I suspect that reasoning makes this all much worse. Suppose that you prompt with “a help desk user with IP=a.b.c.d says they’re ‘in Paris’. What country are they in?” The model has been trained to generate a reasoning trace, which may well start with “let me think of where Paris could be. It could be in France or in Texas etc. The user was speaking English…” See the problem? The model is reasoning well, but it reasoned “France” before “Texas”, so the logprob for France was probably higher than “Texas”. At the end of the reasoning trade there will be an answer, but the logprobs for that answer are, at best, some representation of the probabilities of the answer conditioned on the sampled reasoning trace. And that is not the probability distribution that a Jev user wants.
I find it slightly more helpful to say they generate plausibility
And in this case I hope its true. I've been classifying a lot of email and while OpenAI `text-embedding-3-small` has been very helpful for fast and cheap embeddings, initial tests with Jev are very promising and much more ergonomic.
I put more thoughts here: https://housecat.com/blog/classifying-email
They certainly have the token budget for it.
I did so a month ago, I developed a deterministic agent framework that works with a set of predefined intents, it is instantaneous and fully deterministic.
It works thanks to FlintParser (https://github.com/gioblu/NPC-Forge/blob/main/src/FlintParse...) which can transpile plain English to any Programming Language. IMHO this is the future of AI.
Check it out: https://github.com/gioblu/NPC-Forge
Open weight classifiers and open weight LLMs will be burned onto silicon cards in a few years after the models begin to stabilize. They'll be in PCs and laptops. That's going to capture a HUGE chunk of the market.
If you need more horsepower, you'll rent the same silicon safely from AI services cloud providers without handing your data over to Anthropic and OpenAI.
That being said- hard to believe OpenAI etc couldn't build a frontier classifier too.
I love this!!
Would it be intesting/useful to use jev to generate a block of text like LLMs do ?
Like asking it to pick the n + 1 word given the starting text (using it's choice primitive), but also asking n + 2,n+3 and so on at the same time.
Would it give coherent or useful results ? Or does the fact that it computes it "all at once" means it cannot make one of it's answer influence the other ones ?
https://github.com/kyle-pena-nlp/jevchat
https://www.reddit.com/r/LLM/comments/1winnju/jev_the_new_ai...
Despite Typesafe claims that Jev is not an LLM, it obviously is.
Reading logits is the cornerstone of ML. It’s almost like many of the people reporting on and fawning over AI have no technical background and never knew about ML classifiers or calibration.
Which is likely what all the VC, hype machine, and overinflated claims are really about anyways.
The tech etc is easily replicated. The hype / name, not.
I seem to remember reading that the Jev-founder-guy is ex-OpenAI anyways. So that's how these things often roll.
Wouldn’t be surprised if every single AI house spins up a copy
But like they usually also have an embeddings endpoint
In reality, none of these really matter. The frontier labs can easily do something like this but likely havent because the size of this market is too small and it is not on the critical path to AGI.
When you have as many resources as OpenAI and Anthropic, theres basically no point in putting compute towards random bets that don't have a predictable return. And at this point, scaling up transformers is almost a surefire way ot putting money in via training and getting money out via increased capabilities AND it speeds up your own business by factors of X. Sidequesting a Jev like product is falling for twitter hype and is likely not going to happen, definitely not by Anthropic, and I'd bet probably not by OpenAI either.
I wrote a function pretty much exactly like Jev about a year ago... I would provide my function an array with a bunch of labels as first argument and a string of text/content as second argument and it would give me a relevance score for each label in the array against the provided text/content.
It's really easy to implement. Took me like a day or so by hand. You just compute the embedding vector of each label in the array then compare each one against the embedding vector of the text/content and it then return an object which maps each label to its similarity score.
I used it to allow users to tag employee data from LinkedIn. I had essentially forgotten about that code until now...
Fed Claude an api key from typesafe and a link to documentation, and within about 10 minutes I had a view of HN that was populated with a little ranking as to sloppiness of each comment.
When your mind has been wired a bit to LLM latency, it feels extremely fast, and for such a subjective rating I think it did a good job.
Feels like it sits in a space between traditional ML classification and the frontier models. I can't think of a 'real' production use case for it in my sphere of influence, but certainly some will. And of course there will be five Jev competitors by the end of the year.
To add to this the more difficult problems in classification done on scale have always been about collecting "good" -ve examples, enough data to calibrate on every confidence interval and debugging outliers. And those are solved on a case by case basis by the company pursuing its own peculiar version of the problem.
Am I the only one who thinks this is just all hype?
As there have been a lot of Jev related submissions, can someone point me to a simple guide on how I can use it? For example, say I have a script/workflow where I use OpenRouter for LLM calls, and at some point I want to do a simple classification. Can I still use OpenRouter with some Jev model...?