Coder Social home page Coder Social logo

ksm26 / quantization-fundamentals-with-hugging-face Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 210 KB

Learn linear quantization techniques using the Quanto library and downcasting methods with the Transformers library to compress and optimize generative AI models effectively.

Home Page: https://www.deeplearning.ai/short-courses/quantization-fundamentals-with-hugging-face/

Jupyter Notebook 100.00%
compression generative-ai hugging-face linear-quantization model-compression optimize quantization transformers-library downcasting quanto-library model-deployment model-optimization quantization-fundamentals

quantization-fundamentals-with-hugging-face's Introduction

๐Ÿ’ป Welcome to the "Quantization Fundamentals with Hugging Face" course! Instructed by Younes Belkada and Marc Sun, Machine Learning Engineers at Hugging Face, this course will equip you with the knowledge and skills to compress and optimize generative AI models using quantization techniques.

Course Summary

In this course, you'll dive into the fundamentals of model quantization, a crucial technique for compressing and optimizing generative AI models like large language models (LLMs). Here's what you can expect to learn and experience:

  1. โš™๏ธ Linear Quantization: Learn how to quantize any open-source model with linear quantization using the Quanto library, gaining an understanding of its implementation and applicability to various types of models, including LLMs and vision models.
  2. ๐Ÿ”„ Downcasting: Explore downcasting, another form of quantization, with the Transformers library, enabling you to load models in about half their normal size in the BFloat16 data type.
  3. ๐Ÿ’ก Hands-on Practice: Practice quantizing open-source multimodal and language models, gaining practical experience in compressing and optimizing generative AI models.

Key Points

  • ๐ŸŽฏ Gain proficiency in compressing models using the Hugging Face Transformers library and the Quanto library.
  • ๐Ÿง  Understand the concepts and implementation of linear quantization, a powerful method for compressing models while maintaining performance.
  • ๐Ÿ› ๏ธ Apply quantization techniques to optimize and make generative AI models more accessible and efficient.

About the Instructors

๐ŸŒŸ Younes Belkada and Marc Sun are both Machine Learning Engineers at Hugging Face, bringing extensive expertise in model compression and optimization to guide you through this course.

๐Ÿ”— To enroll in the course or for further information, visit deeplearning.ai.

quantization-fundamentals-with-hugging-face's People

Contributors

ksm26 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.