Selecting the Right LLM with Hugging Face
Selecting the Right LLM with Hugging Face
This course is part of multiple programs.
Instructors: Manas Dasgupta
Included with
Learn more
Ask Coursera
Recommended experience
Recommended experience
What you'll learn
Navigate through the Hugging Face Ecosystem
Comparing Models using various Factors and Practical Considerations
Using a Model from Hugging Face
Determine the most suitable model for a given task by scoring the results from each candidate model on a variety of parameters.
Skills you'll gain
Tools you'll learn
Details to know
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There is 1 module in this course
There are literally thousands of Large Language Models or LLMs available out there that can be used for a plethora of purposes. Hugging Face is the de-facto hub for language models, offering a huge collection where you can find and use almost any model you need. Choosing the right model can be an arduous task given models come in various shapes, sizes and configurations and each model is specialized at something different. So, when you approach Hugging Face in search of the right Model for your requirement, you have to know the art of this matchmaking.
In this course, we will learn how to navigate through the Hugging Face Hub for Models, matching their configurations to your needs. We will understand key characteristics of Models (LLMs), such as Size, Computational Requirements, Specializations, Licensing and so on. We will look into various families of Models and their specializations, performance and variants. We will also learn how to use various models from Hugging Face and Evaluate them based on your requirements. This course is designed for professionals deeply involved in the field of AI and machine learning, including Data Scientists, Machine Learning Engineers, AI Engineers, LLM RAG Application Developers, Software Developers, and IT Engineers. It targets individuals who are actively building or plan to build applications leveraging Large Language Models (LLMs) and seek to enhance their ability to select and utilize the most appropriate models for their specific needs. Participants should have a strong foundation in Python programming and a basic understanding of Large Language Models (LLMs) and their programmatic use, as the course will build on these concepts with practical coding exercises and advanced topics like model selection, comparison, and evaluation. By the end of this course, learners will have achieved four key objectives. They will master navigating the Hugging Face ecosystem, gaining proficiency in finding and understanding various models. They will also learn to effectively use these models, comparing them based on multiple factors and practical considerations. Additionally, the course will guide participants in testing and evaluating different models, enabling them to score and assess the results based on specific parameters. Ultimately, learners will be equipped to select the most suitable model for a given task, ensuring optimal performance in their applications.
This course develops advanced skills in selecting and evaluating Large Language Models (LLMs) from the Hugging Face Hub. Learners will master navigating the model repository, analyzing key characteristics like computational needs and specializations, and strategically matching models to project requirements for optimal application performance.
What's included
11 videos4 readings2 assignments1 peer review
11 videosβ’Total 68 minutes
- Introduction to the Course & Meet Your Instructorβ’2 minutes
- Introduction to Hugging Face β’9 minutes
- Navigating through Hugging Face Hub β’9 minutes
- Model Characteristics β’7 minutes
- Model Families β’6 minutes
- Evaluating Models Based on Metrics β’7 minutes
- Evaluating Models Based on Deployment characteristics β’6 minutes
- Case-Study Intro β’4 minutes
- Dataset and Metrics β’8 minutes
- Testing and Evaluation β’10 minutes
- Congratulations and Continuous Learning Journeyβ’1 minute
4 readingsβ’Total 20 minutes
- Welcome to the Course: Course Overviewβ’5 minutes
- Understanding LLMs and Hugging Face Setupβ’5 minutes
- Evaluating Model Characteristics and Deploymentβ’5 minutes
- Testing and Comparing LLMsβ’5 minutes
2 assignmentsβ’Total 50 minutes
- LLM Selection Challenge: Multilingual Chatbot Developmentβ’30 minutes
- Selecting the Right LLM with Hugging Faceβ’20 minutes
1 peer reviewβ’Total 60 minutes
- Practice Project: LLM Selector Challengeβ’60 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructors
Offered by
Why people choose Coursera for their career
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Frequently asked questions
It is a structured way to choose an appropriate large language model from the Hugging Face Hub by matching model traits to a specific task. The course emphasizes understanding what a model is designed for, what it requires to run, and how to judge whether it fits your needs.
You would use it when several models could handle your application and you need a clear way to narrow the options. In this course, that means comparing candidates against practical needs such as specialization, resource demands, licensing, and expected performance.
It sits in the earlier and middle stages of building with LLMs, after you define the task and before you settle on a model for regular use. The course treats it as the link between exploring available models and testing them in a repeatable way.
More questions
Financial aid available,
ΒΉ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.
