Beginning Llamafile for Local Large Language Models (LLMs) (Coursera)

Offered by Duke University,
Beginning Llamafile for Local Large Language Models (LLMs) (Coursera)

Learners will gain the skills to serve powerful language models as practical and scalable web APIs. They will learn how to use the llama.cpp example server to expose a large language model through a set of REST API endpoints for tasks like text generation, tokenization, and embedding extraction.

Class Deals by MOOC List - Click here and see Coursera's Active Discounts, Deals, and Promo Codes.

The course dives into the technical details of running the llama.cpp server, configuring various options to customize model behavior, and efficiently handling requests. Learners will understand how to interact with the API using tools like curl and Python, allowing them to integrate language model capabilities into their own applications.
Throughout the course, hands-on exercises and code examples reinforce the concepts and provide learners with practical experience in setting up and using the llama.cpp server. By the end, participants will be equipped to deploy robust language model APIs for a variety of natural language processing tasks.
The course stands out by focusing on the practical aspects of serving large language models in production environments using the efficient and flexible llama.cpp framework. It empowers learners to harness the power of state-of-the-art NLP models in their projects through a convenient and performant API interface.

What you'll learn

  • Learn how to serve large language models as production-ready web APIs using the llama.cpp framework
  • Understand the architecture and capabilities of the llama.cpp example server for text generation, tokenization, and embedding extraction
  • Gain hands-on experience in configuring and customizing the server using command line options and API parameters

Syllabus

Getting Started with Mozilla Llamafile
This week, you run language models locally. Keep data private. Avoid latency and fees. Use Mixtral model and llamafile.

Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

Data Science for Business Innovation (Coursera) Coursera
Politecnico di Milano,EIT Digital

Data Science for Business Innovation (Coursera)

The course is a compendium of the must-have expertise in data science for executive and middle-management to foster data-driven innovation. It consists of introductory lectures spanning big data, machine learning, data valorization and communication. Topics cover the essential concepts and intuitions on data needs, data analysis, machine learning methods, respective pros and cons, and practical applicability issues.

Nov 16th 2026
4 Weeks
Sistemas difusos (Coursera) Coursera
Universidad Nacional de Colombia

Sistemas difusos (Coursera)

Los sistemas difusos permiten efectuar cálculos cuando hay información con incertidumbre, o cuando se debe combinar información tanto cuantitativa como cualitativa. Se trata de una aproximación matemática para modelar esas situaciones. Este curso está diseñado para ayudar a entender y explicar cómo funcionan dichos sistemas. El curso tiene una aproximación teórica y práctica. Los principios matemáticos son de un nivel bajo y están al alcance de un público muy amplio. El curso cuenta con varios laboratorios para aprender a utilizar las herramientas de software que usan esos principios. Este componente práctico requiere una comprensión mínima de programación.

Nov 16th 2026
4 Weeks
AI Concepts and Strategy (Coursera) Coursera
Rutgers University

AI Concepts and Strategy (Coursera)

Artificial intelligence (AI) is rapidly evolving as a multidimensional paradigm, with critical implications for individuals, communities, organizations, businesses, national and regional economies and human society at large. This unique course will help you understand AI on three dimensions: Practice, Principles & Strategy. The course is introductory in nature but will provide a reasonably rigorous learning experience towards gaining a state of the art applied and philosophical overview of AI.

Nov 16th 2026
4 Weeks
End to End LLMs with Azure (Coursera) Coursera
Duke University

End to End LLMs with Azure (Coursera)

This comprehensive course equips you with skills to leverage Azure for building and deploying Large Language Model (LLM) applications. Learn to use Azure OpenAI Service for deploying LLMs, utilizing inference APIs, and integrating with Python. Explore architectural patterns like Retrieval-Augmented Generation (RAG) and Azure services like Azure Search for robust applications.

Nov 16th 2026
1 Week
Practical Machine Learning on H2O (Coursera) Coursera
H2O.ai

Practical Machine Learning on H2O (Coursera)

In this course, we will learn all the core techniques needed to make effective use of H2O. Even if you have no prior experience of machine learning, even if your math is weak, by the end of this course you will be able to make machine learning models using a variety of algorithms. We will be using linear models, random forest, GBMs and of course deep learning, as well as some unsupervised learning algorithms.

Nov 9th 2026
5-12 Weeks
AI for Decision Makers (Coursera) Coursera
Fred Hutchinson Cancer Center

AI for Decision Makers (Coursera)

This course on AI for Decision Makers explores the growing use of AI across disciplines and its potential benefits and challenges. The course covers necessary context, such as discussing what AI is, how it works, Ethical considerations, and policy considerations. Through exploring the many AI possibilities at your fingertips, you will build leadership skills for helping your business, lab, organization, or community work more efficiently, creatively, and ethically.

Nov 16th 2026
5-12 Weeks
AI-Driven Attribution Testing (Coursera) Coursera
Board Infinity

AI-Driven Attribution Testing (Coursera)

Welcome to AI-Driven Attribution Testing course an engaging and comprehensive course designed to guide you through the fundamental concepts and practical applications of attribution testing powered by artificial intelligence. This course is most suitable for marketers, data analysts, data scientists, and business leaders who aim to leverage data-driven insights for decision-making. It's also beneficial for students and professionals with a keen interest in the convergence of AI, data analysis, and marketing.

Nov 16th 2026
2 Weeks
Machine Learning for Smart Beta (Coursera) Coursera
Sungkyunkwan University - SKKU

Machine Learning for Smart Beta (Coursera)

In this 4 week course, you will learn about Smart Beta products. Smart betas products have the characteristics of both passive investment(having predetermined rules) and active investments(allows for factor investment). We will walk through the creation mechanisms behind different smart beta products and recreate some of them using R programming.

Nov 16th 2026
4 Weeks
AI for Course Design (Coursera) Coursera
University of Colorado Boulder

AI for Course Design (Coursera)

AI for Course Design is designed for instructional designers and educators and focuses on practical skills in working with generative AI for course development. Throughout the course, you'll learn to define and differentiate between AI concepts, navigate various AI models, and utilize AI tools for course creation. The course also covers ethics and limitations of AI in education, enabling you to effectively incorporate AI into your teaching methods.

Nov 16th 2026
4 Weeks
Prompt Engineering for ChatGPT (Coursera) Coursera
Vanderbilt University

Prompt Engineering for ChatGPT (Coursera)

ChatGPT and other large language models are going to be more important in your life and business than your smartphone, if you use them right. ChatGPT can tutor your child in math, generate a meal plan and recipes, write software applications for your business, help you improve your personal cybersecurity, and that is just in the first hour that you use it. This course will teach you how to be an expert user of these generative AI tools. The course will show amazing examples of how you can tap into these generative AI tools' emergent intelligence and reasoning, how you can use them to be more productive day to day, and give you insight into how they work.

Nov 16th 2026
5-12 Weeks