3 LLM Tips Developers Should Know
Key Takeaways
Demonstrates three essential LLM tips, including prompt engineering, output validation, and smart model selection, using Amazon Bedrock
Full Transcript
[Music] So, I've seen this trend going around where people show off Balkan breakfasts. Well, since I'm from the Balkans, this is just breakfast for me, I guess. So, let me have some wonderful breakfast right now while I explain to you the three tips every developer working with LLMs should know about. Tip number one, prompt engineering. You need to make sure to craft your prompts. Be specific about them. Experiment. give clear and concrete instructions to your LLM. This is more of an art than a science. So, you're going to have to be a bit creative when it comes to those things. Maybe try few shot um examples basically where you're going to give the LLM examples of what you want it to return or think about the chain of thought prompting where you give your LLM the example of a chain of thought how they should solve this given problem. Tip number two, output parsing and validation. Here's the thing, models may not always return the exact same thing you want, right? Maybe you're expecting JSON, but it gives you something else. So, it is critical for you as a developer to make sure you have proper error handling. I'll actually include a link to an example piece of Python code how to do this, but this is going to be critical to making your application quite robust when it comes to the actual responses. Tip number three, model selection and fine-tuning. It's easy just to choose the best model there, the strongest one, the most robust. You may not always need that kind of a model. So choosing the correct model for your application and for specific elements of your application. Maybe you want to choose two different models to do two different things is kind of one of those critical things to make your application cost efficient and also optimized. Also consider fine-tuning for your specific use cases for your business needs. You may need to fine-tune a model so it would promptly provide you with the accurate and the correct format of responses. So check that out. [Music] Nothing can beat this. It's the best thing in the world. So, if you want to have some bulk breakfast, head over to your grocery store's fresh food aisle and get a bunch of vegetables, cheese, and meat. But if you want to apply some of these best practices about LLMs that I showed you, definitely go check out Amazon Bedrock because it provides you all of the necessary resources and infrastructure for you to build amazing applications powered by LLMs. Oh my god.
Original Description
Balkan breakfast meets AI wisdom! Learn essential LLM best practices: prompt engineering, output validation, and smart model selection. Build better AI apps with Amazon Bedrock!
#AmazonBedrock #generativeAI #CloudComputing #MachineLearning #Shorts
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from AWS Developers · AWS Developers · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
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
Using Microsoft Active Directory across On-premises and Cloud Workloads
AWS Developers
What is Cloud Computing with AWS? | Hebrew Webinar
AWS Developers
Best Practices for Getting Started with AWS | Hebrew Webinar
AWS Developers
Best Practices for Using AWS Identity and Access Management (IAM) Roles
AWS Developers
Building Scalable Web Apps | Hebrew Webinar
AWS Developers
Dev & Test on the AWS Cloud | Hebrew Webinar
AWS Developers
Storage & Backup on AWS | Hebrew webinar
AWS Developers
Disaster Recovery on AWS | Hebrew Webinar
AWS Developers
AWS Israel News | Episode 1
AWS Developers
Security Best Practices on AWS | Hebrew Webinar
AWS Developers
Ready: Introduction to AI on AWS | Hebrew Webinar
AWS Developers
Set: What is ML for developers? | Hebrew Webinar
AWS Developers
Go!: Building your own ChatBot with Amazon Lex | Hebrew Webinar
AWS Developers
And Beyond: Amazon Sagemaker | Hebrew Webinar
AWS Developers
Building API-Driven Microservices with Amazon API Gateway - AWS Online Tech Talks
AWS Developers
Understanding AWS Secrets Manager - AWS Online Tech Talks
AWS Developers
Best Practices for Building Enterprise Grade APIs with Amazon API Gateway - AWS Online Tech Talks
AWS Developers
Build, Train and Deploy Machine Learning Models on AWS with Amazon SageMaker - AWS Online Tech Talks
AWS Developers
AWS Israel News | Episode 2 | re:Invent
AWS Developers
AWS Floor28 News - January
AWS Developers
AWS Floor28 News - February - Hebrew
AWS Developers
AWS Floor28 News - March - Hebrew
AWS Developers
AWS Floor28 News - April - Hebrew
AWS Developers
AWS Floor28 News - May - Hebrew
AWS Developers
Authentication for Your Applications: Getting Started with Amazon Cognito - AWS Online Tech Talks
AWS Developers
AWS Floor28 News - June - Hebrew
AWS Developers
AWS Floor28 News - July - Hebrew
AWS Developers
Enriching your app with Image Recognition and AWS AI Services - AWS Webinar - Hebrew
AWS Developers
Personalize, Forcast, and Textract - AWS Webinar - Hebrew
AWS Developers
Managing Your ML Development Lifecycle with Amazon SageMaker - AWS Webinar - Hebrew
AWS Developers
Running your ML code in Amazon Sagemaker - AWS Webinar - Hebrew
AWS Developers
Get Started in Minutes with Amazon Connect in Your Contact Center - AWS Online Tech Talks
AWS Developers
AWS Floor28 News - August - Hebrew
AWS Developers
AWS Floor28 News - September - Hebrew
AWS Developers
Deep Dive on Amazon EventBridge - AWS Online Tech Talks
AWS Developers
Advanced Serverless Orchestration with AWS Step Functions - AWS Online Tech Talks
AWS Developers
Living on the Edge - an Introduction to Amazon CloudFront and Lambda@Edge - Hebrew Webinar
AWS Developers
AWS Floor28 News - October - Hebrew - YouTube
AWS Developers
What's New with AWS Storage - AWS Online Tech Talks
AWS Developers
How to Build a Compelling Migration Business Case Using TSO Logic - AWS Online Tech Talks
AWS Developers
Configuring and Managing Amazon S3 Replication - AWS Online Tech Talks
AWS Developers
AWS Floor28 News - November - Hebrew
AWS Developers
Using Relational Databases with AWS Lambda - Easy Connection Pooling - AWS Online Tech Talks
AWS Developers
AWS Floor28 News - December 2019 - Hebrew
AWS Developers
AWS Floor28 News - January 2020 - Hebrew
AWS Developers
Top 10 Data Migration Best Practices - AWS Online Tech Talks
AWS Developers
How to Use Azure Active Directory with AWS SSO - AWS Online Tech Talks
AWS Developers
AWS Tips & Tricks - Amazon Redshift Advisor - Hebrew
AWS Developers
AWS Tips & Tricks - Amazon Redshift Elastic Resize - Hebrew
AWS Developers
AWS Tips & Tricks - Amazon Redshift Spectrum - Hebrew
AWS Developers
AWS Tips & Tricks - Savings Plans & Cost Explorer - Hebrew
AWS Developers
AWS Tips & Tricks - Amazon Redshift Concurrency Scaling - Hebrew
AWS Developers
AWS Tips & Tricks - Training Models with Amazon SageMaker - Hebrew
AWS Developers
AWS Tips & Tricks - Auto Model Tuning with Amazon SageMaker - Hebrew
AWS Developers
AWS Tips & Tricks - Amazon Comprehend - Hebrew
AWS Developers
Understanding High Availability and Disaster Recovery Features for Amazon RDS for Oracle
AWS Developers
Amazon Forecast – Forecasting - From Months to Days (Hebrew)
AWS Developers
Visualize your data with Amazon QuickSight (Hebrew)
AWS Developers
Amazon Kendra (Hebrew)
AWS Developers
AWS Floor28 News - AI/ML Special Edition
AWS Developers
More on: LLM Foundations
View skill →Related Reads
📰
📰
📰
📰
Teaching a 0.6B LLM to Rank: Score-Weighted BPR Fine-Tuning from Blended Relevance Signals
Medium · Machine Learning
Generative AI vs AI Agents vs Agentic AI: What’s the Real Difference?
Medium · AI
Python Is Quietly Becoming the Operating System of AI
Medium · AI
Python Is Quietly Becoming the Operating System of AI
Medium · Machine Learning
🎓
Tutor Explanation
DeepCamp AI