๐Ÿฅ‘ Yet Another (AI) Yuval (@YuvalinTheDeep) header
๐Ÿฅ‘ Yet Another (AI) Yuval (@YuvalinTheDeep) profile picture

I simplify complicated things, and complicate simple things. (Dev) Advocate as a Judge (at @AI21Labs)

Joined April 2022
Photo by ๐Ÿฅ‘ Yet Another (AI) Yuval (@YuvalinTheDeep)Photo by ๐Ÿฅ‘ Yet Another (AI) Yuval (@YuvalinTheDeep)Photo by ๐Ÿฅ‘ Yet Another (AI) Yuval (@YuvalinTheDeep)Photo by ๐Ÿฅ‘ Yet Another (AI) Yuval (@YuvalinTheDeep)Photo by ๐Ÿฅ‘ Yet Another (AI) Yuval (@YuvalinTheDeep)Photo by ๐Ÿฅ‘ Yet Another (AI) Yuval (@YuvalinTheDeep)Photo by ๐Ÿฅ‘ Yet Another (AI) Yuval (@YuvalinTheDeep)Photo by ๐Ÿฅ‘ Yet Another (AI) Yuval (@YuvalinTheDeep)Photo by ๐Ÿฅ‘ Yet Another (AI) Yuval (@YuvalinTheDeep)Photo by ๐Ÿฅ‘ Yet Another (AI) Yuval (@YuvalinTheDeep)
How do developers actually use coding agents? 7 weeks & 4k+ turns of real developer traffic, classified by category. Held up against public coding benchmarks, my colleague Eli Lepkifker (from @AI21Labs) found a real difference across: - Task type: Confirmations, redirections, git commands, and pasted context make up about 40% of real developer turns but appear in almost no public coding benchmarks - Task difficulty: Not every question is a complex, multi-file architectural issue. Sometimes it's just, 'Why don't I see my changes in git status?' Public benchmarks over-index on the former. - Task context: Public benchmarks tasks are clean, 1k characters messages. Real developer messages are...not. We found they avg 80 characters, are sent mid-session and 60% contain more than one distinct task.
2
1
2
197
There's one question you should ask before you build an agent. Most people skip it (and pay for it in compute). Over a year of agent research at @AI21Labs across deep research, RAG indexing, agentic search and coding, and it comes down to this: can a candidate answer be checked against anything? Property of the task, not of your model. The answer is yes? Verify, then commit to one. No? Run varied attempts and combine them. >>
1
1
1
6
1,073
Agentic search: Yes. In this task, the question spells out what the answer must satisfy, and the answer is one entity. So you can check a candidate, and checking is much easier than finding. That turns it into a picking problem. Run the agent many times and the right answer usually shows up somewhere. But that assumption wasn't always right: most of the time, the architecture was the problem. And when that's the case, you have to get more creative in your solution. In some cases, the way to pick is almost โ€œfreeโ€: the model's own confidence. That got us SOTA on BrowseComp-Plus. But small models are often wrong and confident at once, and when several make the same mistake, voting picks it. So on FACTS-Search we trained an 8B model to re-check each answer from scratch and throw out the wrong ones before the vote. Frontier-verifier quality, 3.2x cheaper. >>
1
2
50
My talk from @aiDotEngineer SF is up! While everyone moved on to agents, somebody still has to take care of the chunking. One window has to serve โ€œwhat is Xโ€ and โ€œwhy did X happen.โ€ It canโ€™t. Small cuts the reasoning, big buries the fact. So stop picking one. youtu.be/r9OwPx_HoV0
1
1
7
16,729
1/ Your agent already found the right answer, but your aggregation threw it away. Across every generator we tested (weak and frontier, open and closed), pass@k surpasses pass@1. Correct answers are routinely in the pool and just not selected. The binding constraint isn't answer generation, it's selection. (Work by @AI21Labs)
2
3
1
13
20,285
2/ We often turn to majority voting for a solution, but it cannot overturn a popular wrong answer. When half the pool confidently repeats the same wrong entity, voting doesn't filter the error, it certifies it. Weak pools fail this way most, because correct answers are rarer to begin with.
1
2
191
RAG isn't dead, and there's still a lot to say about it :)
The best RAG systems don't retrieve what they embed. When we talk about RAG, it's usually thought: index the doc โ†’ retrieve the same doc. But indexing โ‰  retrieval So the data you index doesn't have to be the data you feed the LLM during generation. Here are 4 smart ways to index data: 1) Chunk indexing - Split the doc into chunks, embed, and store them in a vector DB. - At query time, the closest chunks are retrieved directly. This is simple and effective, but large or noisy chunks can reduce precision. 2) Sub-chunk indexing - Take the original chunks and break them down further into sub-chunks. - Index using these finer-grained pieces. - Retrieval still gives you the larger chunk for context. This helps when documents contain multiple concepts in one section, increasing the chances of matching queries accurately. 3) Query indexing - Instead of indexing the raw text, generate hypothetical questions that an LLM thinks the chunk can answer. - Embed those questions and store them. - During retrieval, real user queries naturally align better with these generated questions. - A similar idea is also used in HyDE, but there, we match a hypothetical answer to the actual chunks. This is great for QA-style systems, since it narrows the semantic gap between user queries and stored data. 4) Summary indexing - Use an LLM to summarize each chunk into a concise semantic representation. - Index the summary instead of the raw text. - Retrieval still returns the full chunk for context. This is particularly effective for dense or structured data (like CSVs/tables) where embeddings of raw text arenโ€™t meaningful. Once you've decided what to index, the next question is how efficiently you can store it. Every strategy above multiplies your vector count, sub-chunks, questions, and summaries all add embeddings on top of the originals. Binary quantization is an effective solution to this. It shrinks each vector by up to 32x while keeping retrieval quality intact, so smarter indexing doesn't blow up your memory budget. We wrote a full article about it recently. Read it below. ๐Ÿ‘‰ Over to you: What are some strategies that you commonly use for RAG indexing?
110
1/ "Agent" is becoming a meaningless word ๐Ÿคจ Every LLM pipeline is suddenly "agentic." Every wrapper is an "agent framework." The word has been stretched until it broke.
1
1
7
646
2/ I spent an hour with @BarakLenz, CTO at @AI21Labs, and one thesis kept coming back: we're not building agents. We're building an AI Operating System. An OS manages resources, tracks what's running, and decides when to spawn or kill work. That's the bar.
2
2
9
539
Parallel writes are becoming the real bottleneck, and it's nice to see it in CC
Introducing: built-in git worktree support for Claude Code Now, agents can run in parallel without interfering with one other. Each agent gets its own worktree and can work independently. The Claude Code Desktop app has had built-in support for worktrees for a while, and now we're bringing it to CLI too. Learn more about worktrees: git-scm.com/docs/git-worktreโ€ฆ
1
66
Tuning the chunking phase in RAG systems is notoriously difficult, and the feeling is that there's no "optimal" chunking method. Can it be that different queries just need different chunk sizes, even over the same corpus? (Work by @AI21Labs) >>
1
3
14
1,907
We tested this with "Oracle" experiments across multiple benchmarks: - Index the corpus at several chunk sizes - Let an oracle pick the best size per query (with ground truth) Result: 20-40% better recall than ANY fixed chunk size. The optimal choice is query-dependent. >>
1
1
7
1,013
We just released Jamba-Instruct! Built from our groundbreaking SSM-Transformer Jamba architecture, Jamba-Instruct brings the same technological innovation to the enterprise via an aligned model. With leading quality benchmarks, a 256K context window, and the most competitive pricing in its size class, youโ€™re getting the most value for your money. Read more in our blog: ai21.com/blog/announcing-jamโ€ฆ (1/4)
6
304
In the face of terrorist attacks, some people choose to "stand with both sides". There is no doubt that Hamas is a terrorist organization that is worse than ISIS. Proud to work at @AI21Labs
In a month I was supposed to give a keynote at @WebSummit Lisbon. I will not. Itโ€™s bad enough that summit CEO @paddycosgrave didnโ€™t see fit to express horror at the sickening atrocities committed by Hamas on October 7th.
8
274
ืื ื™ ื™ื›ื•ืœ (ื•ื›ื ืจืื” ืฉืืขืฉื” ืžืื•ื—ืจ ื™ื•ืชืจ) ืœื›ืชื•ื‘ ื—ืคื™ืจื” ืขืœ ื”ื”ืจืฆืื” ื”ื™ื•ื ื‘ื›ื ืก #GenML, ืื‘ืœ ื–ื” ื”ืกื™ื›ื•ื ื”ื›ื™ ื˜ื•ื‘ ืฉื™ื›ื•ืœ ืœื”ื™ื•ืช
Replying to @meowbooksj
Next - @AI21Labs : What do folks do in production with vectorDBs
2
284
ืื ืžืชืขืœืžื™ื ืžื›ืœ ื”ืกื—ื™ืื“ื” ืฉืงื•ืจื™ืช ื‘ื”ืชื—ืœื” ื–ื” ื“ื•ื•ืงื ืื—ืœื” ืฉืœ ื•ื™ื“ืื•
ื›ื•ืœื ื• ืฉืžืขื ื• ื›ืžื” ChatGPT ื”ื•ื ืžืขื•ืœื” ๐Ÿคฉ, ืื‘ืœ ื”ื•ื ืœื ืžื•ื“ืข ืœื“ืื˜ื” ืขื“ื›ื ื™ ืžืขื‘ืจ ืœืกืคื˜ืžื‘ืจ 2021. ืœืžืฉืœ, ื›ืžื” ื™ื•ื–ืจื™ื ื™ืฉ ืœื•? ื›ืžื•ื‘ืŸ ืฉื”ื•ื ืœื ื™ื“ืข ืœืขื ื•ืช ืฉื™ืฉ ืœื• ื›ื‘ืจ ืžืขืœ ืžื™ืœื™ื•ืŸ ื™ื•ื–ืจื™ื... ื‘ One Shot Learning ืื ื™ ื• @YZeldes ื”ืื— ื‘ืื ื• ืœื”ืชืžื•ื“ื“ ื‘ื“ื™ื•ืง ืขื ื”ื‘ืขื™ื” ื”ื–ื•
4
3
1,044
The next generation of language models from @AI21Labs is going to be wild, and Grande-v2 (temp name, obviously) is just the start ๐Ÿฆ–
Announcing Holistic Evaluation of Language Models (HELM) v0.2.0 with updated results on the new @OpenAI, @AI21Labs, and @CohereAI models. HELM now evaluates 34 prominent language models in a standardized way on 42 scenarios x 7 metrics.
2
6
23
1,167
It's finally out! You can now deploy your own private instance of #ai21studio large language models using #SageMaker. Perfect solution for those with higher privacy demands
Our Co-founder & Co-CEO @origoshen kicking off @awscloud #reInvent2022 with an exciting announcement: you can now deploy our LLM Jurassic-1 on your private SageMaker environment!
7
ื™ืฉ ืœื ืžืขื˜ ื‘ืขื™ื•ืช ืฉื ืžืฆืื•ืช ืชื—ืช ืžื˜ืจื™ื™ืช ื”-NLP, ืื‘ืœ ืœื ื›ืœ ื”ื‘ืขื™ื•ืช ื”ืŸ ื‘ืื•ืชื• ืงื•ืฉื™, ื•ืกื™ื›ื•ื ื˜ืงืกื˜ื™ื ื–ื” ื‘ื™ืŸ ื”ืงืฉื•ืช (ื’ื ืœื‘ื ื™ ืื“ื). ืžืฆื“ ืื—ื“, ืฆืจื™ืš ืœืฆืžืฆื ืืช ื”ืื•ืจืš ืžืฉืžืขื•ืชื™ืช (ืื—ืจืช ืœื ืขืฉื™ื ื• ื›ืœื•ื), ื•ืžืฆื“ ืฉื ื™ ืืกื•ืจ ืœืคืกืคืก ืฉื•ื ื“ื‘ืจ ื—ืฉื•ื‘ (ื•ืคื” ื™ืฉ ื’ื ืฉืืœื” - ืžื” ื—ืฉื•ื‘? ื–ื” ืชืœื•ื™ ื’ื ืžื™ ืงื•ืจื?) >>
Replying to @urieli17
ื›ื™ text summarization ื–ื” ืคืืงื™ื ื’ ื‘ืขื™ื” ืงืฉื” ื•ืœื ืžื•ื’ื“ืจืช. ืงืฉื” ืœืืกื•ืฃ ื“ืื˜ื” ืกื˜, ืงืฉื” ืœืงื‘ื•ืข ื”ืฆืœื—ื” (ื›ืœ ืื—ื“ ืžื’ื“ื™ืจ ืžื” ื–ื” ืกื™ื›ื•ื ื˜ื•ื‘) ื•ืžืขืœ ื›ืœ ื–ื” ืงืฉื” ืœื™ืฆื•ืจ ืžื•ืฆืจ ื˜ื•ื‘ ืกื‘ื™ื‘ ื–ื”. ืœืžืฉืœ, ื’ืจืžืจืœื™ ื ื™ืกื• ืขื ืžื™ื™ืœื™ื ื•ื–ื” ื’ืจื•ืข. ืžืžืฉ ื’ืจื•ืข. ื’ื AI21 ื‘ื“ื™ื•ืง ืฉื—ืจืจื• ืืช ื”ื™ื›ื•ืœืช ื‘-API ืฉืžืกืงืจืŸ ืื•ืชื™ ืœื‘ื“ื•ืง ื•ื ืงื•ื•ื” ืฉื”ื™ื ื˜ื•ื‘ื”.
1
2
19
ื–ื• ื”ืกื™ื‘ื” ืฉื‘-@AI21Labs ื™ืฉ ืœื ื• ืงื‘ื•ืฆื” ื™ื™ืขื•ื“ื™ืช ืฉืขื•ื‘ื“ืช ื‘ื“ื™ื•ืง ืขืœ ื”ืžืฉื™ืžื” ื”ื–ื•: ื™ืฉ ื“ื‘ืจื™ื ืฉืงืฆืช prompt engineering ืขื“ื™ื™ืŸ ืœื ืคื•ืชืจื™ื ื›ืžื• ืฉืฆืจื™ืš. ื‘ื™ืžื™ื ื”ืื—ืจื•ื ื™ื ื”ื•ืฆืื ื• API ื™ื™ืขื•ื“ื™ ืœืžืฉื™ืžื” ื”ื–ื• (ื•ื”ื•ื ื›ืจื’ืข ื‘ื‘ื˜ื ื•ื‘ื—ื™ื ื, ืื– ื‘ื›ืœืœ ืืคืฉืจ ืœื”ืชืคืจืข!). ื›ืš, ืœืžืฉืœ, ืื ืืชื ืจื•ืฆื™ื ืœื‘ื ื•ืช ื‘ื•ื˜ ืฉืžืชืžืฆืช ื”ื•ื“ืขื•ืช ื‘ืกืœืืง, >>
1
4
1/n LOVE @wordtune? Want to enable your users the same experience? Now you can! Introducing Rewrite & Summarize API - specialized APIs that are specifically designed to tackle paraphrasing and summarization tasks. All it takes is a simple integration!
4
4
1
13
2/n Enable your users the best writing experience with the Rewrite API - turn every sentence into a well-crafted and creative catchphrase. Give it a try in the playground: shorturl.at/dAT07
1
ืื– ืืžื ื @AranEfrat ื˜ื•ืขื ืช ืฉืžื•ื“ืœื™ ืฉืคื” ื’ื“ื•ืœื™ื ื”ื ืžืฉื•ืจืจื™ื ืœื ื˜ื•ื‘ื™ื (ื•ืืคื™ืœื• ืžืจืฆื” ืขืœ ื–ื” ื”ื™ื•ื ื‘-#techradarcon!), ืื‘ืœ ื–ื” ืœื ืื•ืžืจ ืฉื”ื ืœื ื™ื›ื•ืœื™ื ืœื”ื™ื•ืช ืžื—ื•ืœืœ ืœื”ื™ื˜ื™ื, ื•ื”ื™ื•ื: ื‘ื”ื™ื ืชืŸ 3 ื”ืชื—ืœื•ืช ืฉืœ ืฉื™ืจื™ื ืฉืœ @NSYNC, ืื—ื“ ื”ืžื•ื“ืœื™ื ืฉืœื ื• ื”ืฆื™ืข ื”ืชื—ืœื” ืฉืœ ืฉื™ืจ ื—ื“ืฉ (ื”ื–ื›ื•ื™ื•ืช ื‘ืงืจื•ื‘ ื ืžื›ืจื•ืช ืœื’ื™ื™ื ื‘ื•ื™ื–)
4
13
ืื ืžื™ืฉื”ื• ืจื•ืฆื” ืœืฉื—ืง ืขื ื”ืคืจื•ืžืคื˜, ืžื“ื•ื‘ืจ ื‘ืฉืขื•ืช ืฉืœ ื”ื ืื”: studio.ai21.com/playground/cโ€ฆ
At #ai21studio we thrive to help you build the future of #NLProc. With @langchain it's even easier ๐Ÿฆ–๐Ÿฆ–
๐Ÿฆœ๐Ÿ”—LangChain version 0.0.12 Two super exciting integrations! ๐Ÿฆ– @AI21Labs integration (from a friend of @YuvalinTheDeep) ๐Ÿ—บ๏ธIntegration with @HazyResearch's manifest library (with help from @laurel_orr1)
1
9
Not sure what a Developer Advocate does? Now you do ๐Ÿฅ‘
1
1
13
ืจื•ืฆื™ื ืœื“ืขืช ืื™ืš ื”ืฆืœื—ื ื• ืœื’ื™ื™ืก ืžืคืชื—ื•ืช ื•ืžืคืชื—ื™ื ื‘ืืžืฆืขื•ืช ืฉืขืฉื•ืขื•ืŸ AI? ืื– ืขื‘ืจ ืงืฆืช ื–ืžืŸ ืžืื– @reversim, ืื‘ืœ ื™ืืœืœื” ืฉืจืฉื•ืจ >>
2
3
1
29
ื”ืžืฉื—ืง ื”ื™ื” ืคืฉื•ื˜: ื‘ื›ืœ ืจื’ืข ื ืชื•ืŸ ืžื•ืฆื’ื™ื ื‘ืคื ื™ืš 3 ืžืฉืคื˜ื™ื, ืื—ื“ ืžืงื•ืจื™ ื•ืฉื ื™ื™ื ืฉืขื‘ืจื• Rewrite (ื”ื™ื™ @wordtune). ื™ืฉ 60 ืฉื ื™ื•ืช ืœืžืฆื•ื ื›ืžื” ืฉื™ื•ืชืจ ืžืฉืคื˜ื™ื ื ื›ื•ื ื™ื ื•ื”ื–ื•ื›ื” ืžืงื‘ืœ Airpods Max. ื”ื ื” ื“ื•ื’ืžื”: ืžืฆืœื™ื—ื™ื ืœื–ื”ื•ืช ืืช ื”ืžืงื•ืจ? >>
1
7