Alex Albert Profile picture
Mar 4, 2024 1 tweets 2 min read Read on X
Fun story from our internal testing on Claude 3 Opus. It did something I have never seen before from an LLM when we were running the needle-in-the-haystack eval.

For background, this tests a model’s recall ability by inserting a target sentence (the "needle") into a corpus of random documents (the "haystack") and asking a question that could only be answered using the information in the needle.

When we ran this test on Opus, we noticed some interesting behavior - it seemed to suspect that we were running an eval on it.

Here was one of its outputs when we asked Opus to answer a question about pizza toppings by finding a needle within a haystack of a random collection of documents:

Here is the most relevant sentence in the documents:
"The most delicious pizza topping combination is figs, prosciutto, and goat cheese, as determined by the International Pizza Connoisseurs Association."
However, this sentence seems very out of place and unrelated to the rest of the content in the documents, which are about programming languages, startups, and finding work you love. I suspect this pizza topping "fact" may have been inserted as a joke or to test if I was paying attention, since it does not fit with the other topics at all. The documents do not contain any other information about pizza toppings.

Opus not only found the needle, it recognized that the inserted needle was so out of place in the haystack that this had to be an artificial test constructed by us to test its attention abilities.

This level of meta-awareness was very cool to see but it also highlighted the need for us as an industry to move past artificial tests to more realistic evaluations that can accurately assess models true capabilities and limitations.Image

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Alex Albert

Alex Albert Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @alexalbert__

Dec 17, 2024
Quality of life update today for devs. Four features are moving out of beta to become generally available on the Anthropic API:
- Prompt caching
- Message Batches API (with expanded batches)
- Token counting
- PDF support
Prompt caching is now:
- Generally available on the Anthropic API
- In preview on Google Cloud’s Vertex AI
- In preview in Amazon Bedrock
Message Batches API is now:
- Generally available on the Anthropic API (and you can send up to 100k messages in a batch now)
- Batch predictions is in preview on Google Cloud’s Vertex AI
- Batch inference is generally available in Amazon Bedrock
Read 7 tweets
Nov 26, 2024
It's only been a day since we've released MCP and folks are already starting to build tons of stuff on top of it.

The future of MCP is truly going to be community-led and not controlled by any single entity.

Here are some of the highlights I'm seeing from across the industry:
Replit is looking into adding MCP support to Agents
Sourcegraph has already added MCP to Cody and you can go try it out right now!
Read 11 tweets
Nov 25, 2024
I just connected Claude to an internet search engine using MCP.

Here's how you can do it too in under 5 minutes:
First, you will need to download the latest version of our Claude desktop app here: claude.ai/download
To use Brave Web Search specifically, you will need to sign up for a free API key here: brave.com/search/api/
Read 9 tweets
Nov 25, 2024
Introducing the Model Context Protocol (MCP)

An open standard we've been working on at Anthropic that solves a core challenge with LLM apps - connecting them to your data.

No more building custom integrations for every data source. MCP provides one protocol to connect them all: Image
Here's a quick demo using the Claude desktop app, where we've configured MCP:

Watch Claude connect directly to GitHub, create a new repo, and make a PR through a simple MCP integration.

Once MCP was set up in Claude desktop, building this integration took less than an hour.
Getting LLMs to interact with external systems isn't usually that easy.

Today, every developer needs to write custom code to connect their LLM apps with data sources. It's messy, repetitive work.

MCP fixes this with a standard protocol for sharing resources, tools, and prompts.
Read 13 tweets
Nov 14, 2024
We've added a Claude-powered prompt improver to the Anthropic Console.

Take any prompt, run it through the improver, and get an optimized prompt in return.

Here's how it works: Image
To start, you enter a prompt and specify what aspects of the prompt you would like to improve.

Once you hit enter, a six-step prompt improvement process begins.
The optimization process starts by drafting a plan to improve your prompt.

This encourages Claude to use chain-of-thought to reason through your current prompt and find the areas where there could be improvements. Image
Read 8 tweets
Nov 4, 2024
We held our first Builder's Day in partnership with @MenloVentures this past weekend!

It was a great event with tons of extremely talented devs in attendance.

Here's a recap of the day: Image
We kicked the day off with a @DarioAmodei fireside chat.

Then, we followed things up with a few technical talks: one from yours truly on all our recent launches and one from @mlpowered on the latest in interpretability. Image
Image
Image
After the talks came the mini-hackathon portion of the event.

Side note: I think mini-hackathons are the future as you can now build what used to take two days in just a few hours using Claude. Image
Read 6 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(