Three reasons why your business shouldn't build a custom LLM
Key Takeaways
Presents reasons not to build a custom LLM based on a Microsoft paper about generalist foundation models
Full Transcript
thinking about building an llm for customer service based on your business's data my advice don't and here are three reasons why cost talent and [Music] prompting hey it's Pete and today on context I'm going to let you know why you shouldn't build an llm that's specific to your business all right let's start with reason one cost so a model the size of gpt3 that's around 175 billion parameters cost open AI around $5 million and about 9 days to train and unfortunately gpt3 just isn't up for the prime time for most customer facing use cases then there's gbt 4 which costs around 100 million and took way longer to train so if you're going to build an llm then you're going to need to be okay with spending a lot of coin now let's go to reason number two Talent I've seen a few Fortune 500 businesses dip their toe in and try build or fine-tune their own llm and so far none of them have got it right generally the build is led by a team of data scientists and while they might be the best in the business they're not AI researchers and Engineers of course they get the theory they understand how an llm is built but most likely they've never actually done one before and to be honest not that many people have there is a reason why open AI has salary packages at around 900k per year I bet you're currently questioning your career choice anyway this stuff is just really hard all right now for my third reason and that is prompting is all you really need so what do I mean by this well a recent study called can generalist Foundation models outcompete special purpose tuning case study in medicine Jesus can we just take a minute and seriously who the hell names these papers anyway this paper showed that effective prompting can unlock lock deep specialist capabilities in generalist models like gp4 without the need for extensive fine-tuning so how did it do this well it's all about a strategy and in this case a smart one called Med prompt so how does Med prompt work well you can kind of think of Med prompt like a highly skilled assistant who knows exactly where to find the best resources in a vast library and instead of reading every single book kind of like what you would do if you were to train an llm the assistant quickly picks out a few of the key resources that provide the answer in technical terms this is what Med prompt did it used a method called K nearest neighbor or KNN to find the most semantically similar training examples from a data set based on Vector embeddings of questions it then surfaced these to gbt 4 which then used a prompting technique called Chain of Thought to work out the answer the result gp4 with Med prompt not only matched but outper per form specialized models that were fine-tuned to medicine and by a significant margin so why why did this happen well you can kind of think about it like this are you more likely to answer a question by looking at a textbook with the answer to the question or studying hard and using your memory it's the book right and that's essentially why specialist llms don't perform as well they have essentially read all the books and they're trying to generate an answer from memory remember last episode where I went through the pros and cons of llms and nlus well there I talked about how llms are just trying to guess the most likely token in a series of tokens and while they do that really really well they don't actually have an understanding like you and I of what they're actually saying therefore the most important thing a large language model can do is coherently put together text and if you give a language model a question and the answer it's probably just going to nail it so what what does that mean for you well Med prompt what it's doing is totally replicable firstly use your company data to power a vector database like voice flow's knowledge base to deliver the right information to a large language model at the right time boom secondly try out different prompting techniques like Chain of Thought to make sure your agent can think through its answer before it provides it to a customer and finally remember this key Insight it's not about building the most advanced AI from scratch it's about smartly leveraging what's already there use your data scientists to create algorithms that your agent can leverage like detecting churn anticipating complaints or opportunities for your agent to upsell a product now that's my take on whether your business should build a large language model from scratch let me know yours and remember stay [Music] curious
Original Description
Thinking about building an LLM for customer service? Pete's advice? Don't. And here's why:
1. Cost
2. Talent
3. Prompting
In this episode of Context, Pete digs into Microsoft's paper "Can Generalist Foundation Models Outcompete Special-Purpose Tuning? Case Study in Medicine" and how its learnings can be applied to your all businesses.
The collaborative platform to build AI agents. Use Voiceflow to design, test, and launch chat or voice AI agents — together, faster, at scale.
Join our Discord community
👾 https://discord.com/invite/9JRv5buT39
Kickstart your next project with our templates
🚀 https://www.voiceflow.com/templates
Our Links 🔗
👉 Start building today: https://www.voiceflow.com
👉 Subscribe: https://bit.ly/3am22nf
👉 Twitter: https://bit.ly/2xrXZqV
👉 LinkedIn: https://www.linkedin.com/company/voiceflowhq/
👉 Publication: https://www.voiceflow.com/blog
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Voiceflow · Voiceflow · 9 of 60
1
2
3
4
5
6
7
8
▶
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
The Context Window Paradox with LLMs
Voiceflow
Intercom to Voiceflow: why Nick, Head of CX @ Roam made the move #ai #customersupport #chatbot
Voiceflow
Biggest Challenge with Intercom - why Nick moved to Voiceflow #ai #chatbot #automation #intercom
Voiceflow
Save 30 HOURS a week automating your customer support #ai #customersupport #automation #voiceflow
Voiceflow
NLUs vs. LLMs - are NLUs dead? #nlu #llm #gpt #ailearning #agent #voiceflow #largelanguagemodels
Voiceflow
Build a GPT4 Vision AI Assistant #business #gptv #gpt4 #ailearning #ai #developer
Voiceflow
How does an AI model search through information?
Voiceflow
Gamechanging Zendesk app that summarizes your tickets #customersupport #ai #zendesk #voiceflow
Voiceflow
Three reasons why your business shouldn't build a custom LLM
Voiceflow
Do we still need Conversation Designers?
Voiceflow
LLMs have changed Conversation Design forever... #ai #generativeai
Voiceflow
Conversation Designer or Agent Designer? The Future of AI Automation Design #ai #generativeai
Voiceflow
What's New in Voiceflow | March Feature Releases
Voiceflow
Voiceflow AI Agency Panel: Start an AI Agency that's Built to Last
Voiceflow
9 Tips for Starting and Scaling Your AI Agency
Voiceflow
What's New in Voiceflow | April Feature Releases
Voiceflow
How to Scale Your AI Agent | Crawl, Walk, Run
Voiceflow
The most important thing Large Language Models can do
Voiceflow
Three ways to use LLMs in your company
Voiceflow
5 Conversational AI Frameworks for AI Agents
Voiceflow
Voiceflow is a Customizable AI Platform
Voiceflow
Know your AI Agency Customers
Voiceflow
The Future of AI is Custom Interfaces
Voiceflow
The Overnight AI Agency Gambit
Voiceflow
Introducing Tabular Data Support | June Feature Releases
Voiceflow
Getting Started with Voiceflow APIs
Voiceflow
An AI Coach that Drives Leads and Financial Literacy
Voiceflow
Unlocking LLM Accuracy — Let It Cook!
Voiceflow
Speed Up Your AI Agent — Make Concurrent API Calls!
Voiceflow
Save Big with Automation — Cutting Costs Effectively
Voiceflow
Multimodal Projects, LLM Entity Extraction, Cheaper Tokens, and More!
Voiceflow
Add a phone number to your AI agent on Voiceflow
Voiceflow
Top 5 Voice AI Agent Best Practices
Voiceflow
Voiceflow 2024 Recap
Voiceflow
Build Voice AI Agents with no-code in Voiceflow
Voiceflow
[NEW] Structured Prompt Outputs & Variable Pathing
Voiceflow
This AI agency's Project for a Local City Hall Drives over 11,000 Monthly Interactions #aiagency
Voiceflow
Your AI Interface is More Important than the Content | Humans Talking Agents Episode 1
Voiceflow
The Future of AI Automation Agencies | Humans Talking Agents Episode 2
Voiceflow
$1000 Voice AI Competition Kickoff
Voiceflow
How to Build a Successful AI Agency | Voiceflow Panel Event
Voiceflow
AI Models are changing the way we build AI Agents | Humans Talking Agents Episode 3
Voiceflow
Faster Training, Better Intents | RAG Intent Recognition: Explained
Voiceflow
Will voice AI kill call centers? | Humans Talking Agents Episode 4
Voiceflow
Build an AI agent in seconds — here's how.
Voiceflow
Connecting multiple agents into an Agent Network with the new Agent step
Voiceflow
How will Vibe Coding affect software? | Humans Talking Agents Episode 5
Voiceflow
Vibe coding: the end of coding as we know it
Voiceflow
Vibe coding and resolution-based pricing — what will happen to AI companies' pricing models?
Voiceflow
Grow your AI agency: How to get new customers | Voiceflow Workshop Event
Voiceflow
MCP is the key to an agentic internet | Humans Talking Agents Episode 6
Voiceflow
MCP will change agent building forever with new standards for interactions
Voiceflow
Review and improve your AI agent responses with call recording
Voiceflow
4 tips to optimize your voice AI calls in Voiceflow
Voiceflow
Launch AI agents even faster: new prompt generation feature
Voiceflow
Give your AI agents memory
Voiceflow
Can we build an AI Agent for a bank in 5 minutes?
Voiceflow
Automate customer support tickets with AI (step-by-step Voiceflow tutorial)
Voiceflow
How to add custom ElevenLabs voices to Voiceflow
Voiceflow
Can we build an AI agent for Notion in 5 minutes?
Voiceflow
More on: LLM Foundations
View skill →
🎓
Tutor Explanation
DeepCamp AI