Daniel Whitenack Profile picture
Apr 4 7 tweets 5 min read Twitter logo Read on Twitter
I used @predictionguard (paired with @LangChainAI)to evaluate 27 Large Language Models (LLMs) for text generation and automatically select a best/fallback model for use in some generative #AI applications.

A thread 🧵
Some general thoughts:

-> No surprise in the top performer (@OpenAI GPT-3.5), but...

-> 3 of @CohereAI models show up, including the runner up.

-> Surprised to see XLNet, a model that I can pull down from @huggingface, performs better than some of the popular #LLMs
Regarding the evaluation, the process works as follows:

1. You upload some examples of the model input/ output behavior that you expect.

2. @predictionguard concurrently runs these examples through a bunch of SOTA models on the backend
3. Results are compared to the expected output, and the system determines "failures" (in this case, if the semantic similarity, as measured via sentence transformer embeddings is less than a threshold)

4. The best models are made available via a serverless endpoints
For this test, I created 75 example prompts. I leveraged @LangChainAI for prompt templates covering few shot cls, zero shot cls, instructions, math, and chat. @predictionguard ran these against 27 SOTA LLMs in less than 5 minutes.
More invites to the @predictionguard will go out this week. Sign up for the wait-list here: predictionguard.com
(Note, I only evaluated reasonably accessible models. That is, models that are available without a special request, so no GPT-4 or LLaMA for now, or available to be run on reasonable hardware in the cloud)

• • •

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

Keep Current with Daniel Whitenack

Daniel Whitenack 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!

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 on Twitter!

:(