Hugging Face in Action
eBook - ePub

Hugging Face in Action

Build intelligent applications with transformers, agents, and RAG

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Hugging Face in Action

Build intelligent applications with transformers, agents, and RAG

About this book

Everything you need to know about using the tools, libraries, and models at Hugging Face—from transformers, to RAG, LangChain, and Gradio.

Hugging Face in Action reveals how to get the absolute best out of everything Hugging Face, from accessing state-of-the-art models to building intuitive frontends for AI apps.

With Hugging Face in Action you’ll learn:

• Utilizing Hugging Face Transformers and Pipelines for NLP tasks
• Applying Hugging Face techniques for Computer Vision projects
• Manipulating Hugging Face Datasets for efficient data handling
• Training Machine Learning models with AutoTrain functionality
• Implementing AI agents for autonomous task execution
• Developing LLM-based applications using LangChain and LlamaIndex
• Constructing LangChain applications visually with LangFlow
• Creating web-based user interfaces using Gradio
• Building locally running LLM-based applications with GPT4ALL
• Querying local data using Large Language Models

Want a cutting edge transformer library? Hugging Face’s open source offering is best in class. Need somewhere to host your models? Hugging Face Spaces has you covered. Do your users need an intuitive frontend for your AI app? Hugging Face’s Gradio library makes it easy to build UI using the Python skills you already have. In Hugging Face in Action you’ll learn how to take full advantage of all of Hugging Face’s amazing features to quickly and reliably prototype and productionize AI applications.

About the technology

Hugging Face is an incredible open-source ecosystem for AI engineers and data scientists, providing hundreds of pre-trained models, datasets, tools, and libraries. It’s also a central hub for collaborating on leading edge AI research. Hugging Face is a massive platform, and this book will help you take full advantage of all it has to offer.

About the book

Hugging Face in Action teaches you how to build end-to-end AI systems using resources from the Hugging Face community. In it, you’ll create multiple projects, including an object detection model, a RAG Q&A application, an LLM-powered chatbot, and more. You’ll appreciate the clear, accessible explanations, along with thoughtful introductions to key technologies like LangChain, LlamaIndex, and Gradio.
What's inside

• How to navigate the huge Hugging Face library of models and tools
• How to run LLMs locally using GPT4ALL
• How to create web-based user interfaces using Gradio
• How to improve models using Hugging Face datasets

About the reader

For Python programmers familiar with NumPy and Pandas. No AI experience required.

About the author

Wei-Meng Lee is a technologist and founder of Developer Learning Solutions.

Table of Contents

1 Introducing Hugging Face
2 Getting started
3 Using Hugging Face transformers and pipelines for NLP tasks
4 Using Hugging Face for computer vision tasks
5 Exploring, tokenizing, and visualizing Hugging Face datasets
6 Fine-tuning pretrained models and working with multimodal models
7 Creating LLM-based applications using LangChain and LlamaIndex
8 Building LangChain applications visually using Langflow
9 Programming agents
10 Building a web-based UI using Gradio
11 Building locally running LLM-based applications using GPT4All
12 Using LLMs to query your local data
13 Bridging LLMs to the real world with the Model Context Protocol

Trusted by 375,005 students

Access to over 1.5 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Publisher
Manning
Year
2025
eBook ISBN
9781638357971

Table of contents

  1. Hugging Face in Action
  2. copyright
  3. contents
  4. preface
  5. acknowledgments
  6. about this book
  7. about the author
  8. about the cover illustration
  9. 1 Introducing Hugging Face
  10. 2 Getting started
  11. 3 Using Hugging Face transformers and pipelines for NLP tasks
  12. 4 Using Hugging Face for computer vision tasks
  13. 5 Exploring, tokenizing, and visualizing Hugging Face datasets
  14. 6 Fine-tuning pretrained models and working with multimodal models
  15. 7 Creating LLM-based applications using LangChain and LlamaIndex
  16. 8 Building LangChain applications visually using Langflow
  17. 9 Programming agents
  18. 10 Building a web-based UI using Gradio
  19. 11 Building locally running LLM-based applications using GPT4All
  20. 12 Using LLMs to query your local data
  21. 13 Bridging LLMs to the real world with the Model Context Protocol

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.5M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Hugging Face in Action by Wei-Meng Lee in PDF and/or ePUB format. We have over 1.5 million books available in our catalogue for you to explore.