Загрузка видео...

Не удалось загрузить видео

На главную

Have you used quantization with an open source machine learning library, and wondered how quantization works? How can you preserve model accuracy as you compress from 32 bits to 16, 8, or even 2 bits? In our new short course, Quantization in Depth, taught by Hugging Face's Marc Sun...

198,616 просмотров • 2 лет назад •via X (Twitter)

Комментарии: 10

Фото профиля Quantcheck
Quantcheck2 лет назад

@huggingface Whether it is signal processing, data compression, or machine learning, Quantization plays a crucial role.

Фото профиля Saquib Mehmood
Saquib Mehmood2 лет назад

@huggingface Thanks. Very helpful refresher.

Фото профиля kevlarai
kevlarai2 лет назад

@huggingface I'd love to learn more about this. What are the suggested pre-reqs?

Фото профиля Malik KISSOUM
Malik KISSOUM2 лет назад

@huggingface This is fire 🔥🔥🔥, thank you for making deep learning so fun and accessible

Фото профиля AIxBlock
AIxBlock2 лет назад

@huggingface The detailed approach to understanding and implementing different quantization methods will undoubtedly empower many developers!

Фото профиля Vincent Valentine (CEO of UnOpen.ai)
Vincent Valentine (CEO of UnOpen.ai)2 лет назад

@huggingface @AndrewYNg Fascinating course. Quantization intrigues me - compressing models while retaining accuracy? How does this technique balance resource optimization and performance? Exploring the intricacies seems insightful.

Фото профиля Data & Analytics
Data & Analytics2 лет назад

@huggingface @AndrewYNg Interesting topic! Quantization can be tricky, but preserving model accuracy is key. Have you tried any techniques to maintain accuracy during compression?

Фото профиля GPT.Biz
GPT.Biz2 лет назад

探索量化的奥秘吧,这门课程将带你从理论到实践,了解如何优化模型的存储与计算效率!

Фото профиля GeraDeluxer
GeraDeluxer2 лет назад

@huggingface Thanks a lot for the great AI content 🚀

Фото профиля Michael Guo
Michael Guo2 лет назад

@huggingface I have put this course on my radar for quite some time and thanks for the reminder and I need get it done

Похожие видео

Tokenization -- turning text into a sequence of integers -- is a key part of generative AI, and most API providers charge per million tokens. How does tokenization work? Learn the details of tokenization and RAG optimization in Retrieval Optimization: From Tokenization to Vector Quantization, created in collaboration with Qdrant and taught by its Developer Relations Lead, Kacper Łukawski. This course focuses on Retrieval augmented generation (RAG), which has two steps: First, a retriever finds relevant information; then, the generator uses what’s retrieved as context to produce a response. You’ll learn to optimize the first step (the retriever) by understanding how tokenization works and how it impacts the relevance of your search. In addition, you will also learn to measure and improve retrieval quality, speed, and memory. In detail, you’ll: - Learn about the internal workings of the embedding models and how your text turns into vectors. - Understand how several tokenizers, such as Byte-Pair Encoding, WordPiece, Unigram, and SentencePiece work. - Explore common challenges with tokenizers, such as unknown tokens, domain-specific identifiers, and numerical values, that can negatively affect your vector search. - Understand how to measure the quality of your search across relevance, ranking, and score-related metrics. - Understand how the main parameters in "HNSW", a graph-based algorithm, affect the relevance and speed of vector search, and how to tune its parameters. - Experiment with the three major quantization methods – product, scalar, and binary – and learn how they impact memory requirements, search quality, and speed. By the end of this course, you’ll have a solid understanding of how tokenization functions and how to optimize vector search in your RAG systems. Please sign up here!

Andrew Ng

146,200 просмотров • 1 год назад

New Short Course: Getting Structured LLM Output! Learn how to get structured outputs from your LLM applications in this course, built in partnership with .txt, and taught by Will Kurt, a Founding Engineer, and , Developer Relations Engineer. It's challenging for software to automatically parse through an LLM's freeform text outputs. Structured outputs—like JSON—solve this by converting natural language into consistent, clear, data that a machine can read and process. This course teaches you how to generate structured outputs while building several use cases, including a social media analysis agent. You’ll learn about structured outputs and efficient ways to generate outputs in your defined schema or format. You’ll begin by using structured output APIs, then use re-prompting libraries like “instructor” to generate structured output. Finally, you’ll learn how constrained decoding works; this is a very clever technique in which constraints are applied on each subsequent token generated, blocking any tokens that don’t fit your defined schema. In detail, you’ll: - Learn why structured outputs are important, how they allow for scalable software development, and the different approaches to generate them, including vendor-provided APIs, re-prompting libraries, and structured generation. - Build a simple social media agent using OpenAI’s structured output API, learn how to define a model's desired structured output using Pydantic, and perform basic programming with your outputs, such as importing structured data into a data frame using pandas. - Learn how to use the open-source library "instructor," which checks the structured output of the model and re-prompts the model until it validates the desired output, and explore the limitations of this approach. - Understand how structured generation by the “outlines” library works by modifying LLM logits, on a per-generated-token basis based on the desired format, to give a particular output structure. - Learn how regular expressions, which outlines works with, are represented as finite-state machines, and how they can be used to develop a range of structured outputs beyond JSON. By the end of this course, you’ll have broadened your knowledge of the approaches you can use to get structured outputs from your LLM applications. Please sign up here:

Andrew Ng

89,578 просмотров • 1 год назад