- Beginner
- 52 Minutes
- 8 Video Lessons
- 5 Code Examples
- Instructor: Sophia Yang
What you'll learn
Explore Mistral’s three open source models (Mistral 7B, Mixtral 8x7B, and the latest Mixtral 8x22B), and three commercial models (small, medium, and large), which Mistral provides access to via web interface and API calls.
Leverage Mistral’s JSON mode to generate LLM responses in a structured JSON format, enabling integration of LLM outputs into larger software applications.
Use Mistral’s API to call user-defined Python functions for tasks like web searches or retrieving text from databases, enhancing the LLM’s ability to find relevant information to answer user queries.
About this course
In this course, you’ll access Mistral AI’s collection of open source and commercial models, including the Mixtral 8x7B model, and the latest Mixtral 8x22B. You’ll learn about selecting the right model for your use case, and get hands-on with features like effective prompting techniques, function calling, JSON mode, and Retrieval Augmented Generation (RAG).
In detail:
- Access and prompt Mistral models via API calls for tasks, and decide whether your task is either a simple task (classification), medium (email writing), or advanced (coding) level of complexity, and consider speed requirements to choose an appropriate model.
- Learn to use Mistral’s native function calling, in which you give an LLM tools it can call as needed to perform tasks that are better performed by traditional code, such as querying a database for numerical data.
- Build a basic RAG system from scratch with similarity search, properly chunk data, create embeddings, and implement this tool as a function in your chat system.
- Build a chat interface to interact with the Mistral models and ask questions about a document that you upload.
By the end of this course, you’ll be equipped to leverage Mistral AI’s leading open source and commercial models.
Who should join?
Getting Started with Mistral is a beginner-friendly course and it’s suitable for anyone who wants to learn about and use Mistral AI’s collection of advanced open source and commercial LLMs. If you have taken ChatGPT Prompt Engineering for Developers or Prompt Engineering with Llama 2, this is a great next step!
Course Outline
8 Lessons・5 Code ExamplesIntroduction
Video・3 mins
Overview
Video・6 mins
Prompting
Video with code examples・9 mins
Model Selection
Video with code examples・6 mins
Function Calling
Video with code examples・10 mins
RAG from Scratch
Video with code examples・9 mins
Chatbot
Video with code examples・5 mins
Conclusion
Video・1 min
Instructor
Sophia Yang
Getting Started With Mistral
- Beginner
- 52 Minutes
- 8 Video Lessons
- 5 Code Examples
- Instructor: Sophia Yang
Course access is free for a limited time during the DeepLearning.AI learning platform beta!
Want to learn more about Generative AI?
Keep learning with updates on curated AI news, courses, and events, as well as Andrew’s thoughts from DeepLearning.AI!