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

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

78.860 Lượt nghe
HuggingFace + Langchain | Run 1,000s of FREE AI Models Locally
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