Phi-2: Small Language Model Performance Tutorial - Google Colab with Python
Offered By: Venelin Valkov via YouTube
Course Description
Overview
Explore the capabilities of Microsoft Research's Phi-2, a 2.7 billion-parameter language model that outperforms larger models, in this comprehensive tutorial video. Learn about the innovative training methods behind Phi-2, including 'textbook-quality' data and scaled knowledge transfer techniques. Follow along as the model is loaded into Google Colab and tested across various tasks such as coding, math, reasoning, and data extraction. Gain insights into Phi-2's performance compared to Mistral and Llama 2, and understand its potential impact on the field of language models. Discover how to set up the environment, use the correct prompt format, and generate text effectively. Dive into practical examples of math problem-solving, coding tasks, and text analysis using Phi-2.
Syllabus
- Intro
- AI Bootcamp on MLExpert.io
- What is Phi-2?
- Phi-2 vs Mistral vs Llama 2
- Phi-2 on HuggingFace Hub
- Google Colab Setup
- Prompt Format
- Text Generation
- Math
- Coding
- Text Analysis
- Conclusion
Taught by
Venelin Valkov
Related Courses
Artificial Intelligence for RoboticsStanford University via Udacity Intro to Computer Science
University of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Web Development
Udacity Programming Languages
University of Virginia via Udacity