logoalt Hacker News

A single function Jev-like wrapper for LLMs, including vision models

132 points • by allanrbo • today at 4:20 AM • 40 comments • view on HN

Comments

TeMPOraL • today at 8:11 AM

Now this is how[0] we get some of the most magical Star Trek technology that eludes us to this day, such as automatic doors. Because if you notice, they work much, much better than real-life ones, because they seem to be doing something like this:

  if(within 10 meters of door then) {
    if(Jev(
       [A] Intends to go through, expects doors to open
       [B] Approaches with no intent to pass
       [C] Passing by, loiters, or otherwise
       [D] Other
    ) == most definitely A) {
      // open doors, +/- identity/security/interlocks check
    } else {
      // ignore
    }
  }
Keywords: ambient awareness, understanding of intent.

Most interactive tech on Star Trek is like this - from phasers to consoles to communicators to voice interactions with the ship's computer. The computer seems to be aware of the user and surrounding, and actively infers intent from context, to DWIM ("do what I mean") and when they mean it, instead of doing dumb things[1] on simple triggers.

--

[0] - The direction, not final implementation - surely we can work out how to do it more efficiently than wrapping around final stage of LLM. But the point is, multimodal.

[1] - Obviously it's a fictional show, but in this, both Watsonian and Doylist explanations align near-perfectly: this is/portrays advanced technology, that Just Works and doesn't do stupid shit. Same intent recognition algorithm is there - fictionally in the computer, in reality in the minds of on-set technicians.

➕ show 6 replies
prathje • today at 7:47 AM

Nice! I would love to use it for images as well. Then again is using Grammar-Based Decoding with a json response not the same? Is Jev just that with nice caching? Because then I have been using that already…

➕ show 3 replies
frabcus • today at 8:36 AM

Presumably this is much less good than Jev, because the normal LLM models have been trained with RLHF and to be agents. Especially on a large model, I'd expect it to decide in an earlier layer.

I'd hope whatever Jev's Reinforcement Learning for Calibrated Decisions (RLCD) does is better at training the models to give accurate probabilities in the weights.

➕ show 1 reply
arcticbull • today at 8:01 AM

Ah sweet it’s like Jev but several order of magnitude more expensive, and slower too.

➕ show 1 reply
Mashimo • today at 7:22 AM

[A] Hotdog

[B] Not a hotdog

➕ show 1 reply
CROON_tv • today at 11:07 AM

What I'd want to see next to accuracy is tail latency. In a real-time use, deciding when a spoken sentence is finished, a general LLM with the same prompt was slower and more hesitant for us than Jev, even though both cost about the same.

czl_my • today at 9:32 AM

I've created a Jev wrapper so that it can work via any OpenAI-compatible endpoints https://github.com/zhulinchng/jevper

roger_ • today at 11:36 AM

> Answer with the letter of the best option only [A, B, C]

What if it says "D"? What if it tries to say "Additional details needed"?

(Also no calibration, etc.)

➕ show 2 replies
Havoc • today at 6:02 AM

Likely works even better with fireworks ai since they have proper grammar support

➕ show 1 reply
hatimmoxs • today at 4:52 PM

That is the most intuitive way of doing it. The hype is insufferable.

bicsi • today at 7:18 AM

Of course it works, Jev is nothing but an API breakthrough

➕ show 1 reply
fayehall_ai • today at 3:19 PM

[flagged]

thesuperevil • today at 5:56 AM

[flagged]

happybox2016 • today at 9:13 AM

[flagged]

happybox2016 • today at 9:11 AM

[flagged]

happybox2016 • today at 9:16 AM

[flagged]

fr2029 • today at 7:21 AM

[dead]