Demoing a Large Language Model running locally on my laptop

Patrick Devaney · Beginner ·🧠 Large Language Models ·2y ago

Key Takeaways

This video shows a large language model running locally on a laptop

Original Description

Model: laser-dolphin-mixtral-2x7b-dpo.Q3_K_M Front-End App: https:/github.com/oobabooga/text-generation-webui Device: hp pavilion laptop 15-cs3xxx Ram:12gb CPU: i5-1035g1 cpu @1ghz Download the model from: https:/huggingface.co/TheBloke/laser-dolphin-mixtral-2x7b-dpo-GGUF/blob/main/laser-dolphin-mixtral-2x7b-dpo.Q3_K_M.GGUF Download the latest release of the text-generation-webui. Extract it to your desired directory. You could also clone it from Github. Downloading this zip resolved an issue with gradio not being recognized by the start executable. Now run the start_linux.sh, start_windows.bat, start_macos.sh, or start_wsl.bat script depending on your OS. Select a GPU manufacturer, in this case none. Cut and paste your model to the models directory in the text-generation webui repository. After downloading all packages for the webui and initializing with with a localhost ip, load the model from within the webui. The token generation rate for Q3_K_M is still not viable for daily use, but the verbosity and accuracy is impressive for this hardware setup.
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

📰
Integrating Open-Weight LLM APIs: A Developer's Guide to Accessible AI
Learn to integrate open-weight LLM APIs into your applications for accessible AI, enabling you to leverage large language models like Llama and Mistral
Dev.to AI
📰
Who’s Afraid of Chinese Models?
The U.S. should focus on developing open alternatives to Chinese AI models, rather than fearing them, to maintain a competitive edge in the AI landscape.
Stratechery
📰
I compared the real cost of running LLMs on AWS - here's when each option makes sense
Learn when to use each AWS option for running LLMs in production and understand their cost implications
Dev.to · Jerzy Kopaczewski
📰
Building a Character-Level Bigram Language Model from Scratch with PyTorch
Learn to build a basic character-level bigram language model from scratch using PyTorch, understanding the fundamentals of neural language modeling
Dev.to · Mohamed Heni
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →