University of Michigan

Llama for Python Programmers

Taught in English

2,654 already enrolled

Course

Gain insight into a topic and learn the fundamentals

Christopher Brooks

Instructor: Christopher Brooks

Intermediate level

Recommended experience

5 hours to complete
3 weeks at 1 hour a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Understand how to use llama.cpp Python APIs to build Llama 2-based large language model (LLM)applications.

  • Learn to run and interact with the Llama 2 large language model on commodity local hardware.

  • Learn to utilize zero- and few-shot prompting as well as advanced methods like grammars in llama.cpp to enhance and constrain Llama 2 model output.

  • Learn about the different Llama 2 model variants: the base model, chat model, and code llama and how to interact with these models in Python.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

April 2024

Assessments

3 assignments

See how employees at top companies are mastering in-demand skills

Placeholder
Placeholder

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Placeholder

There are 3 modules in this course

This module introduces you to Llama 2, highlighting its architecture, training method, and capabilities as a high-quality open-source LLM. This foundational segment prepares you for hands-on learning in the following modules.

What's included

5 videos3 readings1 assignment1 discussion prompt1 ungraded lab

This module unravels Llama 2's intricacies within Python, guiding you through tokenization, the development of Llama 2 applications via llama.cpp, and parameter adjustments for improved interactions.

What's included

4 videos1 reading1 assignment1 ungraded lab

This module begins with a demonstration of zero and few-shot prompting techniques, then moves on to controlling model output for tailored responses. It culminates in practical programming assignments, enabling you to apply your knowledge and showcase your skills in crafting refined Llama 2 applications.

What's included

4 videos3 readings1 assignment1 programming assignment2 ungraded labs1 plugin

Instructor

Christopher Brooks
15 Courses864,020 learners

Offered by

Recommended if you're interested in Software Development

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

New to Software Development? Start here.

Placeholder

Open new doors with Coursera Plus

Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions