15:57HuggingFace + Langchain | Run 1,000s of FREE AI Models Locally
From the creator
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
Published 2025-02-18 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





