HuggingFace + Langchain | Run 1,000s of FREE AI Models Locally

Author: Tech With Tim
Published At: 2025-02-18T00:00:00
Length: 22:59

Summary

Description

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

Translated At: 2025-04-14T11:35:37Z

Request translate (One translation is about 5 minutes)

Version 3 (stable)

Optimized for a single speaker. Suitable for knowledge sharing or teaching videos.

Recommended Videos