transcribe

Jev Explained: The Fast AI Model We Tried to Break on Purpose

Boundary · 42m · transcribed Sep 2026
More from Boundary Business
𝕏 Share ▶ YouTube 📥 PDF 🤖 .md

Section Insights

# 0:00

Introduction to Jev and its Capabilities

What is Jev and how does it differ from traditional LLMs?

Jev is a new model that offers fast and efficient problem-solving capabilities without the need for larger models. It allows for high-frequency usage due to its speed and low cost, marking a paradigm shift in how tasks can be approached.

  • Jev provides semantic understanding without the complexity of larger models.
  • The speed and cost-effectiveness of Jev enable more frequent use in various applications.
  • The introduction of Jev represents a significant change in problem-solving methodologies.
# 8:31

Understanding Output Mechanisms

How does Jev generate output and what are its scoring mechanisms?

Jev outputs tokens based on log probabilities and can be constrained to output specific tokens. It uses a scoring system that allows for weighted outputs, providing a score based on predefined categories.

  • Jev's output is based on a scoring system that can be tailored to specific needs.
  • The model can interpolate between numeric values to provide nuanced scores.
  • Understanding the output mechanism is crucial for effectively utilizing Jev.
# 17:03

Innovative Use Cases for Jev

What are some practical applications of Jev in programming?

Jev can be used in a toy programming language that allows for conditional actions based on confidence scores, such as determining the urgency of email replies. This showcases Jev's ability to handle complex decision-making tasks.

  • Jev can facilitate advanced programming tasks through conditional logic.
  • The model's ability to assess confidence levels enhances its decision-making capabilities.
  • Real-world applications of Jev demonstrate its versatility in various programming scenarios.
# 25:35

Performance Improvements with Jev

How does Jev improve performance compared to traditional models?

Jev reduces the number of model calls required for tasks, leading to faster execution times. This efficiency allows for smoother interactions and the ability to handle more complex tasks without noticeable delays.

  • Jev significantly decreases the number of calls needed for task completion.
  • The model's efficiency leads to a more seamless user experience.
  • Improvements in performance can enhance productivity across various applications.
# 34:06

Evaluating Jev's Effectiveness

What results have companies seen when implementing Jev?

Companies like Replicate have reported a 90% accuracy rate with Jev, significantly higher than the 50% baseline of traditional LLMs, while also achieving faster processing times. This indicates that Jev can be a valuable tool for specific use cases.

  • Jev has demonstrated superior accuracy and speed in practical applications.
  • Companies are re-evaluating their use of Jev based on its performance metrics.
  • The model's effectiveness varies by use case, highlighting the importance of tailored applications.

Transcript

0:00 It can't give you reasoning. It can't give you a sequence of text, but it can still do a lot of things that LLMs were previously used for with really good semantic understanding without having to really go to the beefier models. And there's a new way to think about problem-solving. If you've been doing constraint decoding, you've been using structured outputs, you might have thought about problems this way, but the speed and the latency wins are insane and that again, changes what's possible.

0:24 Like because of how fast it is and how cheap it is, the frequency at which you can use the system is so much higher and therefore, it's a paradigm shift, in my opinion. Today's episode is going to be about this new system one model that just came out called Jev and we're going to talk about whether or not it's useful, how you can use it and where you might find it most productive for your businesses. We're going to start off with just briefly describing what Jev is versus an LLM and showing examples of how it actually works. We're going to talk about different small little things that they do behind the scenes, but I think most importantly, what we're going to get to talk about is examples of exactly how you can apply this and one interesting use case that Dextra came up with in the form of perhaps how you could build a coding agent that's a formed around like state transitions, which Jev excels at in classification problem. Now, it would pose the same agentic hardness problem in a state transition problem. We're also going to get to go pop into and see other examples of people using Jev. For example, on Replit, for example, to play Snake. we're going to go talk about how Steve pitched a new program in the language that uses Fields as a fun little toy example of how this could work and then go into talking about an actual real implementation of dot fields that shows you exactly how you can implement vibes for every single thing in there and build out like how you can feel for various types, variables, judge, feel and match examples using Jev as well.

1:50 But I think most importantly, this is just really nice work by the Type Safe AI team. If you haven't tried it, definitely worth trying out the model and let's get into describing what Dextra and I think about this problem. I have some really fun stuff to share today and I think today's episode is one that hopefully is not too surprising to anyone. I think hopefully it's one that people have been waiting to see. It's all about Jev.

2:13 Jev is this amazing model that came out just last week and I think one of the first questions we got on our Discord on text messages to both Dextra and I was like, what do we think about Jev? Is it good? Is it useful? Some of my friends who I would consider really good engineers were just like, I keep seeing this Jev thing. Is it actually real and like can I stop paying for Claude? Is it Is it something I should pay at night pay attention to on my radar? When it comes to Jev, the main thing that we really wanted to chat about is like we're going to try and give you a rundown like a of a couple of things.

2:45 One, what is Jev? Two, is it useful? Three, how can you use it and will it actually save your business money? In general, I'll give you my quick TLDR. So if you want to listen to this and leave right away, you can. My opinion is yes, it is useful. Yes, it can save you money. Yes, you should probably spend some cycles trying to make it trying to see if you get some value out of it for your team.

3:13 Dextra, what's your quick one sentence summary for Jev? >> Classifier go burr. I don't know. You need to be Jev maxing. I just I I think it's a really interesting I've gotten this advice from some people who have founded a lot of companies before and it's sort of like there is there is always alpha and like sitting near the frontier and just like oh there's this new technology that changes everything maybe is like if you want to go find awesome things.

3:41 Yeah, there we go. You found it. >> You need to be Jev maxing. That's right. >> When LLMs came out, the people who got the most incredible results out of LLMs, the people who are now running companies valued at 5, 10, 50 billion dollars are the ones who are just like "Yeah, no one really knows what this is for, but I'm going to try it in every single scenario that I can think of and see what it's good at."

4:03 >> When GPT first came out, we you were saying that the people that got the most value were the people that really tried in every single possible situation. And then >> Yeah, there's people who would Claude one who tried to build a coding agent. >> Yeah. >> And like yeah, Claude one sucked, but like it was a space where like hey, actually this could this is this like directionally this works and you want to be able to take the newest, earliest, dumbest version of this. Like this tech is going to keep getting better.

4:29 >> So >> You want to be able to take the newest, earliest, dumbest version of this and go do incredible things with it cuz then when the next model comes out, then Sorry. I There we go. >> >> You can't see my face, but you can still receive my memes. >> as we as we talk about Jev Maxim >> That's my two sentence take is go try new stuff and and and mess with it. >> Can we describe to you exactly what Jev does? I think that's a useful thing and then we'll go into use cases and interesting use cases. I think we both have examples that we ended up independently building to go do this.

5:05 So, I'll tell you my take on and tell me if you understand it differently. So, Jev is basically a thing that takes in a bunch of text. It does not take in images. It does not take in audio, video. It just takes in text. And then typically when you use an LLM, what you get out is you will typically get out something like a bunch of text back out. I guess like if you use multimodal LLM's, images or something. But this comes in the form of a token stream more so than anything else.

5:34 but in the case of Jev what they do and I'll respect them with their colors because they like their pink. there you go. >> Oh, that's true. That is It a pink model. >> I I will give them their colors. what when Jeff comes out, what they do is instead of a token stream, they just give you one of three options, which is they give you probabilities. So, instead of a proba- bilities. Okay, cool. That's spelled correctly. so instead of actually saying whether or not this is whether or not this is the next token, they just tell you whether or not the options you gave it are correct. And the things that they give you as an option are choices, nulls, and then what's the last one?

6:23 I actually forgot. >> Score. >> Score. Wait, really? What's the difference between Okay, well. This is not the one I've used as much. choices are basically a list of choices. So, like if you were to think about it in terms of code, I would think about choices as your standard enums, like unions of literals, like a enums, unions of literals, and other things like that.

6:57 and that kind of falls into a choice category. And when you ask for a choice, what Jeff will tell you is given given some choices and categories you've given it, what is the probability that you are going to get any of these? So, in case if you gave it the choices happy and sad, it's going to return to you like some sort of dictionary that says like happy happy like is 0.8, sad 0.2.

7:29 And it kind of gives you something like this. And the sum always adds up to one. And it kind of gives you some answer along that idea. Now, a null I'll let you continue. Anything you want to add to choices? >> No, just a very simple example of like if you were classifying text, you may get something like this. If it's like, you know, and and and what goes into here as well is is the instructions, right? It's like, you know, you can put in a bunch of natural language about, you know, you know, classify the text as happy or sad.

8:06 >> Yeah. >> Sad. And then you give basically the input is actually like a similar to, how Gamma works. You give it a structured input of like, you know, sad name, sad, description, etc. And so the model knows, because it's only outputting one option, or like the the the the the percentage chance for one option, and so it's like basically going to this this basically maps to one, one byte of of output, right? So your output token your the model's going to output like basically like and I guess I'm guessing this is coming straight from like log probabilities, but I actually haven't looked at the internals.

8:45 >> know how I haven't looked into how it works, but Yeah, exactly. I think the other way to think about this is like >> can control you have like this system you have the system instructions and then you have a description of each field, >> It's very kind of similar to like constrained decoding or other techniques, like SAP or anything else that we anyone does. You can think of this as just a way to constrain the model to only output certain tokens, and the only thing can output out of those tokens is a score that it has for each of these.

9:12 So, when it comes to a when it comes to a score category, actually we can just do the score one really fast. A score category is kind of similar, but instead of enums, you give it a score dashboard that says like, this is what score zero means, zero meaning, it's kind of like you giving a rubric, one meaning all the way down to like whatever score you want. Yeah, I just looked into this.

9:46 >> Will it interpolate between the num- numeric values? >> it. You guessed it right away. >> Like if you give it if you give it these okay okay cool. >> And then the output that they give you >> Fancy. >> is a weighted score. So they give you something like 7.8. And what and they have a great visual of this on their website so I'll just grab it from there. >> Yeah, let's pull that in. >> Let me put this in into the Excalidraw.

10:15 And what they're really doing here is they're getting the calculation of every single score. If you think about this, they're getting this calculation of every single score cuz it's the same thing as the enum thing where they give a probability. So every single score 0 1 2 3 and 4 gets a score probability and then they do the weighted average across each of these and this is what gives it to you. >> Okay. So you could naively implement score on top of choices but I'm sure they're doing some magic inside the model to make it more efficient or more accurate.

10:44 >> Nah, so actually it sounds like if I were to go >> Or is it just a API affordance because people don't know how to implement this? >> I suspect if I take the screenshot directly from the website, you guys will agree with me that it seems to be very straightforward and there's nothing fancy going on. it's just literally the weighted average of exactly what it's going to be and then the computa- confidence is computed by the probability spread across the levels. So I'm guessing they're basically measuring the variance.

11:18 And like the confidence is higher if there's less variance and the confidence is lower if there's if the scores are more even which makes sense. It's again a nice way I suspect to like >> A classic. >> It's a really nice abstraction, you know? >> It's a sum. Yeah. >> It's a really nice abstraction that so that you don't have to think about it. Yeah. Now you're >> Your API should have nice stuff for builders. >> Yeah, and your main job is to describe some sort of a linear scoring mechanism so that actually makes sense. Now, this is harder than you think. Most systems don't fall into this category.

11:50 but if you can describe your problem in this way, this is probably a great convenience API to be able to use. Now, while we're doing this, let's go talk about nuls cuz nuls I think are going to be the last thing that are that are worth discussing. Now, who's heard of the Have you heard of the word nul before? >> Did they make it up? >> I don't know actually if I'm going to be honest. They might have. Again, nul meaning. Oh yeah, I definitely cannot.

12:21 >> Let's ask Gemma. >> I did. Nul in Korean is the glowing red sky afterglow or the light after a sunset. She touched the child's nul to check for a fever. I guess top of head. So I think they did make it up. I don't think it exists as a word. >> It did. I mean, I'm sure they wanted to say null or like, you know, null null hypothesis type of thing, but null is taken in every language so they had to make up a new word just like I don't know, some languages invented the word nil. Like GoLang uses nil instead of null.

12:57 >> C C++ too. Actually, I don't know. I think it does. Maybe not. I think capital nil. >> I haven't written any code in a while. I don't know, I haven't written any code in a while. It's very sad. >> so a nul is basically what you say is you want to give it a You want to say you're using the type nul and you'll often pose a question. that >> you're seeing right now. You get a probability score of yes or no.

13:49 And you get a score of one to zero. Same with everything else. It tells you whether or not the answer is yes or no. In general, when you go look at a null over here, is there a null here? Bernoulli. I'll go check that with what we got in the chat. Null. Bernoulli's a null, but is is the Bernoulli distribution have a null on it? I don't think so. I'm command effing because this is going to be very fascinating if it doesn't.

14:15 Okay, it's just Bernoulli's a null. so, when we go look at nulls and we go think about this, you what you really want is you want to give it a choice. You either pose the question and you either say like true, false, yes, no. You basically give it a binary outcome of it has to pick one or the other. So, like heads, tails is another one. And then it basically gives you a probability for one of these two options. I suspect that they optimize differently for the Boolean scenario than they do for the arbitrary end scenario in which you have choices.

14:45 Cuz they are very similar problems. But this is the general scheme of what you're getting. Now, when you think about when you think about Jev, a couple of things is true. One, you have to recognize that like why why is Jev free? Well, Jev is free because why are output tokens in Jev free? Output tokens in Jev are free because they're literally only outputting one token. It's not worth billing for. It can't give you reasoning. It can't give you a sequence of text. It can't give you It can't help you write an email, but it can still do a lot of things that LLMs were previously used for with really good semantic understanding without having to really go to the beefier models behind the scenes. So, if you were previously using a model to output one token for maybe like your router agent or maybe like for another classification system you have you should probably go look at Jeff.

15:36 Your cost will almost definitely go down and I suspect your latency will as well. Anything you want to add in here, Dex? Why are Why are this before we go on to like the real practical applications of these? >> No, I mean I mean this makes sense. I am curious to hear how you are using this stuff and then I can share a weird experiment that I've been hacking on as well to turn Jeff into a tool calling harness for code search which is an absolutely an abuse of Jeff and did not get good results, but it was a fun thought experiment.

16:08 >> Yes, I also I went through an abuse of Jeff because I thought it was so freaking cool what you can do with it. I think the latency >> Jeff I mean it's very it's very BAML coded. Like if you've been coding in BAML and using structured outputs as the core building blocks of your program, then Jeff should be Yeah. >> I think the coolest thing for me personally when I tried Jeff was just the latency. I I mean I latency is like half the battle in so many different scenarios and I feel like so many people don't give it enough credit when they're trying to make their app faster because like they're trying to make it trying to use smaller models, they're trying to do something.

16:46 But holy cow, when you get that like when you get that latency level it is so freaking nice. So, I'm going to screen share and I'll show you some of the things that we did. When I got When I got to playing with Jeff, my first idea was how do you I mean there's this amazing tweet actually. First I want to show the tweet because I think this is If you haven't seen this can you all see my screen? Oh, you cannot see my tweet page. Let me stop sharing.

17:14 Let me screen share my my compu- my entire screen and show this instead. So, there's this really cool tweet that went around about about this probably programming language. I think someone at Cloudflare he made it and it's so freaking cool because what you could do is a syntax form where you could like get an email, get the input and then you could say if the email feels like it needs reply urgently with confidence 80% do this.

17:40 Otherwise, maybe do this. And what this is saying is something like if the email feels like it needs a reply urgently with really high confidence immediately do this. Otherwise, if it says it feels like it needs reply urgently but it's not high enough confidence then deal with this or like more than 50% confidence but less than 80% deal with the maybe. Otherwise, go to normal and fetch coffee. And you can do all sorts of thing. You can match. So, you can match on an email on a string. You can match on this string and you can basically go down those lists and see what you're doing.

18:09 And these are basically just what we did earlier. These are Jev API calls where this match gives all of these options over to the Jev API and asks it which of the which of these is the highest probability. And based on which of these is the highest probability, it then has another special code to thing for LLM go do the thing. So, I saw this thing and I was like this is pretty cool. I don't I I can't find the tweet for it. The tweet went semi-viral. I thought this is really really neat and I think what they were saying is this is a toy programming language.

18:38 So, I mean, we obviously built the language. So, I said what if you wanted to make this a non-toy language? What could you do? And I'll show you some images of probably before I go into the actual code. So, this is the thing that I said of what you could do. Oops. Okay. So, you could do the input thing and you can do just do dot feels and you can do dot feels urgent. If it does, then you just ask it to draft a reply.

19:00 And what's interesting here is you can do dot feels on effectively any variable that you ever write in your code base. Any variable of any type you can just do dot feels on it. Same with dot ask. But I think when it started to get really interesting for and really started doing this is like obviously you can one interesting thing about Jev that probably people don't realize is you can do like more complicated structured outputs on it.

19:21 So you can for example you could have class that has a bunch of stuff like urgent like an enum for what team you're trying to fill out your turn risk which is almost like a score and then a mood. And you can actually have four parallel Jev queries for the same input and just fill it out using the triage system because these are four independent Jev query. >> Oh. >> Yeah, you see how >> I was going to say okay cool so you and you would basically classify it on each of each of these fields as a separate call and now would you would you do the like sort of auto aggressive thing where you are like every time it makes a decision you're including that decision in the input to the next decision or would you just do these all in parallel?

20:02 >> So we do them all in parallel but you're right you could implement dot fill where instead you could pass on a parameter that here says dependence dependencies and you just say that these depend on each other so like dependencies dependent equals true or something. And you can modify this code to go do that. So instead of fill requiring this you could like do it in parallel or not do in parallel. And then you can do something else that's the way it gets implemented is like through this concept called interfaces. So if you've seen type shift interface very similar.

20:31 And what we just say is there's a vibes interface and you can implement vibes for every single type in the world that has ever defined and that means every single type now has a dot fields function. And dot fields just takes just takes the thing that you're to feeling like the feeling over here adds it to this prompt and calls this Jev system down below. So it becomes a really convenient way to build building blocks like this. So I wrote a function called grep with vibes.

21:03 And what grep with vibes does it takes a feeling it reads standard in and because it's on a toy language, you kind of have parallelism, you have everything baked in into it. And now you can just say spawn. So, right run all the feelings in parallel for every single line that happens and you just say for every line check the feelings of the feeling that's passed in. And then you just print out only the hits. So, you can say get log BAML run grep advice like it'd be scary revert. And this gets you all the PRs that would be scary to revert behind the scenes, which is stuff related to LG C, which you should not revert.

21:36 So, I found this to be a really interesting way to build and start composing programs. And that tweet really launched kind of an interesting exploration for me. Of like, how would software kind of feel these sword when you could just like vibe everything. So, I'll show the actual code here too really fast. >> And you guys have basically from from day one of the BAML programming language, even even BAML, you know, the the just inference client parser shape thing have been like cool, how does programming change when the things we're building are non-deterministic and what syntax do we need in that world? so, I'm excited.

22:20 >> All right, keep going. >> Yeah, I'll show you the read me. The read me is probably an easier way to look at the code. So, like we already went over email, right? So, email is like dot feels, you can feel the email and then you can ask. Ask is basically a way to ask an LLM to go draft something up based off of this request and this context. but if you go down, you get some other things. So, once you get the once you get past feelings, you can do it like how.

22:42 So, you can ask like dot how, which basically gives you a confidence level coming out of it instead. So, this is the score capability in it which with the confidence. >> Cool. >> You can do dot matches, which is really cool cuz you can say matches on this and you can just do judge against all these kinds. And each of these is >> And this will just give you whatever one scores the best, basically. >> Exactly. Exactly. And it's and it's type safe. So, you can't ever miss an arm. You're guaranteed to have all these available right here.

23:15 Now, what would be cool is I think this is possible. We haven't test tested this in the language, but I think you can backwards fill this. So, instead of having to fill it out here, I think you can fill it out here and this will basically just fill out the judge with the kind. So, I'll try this in the code really fast. You can do dot fill, which basically just uses reflection to go and fill the stuff out here.

23:33 >> Go ahead. >> You would want to basically have the match statement populate the the enum values, so you don't have to declare it twice. >> Exactly. And I think our our type checking should do that, but we can check that really fast. enum over here is basically just like filling out the class, like I showed earlier, where it's like an enum plus bool plus floats. This feels really nice, but because again, this works on any type, you can even do like run on numbers there, like this feels like a suspiciously round number, 137, and then this this doesn't, according to the model.

24:08 You get dot asks, which so what Jeb does over here is ask is a way to actually use a generative model. So, you can say ask it to draft an email here. And I think what the most interesting thing about this is the loop set. >> And that's just that's just like a syntac- that's just like a syntactic sugar >> the syntax. >> it's just like a method on the thing that would call it with an LM client, and you would have some default LM client either assigned to the object or as a global or something, right?

24:37 >> That's literally what it does right here. So, you can see like we have this dot ask. if I go scroll down, ask is literally just a thing that goes to writer client, which is just mapped to Claude on it five and your Entropic API key. reply and it just does something really, really simple. It doesn't do anything fancy over here. go back to the preview. >> Okay, so you can actually in the language you can implement that ask however you want. This isn't even a language feature. This is just a you implement an interface with the custom fire and LM or whatever.

25:07 >> Exactly. So nothing I showed here is a language feature. It's just built on top of the language. And then you get to do all sorts of things which is kind of nice which is like you can say like hey while the draft feels full of corporate jargon, keep rewriting the draft. And when you start thinking of code in this way, it actually reads really elegantly. And I think this is what I realized about like the why the tweet probably went really viral is cuz what Jev really enables is this stuff is no longer like it's no longer as prompty as it used to be. It's no longer as slow. Like the loop here goes from like this plus this basically my bottom line being like two LM calls to basically my bottom line being one. And this one feels invisible relative to this one. So I don't even notice that it's happening.

25:54 And then obviously you get concurrency and a few other things behind the scenes and like it just gets implemented if you've ever used Rust or something else, it's implemented what's called a blanket implementation. Which says every single type in the world that is ever defined automatically gets the vibes class category of methods applied to itself. So you never have to re-implement anything from scratch. So every various >> need technically you would you would you would only be able to implement this for things with a two string method that could be put into a prompt, but that's pretty much everything. And I guess like if you have multimodal, you can even have things implement the like two prompt method so that you could put an image or something.

26:34 >> two string built in and dot two JSON and I think most and we have a way to do dot two prompt as well, but that's not as exposed right now. But anyway, if you want to play around with this for an image, you don't actually put the raw bytes in the prompt. You like attach it as base 64. But anyway, if you want to play around with this for an image, you don't actually put the >> I guess for an image, you don't actually put the raw bytes in the prompt. You like attach it as base 64 or something, right?

26:55 >> Exactly. So, you have to do something a slight different. and then there's some optimizations around there that make it slightly easier. Anyway, if if you guys want to play around with this repo, I'll give you the repo. I think it's called boundary.ml/feelings. this I think works in the latest Canary. Doesn't need anything else. so, I'd be curious to see what people's thoughts here are while they play around with it. How do I share? Screen. I'll drop in the chat.

27:23 But, that was kind of my biggest learnings when I start started playing with this. Like, the way that you write code gets a lot cleaner behind the scenes. when you start using the Jeb model for classification, like the speed is insane. Being able to like just like quickly filter through my Git logs or being able to turn like Jeb basically into a CLI command that I can just execute at any given time, that was so freaking cool.

27:46 by default. But, what about you, Dex? What have you been playing with? >> Yeah, so if you scroll down here, basically, the idea was you have we we play with like code search a lot because one of the things that I think Human Layer does really well is like gets you all the context you need to then, you know, seed future sessions with the right things in the code base and research from the web and stuff that is relevant to what you're building.

28:13 and so, you have a code base and you know, you have like source apps and you have like repo, you know, app one app two and then here you have, you know, components interfaces, whatever. You have like a crap ton of You just have like, you know, let's say I think Human Layer code base has something like 3,500 files or something. Not crazy. but, the idea was basically you would give you would you would build sort of a tool calling harness where you would say like, you know, you would start with here's the question.

28:53 What's the next action? And basically what the harness is going to do is give you options that are like read dir dir name. So like in a in a normal model So like this would be like read dir apps, read dir you know, packages, let's say. >> Yeah. >> so you're basically giving it I know the model is not RL'd on any gigantic work. so it was like and then it's like read file components slash whatever. And so basically you would basically take, you know, look at this list of all of the options you could take and you're basically traversing the graph of the code and then you know >> I mean, yeah, if you take the if you take the Jeff philosophy, it's basically the it it it's a state transition model. It gives you the next state if you can define the state in that way and I think what you're saying is you can break a coding agent into a finite state transition model.

29:59 >> Yes. and so your state accumulates like >> Yeah, that's really cool. >> files read. >> Yeah. And then like what do I do next? >> say, you know, here's the action so far of like here's all the things that you've done. And then the next option is, you know, again, you the the tricky part here is one, this part of it your maximum for the prompt, I think that it's like 32K input tokens. >> For now, yeah.

30:28 >> For now. And I think the number of max options are basically I think it's like 255 options. which means you actually like we we usually limit the number of input files to about 80 since there's like a couple different options on each one. So, what happens in the harness is in between all these loops, the harness's job is to sort of read what's actually in the code base and then decide basically what what should the set of next actions be.

31:06 And that's where you can get some really interesting like basically there's a whole bunch of like deterministic >> I mean this is in the diagram >> ranking >> in the diagrams that you've talked about, this is basically those this is like the determine next step step, right? So, you got like what's a determine next step and like the determine next step is an enum list. The only you know where I think LLMs are going to shine a lot more though?

31:34 Actually, go ahead. I'll continue. >> Yeah. It was so I mean like the only difference is like with an LLM you say, "Okay, the next step." And the LLM can generate it's going to pick the like function type. This is going to be pick function like read file and then it like generates the arguments. So, you have infinite >> Exactly. >> options for file name. The LLM can pick whatever it wants, whereas like with with a you know classifier model, shaped model, a system call it a system one model is the generic term.

32:08 all you have is the function name. You say you can't send arguments, so it's like read file apps/ function and then your other choice would be you know reader packages. So, you basically have to assemble somehow with an LLM or just like infinite little Jev calls to do the sorting and reranking and stuff. I mean, you can you can basically do this deterministically or you can like wire up Jev to do the deciding what the list of tools you expose, but you only get, you know, one bite worth of worth of tools. You get about 255 options.

32:52 And so you have to get really clever with how do you like split things up and search them and rearrange them? And I'll I'll post a couple screenshots of like what we ended up doing. >> This is >> Let's see if we can get them. >> while you do this, I'm actually curious about a while you look at that up. I think what's really interesting about these like system one models and like outputting some of this stuff is like most problems, like for example, if you think about like self-driving cars, they're very much more so >> Yeah.

33:21 >> a system one model problem than an LM problem. Cuz at any given time, you're not really outputting infinite states. There's only so much machinery that you have to output and then you kind of want to output like the scale of that. Like how hard do you press the accelerator? As opposed to do I >> is >> Go ahead. >> Yeah, I was going to say, have you seen the like Jev plays snake animation? Do you want to pull that up?

33:45 >> I I don't know if I have the animation, but like Jev is particularly great at like video game simulations. That's why I think partly why they went viral. Because like it's such a nice visual thing, but like video games >> action space. >> Exactly. Exactly. they have the video they just don't have that many things to do. So I given that given the current state representation, given the action state, you can go to the next state.

34:05 And it poses a problem really well. So personally, I think >> Go go click the link I put in the chat and pull that up. >> Let me pull it up. I was going to say public chat. Exactly. You can see exactly what it's trying to do because like it probably knows exactly what it has to do at any given time. >> And I think >> four next next options. >> Yeah. >> Basically, you can go up, down, left, or right.

34:29 >> The thing that this shows me, by the way, is that Jeb is actually an good reasoning model. Like it's if it's able to play snake for this long and keep the length going up, it is doing some kind of reasoning on top of it that is like quite good. But I suspect what it's still I I mean like because of the context it looks like they only have 1K context. That's interesting. No way. Oh, no, it's an open source. This is a Llama thing.

34:55 this is like an open source Jeb. My suspicion is in general all the >> a it's a application of the same thing. >> Exactly. My suspicion Actually, I have a totally separate question for you. I think hopefully at this point people have gotten the general vibes of like Jeb is a useful model. You guys should try it for your use cases. I think actually we're going to I'll share another tweet that's actually that John just posted about this recently. He's over Replicate.

35:21 And I think he talked about this too where he's like where did he go? Oh, he just posted about it recently. Right here. they tested Jeb for their growth engineering team and like boom, 90% accuracy on top of versus a 50% LM baseline and it ran eight times faster. I think like it clearly didn't work for all use cases for them, but it did work for enough that it they're definitely re-evaluating it. So like companies like Replicate, a bunch of other companies have been tweeting about this all over Twitter.

35:50 Definitely take the time and spend like a couple hours of your team's time, run the eval benchmark and just see if it makes sense. And like use your favorite way to call Jeb. It doesn't really matter how you call it. But I have a meta question for you before we close it out so we can both I can go on my vacation and you can go off and get your flight really fast. Is every model company going to produce a Jeb?

36:09 >> I mean it's already kind of happening. Like the the wave on Twitter from the smart AI people who know a lot about serving inference have pointed out that like you can do this with any model and get comparable results and do the same optimizations with SG Lang or something for most small models. so it's I'm sure Jev is probably, you know, going to be like a Claude or an open AI where it's like there's a lot of lot put into it. And so, it is going to be like the frontier and people will be willing to pay frontier dollars to get 10% or 20% better performance.

36:46 But that like I think I don't know if every model company will create a Jev like a custom built model for this. but I'm sure yes, there will be like a specific end points. If if developers really like this pattern, they start adopting it, and they want it in their software, there will be the same way that Jev gives you like three different ways to ask it the same basic shape of question. I think every model company will have like a GPT whatever classifier GPT Jev or whatever whatever whatever the name system one model for these fast decisions, so you can get a super optimized thing.

37:25 For that shape of work. >> Yeah, I think one of the things that we were talking about on our team was like this is a new class of this is a new way to think about problem-solving in a way that probably most people if you've been doing constraint decoding, you've been doing structured outputs, you might have thought about problems this way. But the speed and the latency wins are insane and that again changes the way that changes what's possible.

37:49 Like because of how fast it is the freak and how cheap it is the frequency at which you can use the system is so much higher and therefore it's a paradigm shift in my opinion. and Type Safety AI team has really outdone themselves. >> Yeah, I think this is an interesting pattern we see coming up throughout the history of like LLM development. Like when when transformers were first kind of pitched in 2017, like basically like the hardware and the software have like in the models have evolved together. Like transformers picked up because it was like GPUs were very well suited to run them and then GPUs picked up because they're really good at running LLMs and these things kind of evolved together. And I think this is just like one more step in that evolution of like people being people seeing LLMs and then saying, "Oh cool, here's the types of problems that I can solve with LLMs." Which was basically like structured output and tool calling in the GPT-3 days. And then the infrastructure and the model providers basically evolved their systems to make tool calling a very first-class thing and you got constrained generation and you got better tool calling because that was the things that made for really good applications and software. and so like very visionary from the from the TypeChat team to say like, "Hey look, this classifier thing is actually like going to be really useful in lots of different applications. Let's create a model that's super optimized for that.

39:10 More applications will adopt that as like a standard pattern and then the ecosystem will evolve and probably even the hardware. Someone's going to go make a Jev chip the same way people in you know, Grok and Cerebras were like, "Oh, let's make a chip designed for LLMs back in 2016 or whatever." >> Yeah, I agree. I agree. I mean like Yeah, if you're outputting one token like suddenly the way that you process tokens is probably different and the way you run inference is definitely different. What are the risks of embedding Jev directly into the code if there's no fallback?

39:40 when you say embedding Jev directly into the code, you can think of it a couple different ways. It's almost like using a small model like what Dexter says. If you use a small model, yes, at some point the model will get something wrong and you kind of have to build a harness around it to go track for that. So if you're building like a voice AI agent, we often talk about this. Where your voice AI agent is going to have a very fast agent loop in the beginning and you want that to be fast and perhaps not as correct. But then you build a watchdog agent that watches the context window of your main agent to see if it's wrong and if it's ever incorrect, it injects some code in there to go ahead and actually go steer that model correctly.

40:19 So, it's more about just building it It's the same stuff that we talked about agentic engineering harness engineering. You're going to have to build code to deal with the fact that it might be completely wrong because it is a smaller model. Smaller model means faster, means cheaper, but it also means sometimes not as correct. Redrawn, do you have a question? How do you define a Jeff client in BAML? This one's actually quite easy. All you do is you just define a Jeff client as the following. You just say Jeff is from the We ship a type save AI package. You just define a client, you define the model, and you define the API key. And now you can just use the Jeff client for this, and it automatically understands that certain types like bools, floats, classes of some kind or union literals automatically kind of just map under the hood, and the Jeff client implements it we're using reflection for your types to make it work so you don't have to go think about it. Have we explored the Llama as an OSS alternative to Jeff? I personally have not played with Llama. Dex, have you had the chance to go do that?

41:21 >> No, but there's already like a hundred recipes for doing this. So, like I'm sure they're all various amounts of quality. If someone jumps up and says, "Hey, this one's the winner, and it's the best way to do it." I'll play with it, but for now I'm I'm content with understanding the pattern and exploring the the how you build the harnesses and the clients and the the the logic around it is the more interesting part. And like once you have that right, you can build an eval, and then you can swap in all the different implementations.

41:48 >> Yeah, I think Dexter and I in general fall into that category where we're not always looking for like trying to like model max per se. We're mostly looking to like design max. How do we maximize the software design principles around these new releases that came out. Bruce, you got a question. In the BAML clients, can we get a full probability of all the options? My use case is multiple options, and not just the single best. Yes, you can. if you ask Claude to go check it out, you should be able to go do that pretty easily. Claude will just ask Claude to describe how to use the Java client to get the probabilities out of it.

42:24 And it should make it possible. I think that's all the questions we've got in the chat today. If you've got any more, let us know. we're always live on Twitter or on Discord for us. But otherwise, thank you for joining.

Summary

The podcast discusses the newly released Jev model, which offers a fast and cost-effective alternative to traditional large language models (LLMs) for specific tasks, particularly in classification and structured outputs. The hosts explore its capabilities, potential applications, and how businesses can leverage Jev to enhance efficiency and reduce costs.

- Jev is a new model optimized for speed and cost, focusing on structured outputs rather than generating extensive text.
- It operates by providing probabilities for predefined choices, nulls, and scores, making it suitable for classification tasks.
- The model's efficiency allows for higher frequency usage, representing a paradigm shift in problem-solving approaches.
- Practical applications discussed include building coding agents and using Jev for game simulations, such as playing Snake.
- The hosts emphasize the importance of experimentation with Jev to discover its utility in various scenarios.
- Jev's architecture allows for parallel processing of multiple queries, enhancing its performance in coding and classification tasks.
- The model is particularly beneficial for applications requiring quick decision-making and low latency.
- The conversation touches on the potential for other companies to create similar models, indicating a trend towards specialized, efficient AI solutions.

Questions Answered

What is Jev and how does it differ from traditional LLMs?

Jev is a new model that offers fast and efficient problem-solving capabilities without the need for larger models. It allows for high-frequency usage due to its speed and low cost, marking a paradigm shift in how tasks can be approached.

How does Jev generate output and what are its scoring mechanisms?

Jev outputs tokens based on log probabilities and can be constrained to output specific tokens. It uses a scoring system that allows for weighted outputs, providing a score based on predefined categories.

What are some practical applications of Jev in programming?

Jev can be used in a toy programming language that allows for conditional actions based on confidence scores, such as determining the urgency of email replies. This showcases Jev's ability to handle complex decision-making tasks.

How does Jev improve performance compared to traditional models?

Jev reduces the number of model calls required for tasks, leading to faster execution times. This efficiency allows for smoother interactions and the ability to handle more complex tasks without noticeable delays.

What results have companies seen when implementing Jev?

Companies like Replicate have reported a 90% accuracy rate with Jev, significantly higher than the 50% baseline of traditional LLMs, while also achieving faster processing times. This indicates that Jev can be a valuable tool for specific use cases.

© transcribe · For agents Built with care and craft by Gokul Rajaram