TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

XMC.dspy with Karel D'Oosterlinck

2 点作者 CShorten超过 1 年前
Hey everyone! I am BEYOND EXCITED to publish our 87th Weaviate Podcast with Karel D’Oosterlinck from the University of Ghent and Stanford NLP!<p>This podcast was simply amazing, I can&#x27;t thank Karel enough for how much he taught me about DSPy, how to use it for Extreme Multi-Label Classification (XMC), and the applications of XMC in Biomedical NLP, Recommendation, Job Listings, and more. I am beyond grateful to have the opportunity to share this knowledge in the Weaviate podcast!<p>The podcast begins with an overview of Extreme Multi-Label Classification. How in the world do we prompt LLMs to categorize inputs into thousands of classes?!<p>To solve this, Karel has developed a novel Infer-Retrieve-Rank (IReRa) DSPy program. Infer first takes the input and outputs coarse labels for it. These coarse labels are then mapped to the thousands of classes (typically managed in ontologies) with the retrieval system and... you guessed it, Vector Embeddings! The Rank LLM component then takes the classes from the vector search and sorts them by relevance to the query.<p>Karel then took me through the details of the DSPy compiler! There is just so much opportunity with this from understanding how we tweak the descriptions of tasks we give to our language models, to populating the prompt with in-context learning examples. We discussed all sorts of things from model compression (e.g. can we prompt Mistral or Llama 7b to rival the performance of GPT-4 or Gemini Ultra at a <i>particular</i> task in an LLM pipeline, such as re-ranking or query writing?), diving into the latest on Teacher-Student optimization, input-dependent prompting, and so much more! We then concluded the podcast by discussing IReRa&#x27;s applications for Recommendation Systems and what lead Karel to Biomedical NLP! Thanks again Karel, I learned so much from this one!<p>YouTube: https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=_ye26_8XPcs<p>Spotify: https:&#x2F;&#x2F;podcasters.spotify.com&#x2F;pod&#x2F;show&#x2F;weaviate&#x2F;episodes&#x2F;XMC-dspy-with-Karel-DOosterlinck---Weaviate-Podcast-87-e2fehtk

暂无评论

暂无评论