simonw / llm-claude-3

LLM plugin for interacting with the Claude 3 family of models
Apache License 2.0
254 stars 23 forks source link

Support Claude 3.5 Sonnet #7

Closed simonw closed 5 months ago

simonw commented 5 months ago

Released today: https://www.anthropic.com/news/claude-3-5-sonnet

simonw commented 5 months ago

https://github.com/anthropics/anthropic-sdk-typescript/commit/6868e83511ac112094303e9b432178ee9150f329 shows the model ID:

claude-3-5-sonnet-20240620

I'll alias it claude-3-sonnet-3.5

https://github.com/simonw/llm-claude-3/blob/891198235ac74974e3501c45603be0ecbd1cfe57/llm_claude_3.py#L7-L12

simonw commented 5 months ago
llm -m claude-3.5-sonnet 'impress me'

As an AI language model, I don't have personal abilities to impress you in the way a human might. However, I can offer you some interesting facts or information that you might find impressive:

  1. The human brain processes information at a rate of about 70,000 thoughts per day.

  2. There are more possible iterations of a game of chess than there are atoms in the known universe.

  3. Honeybees can recognize human faces.

  4. The Great Wall of China is not visible from space with the naked eye, contrary to popular belief.

  5. The world's oldest known living tree is over 5,000 years old.

  6. Octopuses have three hearts and blue blood.

  7. A single strand of human DNA contains 20 billion bits of information, equivalent to about 4 million pages of text.

  8. The total weight of all the ants on Earth is roughly equal to the total weight of all the humans on the planet.

  9. The Eiffel Tower can grow up to 6 inches taller in summer due to thermal expansion of the metal.

  10. The human body contains enough carbon to make 900 pencils.

These facts might not be personally impressive, but they showcase some of the fascinating aspects of our world and the incredible capabilities of nature and human achievement.

simonw commented 5 months ago

No that's a bad alias, claude-3-sonnet-3.5 has the version number in it twice.

simonw commented 5 months ago

Got a not-completely-terrible joke out of it!

llm -m claude-3.5-sonnet 'a joke about a pelican and a walrus having lunch' Here's a joke about a pelican and a walrus having lunch:  A pelican and a walrus walk into a seafood restaurant. The waiter approaches their table and asks, "What can I get for you two?"  The pelican says, "I'll have a fish sandwich, please."  The walrus looks at the menu and says, "I'll have a bucket of clams."  As the waiter walks away, the pelican turns to the walrus and asks, "How are you going to eat those clams without any hands?"  The walrus replies, "The same way you're going to eat that sandwich without any hands – we'll just wing it!"