Ollama just made it easier to use AI on your laptop — with no internet required
Your own personal AI assistant offline and free
The free open-source model market just got a whole lot more interesting with the announcement that Ollama can now run HuggingFace GGUF models in an instant.
The GGUF (GPT-Generated Unified Format) model format is a highly optimized file design that was created by the open-source AI community to allow for use on modest-sized consumer hardware.
Typical AI models demand large computers with powerful processors and extreme amounts of memory. By compressing a model into a single GGUF file, it’s easy to download over the internet and can be run on just about any decent home computer. More importantly, they can also be installed and run by non-technical users.
Previously, models had to first be made available through the Ollama library to run and download on your laptop. This makes the whole process easier and HuggingFace says it will work to simplify things even further.
Why is the GGUF format so important?
❤️ You can now run models on 🤗 Hugging Face with Ollama. Let's go open-source and Ollama! 🚀🚀🚀 https://t.co/xMRhM2QAt4 pic.twitter.com/LxJawetyhQOctober 16, 2024
It's probably fair to say that the GGUF format has done more to increase the popularity and availability of open-source AI than just about any other recent development, bar the release of the LlaMA family of models from Meta.
There are currently over 500 GGUF model files stored on HuggingFace to choose from, covering anything from image generation to multilingual chat models.
To make use of the format, users generally have to download their choice of GGUF model, and follow their software client install instructions.
Sign up to get the BEST of Tom's Guide direct to your inbox.
Here at Tom’s Guide our expert editors are committed to bringing you the best news, reviews and guides to help you stay informed and ahead of the curve!
However, this new option provided by HuggingFace (HF) goes one step further — as long as you already have Ollama installed on your machine.
How to use GGUF models with Ollama?
All you have to do is find your desired model on HuggingFace, click on the Use This Model button on the top right of the page, and select Ollama. This will pop up a window with the URL address of the model for copying.
On Windows go to the search bar, enter in ‘cmd’ and hit the enter key. When the terminal window appears, paste in the URL you just copied (ctrl-V)and press enter again. At this point, Ollama will automatically download the model ready for use. Quick, easy and painless. The process on a Mac is more or less the same, just replace cmd with Terminal.
It should be noted that these GGUF files can also be run using a growing variety of user clients. Some of the most popular include Jan, LMStudio and Msty. The format is also supported by the OpenWebUI chat application.
Final thoughts
The world of free open-source AI models continues to advance at a breakneck pace, in part fueled by developments like this. More and more people are finding that they can take advantage of the power and flexibility of small locally run AI, without needing a computer science degree. And the performance is getting better all the time.
For example, there’s a growing community of users who use local GGUF models for specialist applications, such as assisting with their home business or helping with specific language translation tasks.
It’s good to see that open source continues to thrive, even when up against venture capital-backed megacorps.
More from Tom's Guide
- I finally saw a live demo of ChatGPT-4o Voice — if anything it's underhyped
- Microsoft Build 2024: The biggest AI announcements and what they mean for you
- Gemini Live — what features are available now and what is coming soon
Nigel Powell is an author, columnist, and consultant with over 30 years of experience in the technology industry. He produced the weekly Don't Panic technology column in the Sunday Times newspaper for 16 years and is the author of the Sunday Times book of Computer Answers, published by Harper Collins. He has been a technology pundit on Sky Television's Global Village program and a regular contributor to BBC Radio Five's Men's Hour.
He has an Honours degree in law (LLB) and a Master's Degree in Business Administration (MBA), and his work has made him an expert in all things software, AI, security, privacy, mobile, and other tech innovations. Nigel currently lives in West London and enjoys spending time meditating and listening to music.