
@ContextualAI MTS | Quantum Information PhD
Bay Area
Joined June 2011
- Tweets357
- Following124
- Followers222
- Likes820
Casey A. Fitzpatrick retweeted
Here is a new Machine Learning Engineering chapter: Network debug
github.com/stas00/ml-enginee…
The intention is to help non-network engineers to figure out how to resolve common problems around multi-gpu and multi-node collectives networking - it's heavily NCCL-biased at the moment. Will extend with RCCL and others when I get access to those.
Your feedback and corrections are always welcome.
Casey A. Fitzpatrick retweeted
Maximizing expected human utility (i.e., KTO) is the natural way to do alignment. Cool to see how well this works even in diffusion models.
Casey A. Fitzpatrick retweeted
from @douwekiela (a pioneer of Retrieval-Augmented Generation) on the value of end-to-end co-optimization of systems (language models + retrievers):
Today, we’re excited to announce RAG 2.0, our end-to-end system for developing production-grade AI.
Using RAG 2.0, we’ve created Contextual Language Models (CLMs), which achieve state-of-the-art performance on a variety of industry benchmarks. CLMs outperform strong RAG baselines built using GPT-4 and top open-source models like Mixtral, according to our research and customers.
Read more in our blog post: rag2.ai
Casey A. Fitzpatrick retweeted
The Orca-Math paper does a comparison of DPO and KTO for mathematical reasoning, finding that KTO is slightly better when all data is used and 25+ pts better when you have fewer positive examples than negative examples.
Microsoft presents Orca-Math
Unlocking the potential of SLMs in Grade School Math
Mathematical word problem-solving has long been recognized as a complex task for small language models (SLMs). A recent study hypothesized that the smallest model size, needed to achieve over 80% accuracy on the GSM8K benchmark, is 34 billion parameters. To reach this level of performance with smaller models, researcher often train SLMs to generate Python code or use tools to help avoid calculation errors. Additionally, they employ ensembling, where outputs of up to 100 model runs are combined to arrive at a more accurate result. Result selection is done using consensus, majority vote or a separate a verifier model used in conjunction with the SLM. Ensembling provides a substantial boost in accuracy but at a significant cost increase with multiple calls to the model (e.g., Phi-GSM uses top-48 to boost the performance from 68.2 to 81.5). In this work, we present Orca-Math, a 7-billion-parameter SLM based on the Mistral-7B, which achieves 86.81% on GSM8k without the need for multiple model calls or the use of verifiers, code execution or any other external tools. Our approach has the following key elements: (1) A high quality synthetic dataset of 200K math problems created using a multi-agent setup where agents collaborate to create the data, (2) An iterative learning techniques that enables the SLM to practice solving problems, receive feedback on its solutions and learn from preference pairs incorporating the SLM solutions and the feedback. When trained with Supervised Fine-Tuning alone, Orca-Math achieves 81.50% on GSM8k pass@1 metric. With iterative preference learning, Orca-Math achieves 86.81% pass@1. Orca-Math surpasses the performance of significantly larger models such as LLAMA-2-70B, WizardMath-70B, Gemini-Pro, ChatGPT-3.5. It also significantly outperforms other smaller models while using much smaller data (hundreds of thousands vs. millions of problems).
Casey A. Fitzpatrick retweeted
I'm glad that a lot more people understand the key ideas behind ColBERT and DSPy now.
My only remaining goal is to make sure people can also say them correctly; both are quite tricky😆
* Col-BAIR (it's "the late" interaction retriever, get it?)
* Dee-Ess-Pie (like num-pie)
Casey A. Fitzpatrick retweeted
I believe strongly that:
1) The best products that will emerge from this moment are “full stack”, with teams training their own models, and the models & UI informing one another.
2) This requires researchers who care deeply about what’s best for the product, including data
Casey A. Fitzpatrick retweeted
It was great to see Contextual AI in @ThomasOrTK's keynote at #GoogleCloudNext. We’re excited to partner and build the next generation of language models.
cloud.google.com/blog/topics…
Casey A. Fitzpatrick retweeted
Contextual AI is now in the GenAI 50 list moving up from the GenAI 100 list previously from @CBinsights! 🚀
Meet the GenAI 50 — our first-ever list of the most promising private generative AI companies across the globe. These winners are working on foundation models, code generation, AI assistants, and more.
cbi.team/448tvny
Casey A. Fitzpatrick retweeted
Don't miss our #ACL2023 tutorial on Retrieval-based LMs and Applications this Sunday!
acl2023-retrieval-lm.github.…
with @sewon__min, @ZexuanZhong, @danqi_chen
We'll cover everything from architecture design and training to exploring applications and tackling open challenges! [1/2]

ALT Tutorial on Retrieval-based LMs and Applications at ACL 2023. - Instructors: Akari Asai (University of Washington), Sewon Min (University of Washington), Zexuan Zhong (Princeton), Danqi Chen (Princeton) - Time & location: Sunday, July 9 14:00 - 17:30 (EDT) @ Metropolitan West - website https://acl2023-retrieval-lm.github.io/
Casey A. Fitzpatrick retweeted
3/ Computer Vision Through the Lens of Natural Language - a modular approach for solving computer vision problems by leveraging LLMs; the LLM is used to reason over outputs from independent and descriptive modules that provide information about an image.
xitter.gq/arankomatsuzaki/status…
Towards Language Models That Can See: Computer Vision Through the LENS of Natural Language
Finds that the LLMs with LENS perform highly competitively with much bigger and much more sophisticated systems, without any multimodal training whatsoever.
arxiv.org/abs/2306.16410
Casey A. Fitzpatrick retweeted
This is very fun. Mostly because LENS stands for LLMs EnhaNced to See
LLMs can now handle computer vision and visual reasoning tasks. 🔥
Introducing LENS 🔎, a modular approach that empowers any LLM to perceive and reason about images. 👁️
Demo: lens.contextual.ai
Blog: contextual.ai/introducing-le…
A 🧵 on why we did it [1/N]
Casey A. Fitzpatrick retweeted
Announcing LENS 🔎, a framework for vision-augmented language models.
- Outperforms Flamingo by 9% (56->65%) on VQAv2
- Eliminates the additional cost of multimodal pre-training
Demo: lens.contextual.ai
Blog+Paper+Code: contextual.ai/introducing-le…
A 🧵 [1/N]
Casey A. Fitzpatrick retweeted
We're thrilled to be featured on the @CBinsights #AI100 as one of the "most promising AI startups " in the "Foundation models & APIs" category! 🚀
Boom: The most promising AI companies around the world.
This year's winners include startups working on generative AI infrastructure, emotion analytics, general-purpose humanoids, and more. #AI100 cbi.team/3PkNdIM
Casey A. Fitzpatrick retweeted
Life update! Very excited to share that @douwekiela and I are officially launching our new company: @ContextualAI! 🎉
LLMs will fundamentally transform how enterprises work and that's why we are building the next generation of LLMs that actually work for enterprise use cases. 1/2
Casey A. Fitzpatrick retweeted
🔔 New modality on @huggingface's hub: Graphs! 🎇
If you want to experiment, we already have 25 datasets and a model... and we're looking forward to seeing what else the community will add!
Ping me if you need a hand to upload your artifacts 🤗
huggingface.co/datasets?task…
Casey A. Fitzpatrick retweeted
In the early versions of Anthropic's Claude model they provided two outputs to each answer and got you to choose what you prefer.
In just the past months I've seen it improve phenomenally. Data flywheels are real.
Casey A. Fitzpatrick retweeted
IMO orchestration is too low level an abstraction for most data and ML people. Most people don’t want to break their pipelines up into minimal subunits, write a schedule for each one, design error handling policies for each failure mode, and babysit DAG runs to completion
Replying to @Ubunta
I feel that orchestration is not only about solving the problem but it as well needs a buy-in from users based on preferences
- Wants good UI
- More software engineering
- No code less code
- less engineering
- ML friendly
....
Casey A. Fitzpatrick retweeted
This week starting studying in the Full Stack Deep Learning course @full_stack_dl. I want to remember fundamentals and learn more about the SOTA ML operations stack. Why did I choose it?
Casey A. Fitzpatrick retweeted
There's a lot of bad advice on the internet about model monitoring.
Despite what you read on Towards Data Science, please don't wake up in the middle of the night because a KS test failed.
I wrote about what I've seen that actually works well here.
gantry.io/blog/youre-probabl…
Unless you're living under a big stack of conference papers, you've probably realized it's a bad idea to deploy models without monitoring.
In this post, we call out some of the bad advice out there about model monitoring, and what you should do instead.
gantry.io/blog/youre-probabl…


































