Quantization Fundamentals with Hugging Face

External: Coursera Courses ↗ · Coursera

Open Course on External: Coursera

Free to audit · Opens on External: Coursera

Quantization Fundamentals with Hugging Face

Coursera · Beginner ·🧠 Large Language Models ·3mo ago

Key Takeaways

Explores quantization fundamentals for large language models using Hugging Face

Original Description

Generative AI models, like large language models, often exceed the capabilities of consumer-grade hardware and are expensive to run. Compressing models through methods such as quantization makes them more efficient, faster, and accessible. This allows them to run on a wide variety of devices, including smartphones, personal computers, and edge devices, and minimizes performance degradation. Join this course to: 1. Quantize any open source model with linear quantization using the Quanto library. 2. Get an overview of how linear quantization is implemented. This form of quantization can be applied to compress any model, including LLMs, vision models, etc. 3. Apply “downcasting,” another form of quantization, with the Transformers library, which enables you to load models in about half their normal size in the BFloat16 data type. By the end of this course, you will have a foundation in quantization techniques and be able to apply them to compress and optimize your own generative AI models, making them more accessible and efficient.
Watch on External: Coursera ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

📰
Building Your First Model Context Protocol (MCP) Server with TypeScript and Zod
Learn to build a Model Context Protocol (MCP) server with TypeScript and Zod to integrate Large Language Models with external environments
Dev.to AI
📰
Introducing Claude Opus 5 on AWS: Anthropic’s most capable Opus model
Learn about Claude Opus 5, Anthropic's most capable Opus model, and how to integrate it into agentic systems on AWS
AWS Machine Learning
📰
Can AI Keep a Great Mind Alive?
Learn how AI can preserve a great mind's thinking through persona fine-tuning, first-principles reasoning, and mechanistic interpretability
Dev.to AI
📰
Anthropic launches Opus 5
Anthropic's Opus 5 offers a cheaper and less restrictive alternative to Fable, making it a preferable choice for most use cases
TechCrunch AI
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →