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

📰
The Most Dangerous Question in the Age of AI
In the age of AI, we must remember to ask the right questions, as machines can generate any answer, but not necessarily the correct one
Medium · AI
📰
Automating LLM Memory Validation with Pytest & Redis: 45x Faster Regression Testing
Learn to automate LLM memory validation using Pytest and Redis for 45x faster regression testing
Dev.to · BAOFUFAN
📰
SQLite + Vector Search: The Dependency-Free AI Memory Stack
Learn how to build a dependency-free AI memory stack using SQLite and vector search, enabling efficient and lightweight AI applications
Dev.to · Robert Pelloni
📰
Prompt Injection Explained: The SQL Injection of the AI Era
Learn about prompt injection, a vulnerability in AI systems similar to SQL injection, and how to protect against it
Dev.to · Aahana Mallela
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →