HuggingFace + Langchain | Chạy hàng nghìn Mô hình AI MIỄN PHÍ tại chỗ

Tác giả: Tech With Tim
Ngày xuất bản: 2025-02-18T00:00:00
Length: 22:59

Today I'm going to show you how to access some of the best models that exist. Completely for free and locally on your own computer. We're going to be doing that in just a few simple lines of code, using Hugging Face and LangChain.

👉 Check out PyCharm, the IDE designed with data and ML professionals in mind: https://jb.gg/check_out_pycharm

👉 Free 3-Month Personal Subscription for PyCharm with “PyCharm2Tim”: https://jb.gg/redeem_code

🎞 Video Resources 🎞

Code In This Video: https://github.com/techwithtim/Langchain-Transformers-Python/tree/main

HuggingFace Models Directory: https://huggingface.co/models

Download CUDA Toolkit: https://developer.nvidia.com/cuda-downloads

Command for Enabling GPU below:

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128

⏳ Timestamps ⏳

00:00 | Overview

00:25 | HuggingFace & LangChain Explained

02:03 | Environment Setup

03:07 | Virtual Environment & Dependencies

06:02 | Adding Your HuggingFace Token

07:30 | Using a Simple Transformer Model

10:35 | Running on GPU

14:00 | Selecting Different Models

16:54 | Example 1 - Text Generation

19:55 | Example 2 - Text Question & Answer

Hashtags

#HuggingFace #LangChain #AIModels

Dịch Vào Lúc: 2025-04-14T11:35:37Z

Yêu cầu dịch (Một bản dịch khoảng 5 phút)

Phiên bản 3 (ổn định)

Tối ưu hóa cho một người nói. Phù hợp cho video chia sẻ kiến thức hoặc giảng dạy.

Video Đề Xuất