|
Hi Reader, Most of us access Large Language Models (LLMs) through a web interface, like ChatGPT or Claude. Itโs highly convenient, though there are two potential drawbacks:
One solution is to run an LLM locally, which has gotten much easier with the release of Ollamaโs new app. Iโll tell you all about it below! ๐
๐ง Run AI models locally with OllamaโOllama is a popular open-source project that makes it easy to run LLMs directly on your local machine. Here are the main benefits of Ollama:
Until recently, Ollama was only available for the command line, but last week they released an app that gives you a graphical interface for chatting with models: You can also chat with your files, and some models also support image understanding. Hereโs how to get started with Ollama:
The only challenging aspect is selecting which model to use! There are many models to choose from, and most of them have multiple parameter sizes. For example, hereโs the model page for gemma3: Models size can range from less than 1 GB to hundreds of GBs! Generally, larger models will be higher quality, but they will also require more resources to run. Just a warning: If you have older hardware, it may not be possible to find a model that runs at an acceptable speed while giving high-quality results. But if you find one that works well for you, itโs pretty exciting to be able to run models locally and for free! ๐ Thanks for reading, and feel free to share it with a friend! ๐ค New readers can subscribe here. ๐ - Kevin P.S. Distract your LLM with cats ๐ |
Join 25,000+ intelligent readers and receive AI tips every Tuesday!
Hi Reader, A reader asked me the following question: I am now looking towards a new career. Machine Learning is what I've always found very interesting and fascinating. However, I'd like to ask you: Is there really future for this stuff with all the buzz about LLMs becoming more and more capable all the time? Would time be spent well on learning all this stuff? Read this article online Excellent question! As someone who just published a book on Machine Learning, I clearly believe there is...
Hi Reader, the response to my new Machine Learning book has been outstanding! ๐คฉ My goal with this book is to reach as many people as possible, which is why Iโve made it free to read online as well as keeping the paperback and ebook prices as low as possible. Iโm confident it would be an invaluable resource for any Machine Learning bootcamp or course, since it's a highly practical guide as opposed to focusing mostly on theory. Do you have a personal contact at any bootcamp or university where...
Hi Reader, I'm thrilled to announce that my new book, Master Machine Learning with scikit-learn, is now on sale! Buy from Amazon I poured my heart and soul into making this the highest quality and most practical Machine Learning book available. Publishing this book is a dream come true, and I'd be grateful if you'd consider picking up a copy! ๐ Option 1: Get the paperback from Amazon ($19) Although most technical books of this size (300+ pages) tend to sell for at least $39, I've priced the...