Navigate Select ESC Close

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

2025-02-18 Education
232.2k
5.8k
129
Tech With Tim
Tech With Tim
2.0m subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

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. Download PyCharm and use it for free forever with one month of Pro included: https://www.jetbrains.com/pycharm/ 🎞 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

Top Comments (10)

@mervynwinn1852 2025-02-18

Dude you're truly the GOAT! I'm trying to make an AI language learning app and have been eating up all ur ai chatbot videos as of late 🙏🏾

65 3 replies
@dshyryayev 2025-02-18

After this video I have decided to click "Join" button, this is exactly what I was looking for, Tim, THANK YOU SO MUCH!

15
@TechWithTim 2025-02-18

Download PyCharm and use it for free forever with one month of Pro included: https://www.jetbrains.com/pycharm/

12
@RKHANAI 2025-03-09

bro had forgetten to hide the token second time. btw thanks for sharing this importend topic.

6
@ethercreatures 2025-07-11

Never mind. Python need torch and hf_xet installed.

4
@airgrade1 2025-04-15

Signed up with your link. Thanks for the Share and I am getting a lot out of your videos.

1
@domwilson-rx4ky 2025-04-05

nice 360 no scope at the end lol

1
@thequiickbrownfox 2025-08-02

man this clearly helped with lot of doubts i was having. thank you

0
@amentor-u7w 2025-07-12

this is 🔥 I’ve been doing similar with genum ai locally and it’s wild how much you can unlock with hugging face + langchain combo

0
@masrur_qr 2026-02-20

Cool Turt Tim )))

0

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot