Omar Khattab(@lateinteraction) 's Twitter Profileg
Omar Khattab

@lateinteraction

CS PhD candidate @StanfordNLP. 2022 Apple Scholar in AI/ML. Author of ColBERT (https://t.co/2ZtgXoa1np), DSPy (https://t.co/BH7WmMKDXR), & various retrieval & LM systems.

ID:1605274291569799168

linkhttps://omarkhattab.com/ calendar_today20-12-2022 18:50:07

4,4K Tweets

11,1K Followers

1,8K Following

LLM Security(@llm_sec) 's Twitter Profile Photo

Red-Teaming Language Models with DSPy

'At its core, this is really an autoprompting problem: how does one search the combinatorially infinite space of language for an adversarial prompt?' 🌶️

blog.haizelabs.com/posts/dspy/

Red-Teaming Language Models with DSPy 'At its core, this is really an autoprompting problem: how does one search the combinatorially infinite space of language for an adversarial prompt?' 🌶️ blog.haizelabs.com/posts/dspy/
account_circle
Jiang Chen(@jiangc1010) 's Twitter Profile Photo

Milvus is now available as a retrieval module (MilvusRM) in DSPy! DSPy is a programmatic LLM optimization framework by Stanford NLP Group, providing composable and declarative modules for instructing LMs in Pythonic syntax. Compared to prompting through trial and error, it can take…

account_circle
Ramiro Salas(@ramirosalas) 's Twitter Profile Photo

Nick Dobos Respectfully disagree. A lot of folks are starting to realize the power of programming LMs instead of wrestling with them thanks to frameworks like DSPy.

A RAG prompt is literally “query, context -> answer” regardless of the LM.

account_circle
Christopher Potts(@ChrisGPotts) 's Twitter Profile Photo

A striking analysis! A high-level takeaway: just as with essentially every other area of AI, optimizing prompts can create solutions that are highly effective and unlikely to be found with manual exploration.

account_circle
Haize Labs(@haizelabs) 's Twitter Profile Photo

🕊️red-teaming LLMs with DSPy🕊️

tldr; we use DSPy, a framework for structuring & optimizing language programs, to red-team LLMs

🥳this is the first attempt to use an auto-prompting framework for red-teaming, and one of the *deepest* language programs to date

🕊️red-teaming LLMs with DSPy🕊️ tldr; we use DSPy, a framework for structuring & optimizing language programs, to red-team LLMs 🥳this is the first attempt to use an auto-prompting framework for red-teaming, and one of the *deepest* language programs to date
account_circle
Matei Zaharia(@matei_zaharia) 's Twitter Profile Photo

Super cool application of . This is the kind of stuff our team expects to happen in LM-based development -- more automated search over everything from prompts to pipeline designs.

account_circle
Ashwinee Panda(@PandaAshwinee) 's Twitter Profile Photo

This looks pretty cool. There are a bunch of jailbreak papers that propose automatic optimization techniques. But why reinvent the wheel if you can just use Omar Khattab DSPy to do the prompt optimization automatically? The code is also super clean!

account_circle
vintro(@vintrotweets) 's Twitter Profile Photo

this is crazy

*discover* the prompts that break LLMs... should help us do the same to increase robustness

account_circle