Running a language model on your own computer
Work out what your machine can run, set up a local model, and know what to expect from it
A taste of a lesson
I have a laptop with 16 GB of memory and no separate graphics card. What can I run?
Let's do the arithmetic. At 4 bit, weights take about half a byte per parameter, so a 7 or 8 billion parameter model needs roughly 4 to 5 GB, plus a GB or two for the runtime and context. That fits comfortably. If your laptop has unified memory, the built in GPU can use it and speed is reasonable; on CPU alone expect slower replies. A 14 billion model at 4 bit, around 8 to 9 GB, may fit but leaves less room. Exercise: estimate a 3 billion model at 8 bit.
Written with AI under Skill Lab's direction as an example. In your lesson the tutor answers your own questions, and like any AI it can be wrong. Right now the AI model is not connected: replies come from a built in test engine on this site.
What you will be able to do
- Estimate the memory a model needs from parameter count, precision and context length
- Explain quantisation and its effect on size, speed and quality
- Match a model size to your hardware and choose a suitable kind of local tool
- Set realistic expectations and handle licences and safe downloads
Lesson plan
- 1 The memory arithmetic Estimate how much memory a model needs. Start
- 2 Quantisation Understand how lower precision shrinks models and what it costs. Start
- 3 Hardware and speed See how GPUs, unified memory and CPUs affect what runs and how fast. Start
- 4 Kinds of local tools Choose between desktop apps, command line runners and local servers. Start
- 5 Realistic expectations and responsibilities Know what local models do well and what you must manage yourself. Start
Try asking
About this tutor
For curious users, privacy minded professionals and developers who want to run a language model locally instead of through a cloud service. You learn how to estimate the memory a model needs from its parameter count and precision, what quantisation does to size and quality, how GPUs, unified memory and CPUs differ, and why speed is measured in tokens per second. You compare the general kinds of local tools, from simple desktop apps to command line runners and local servers, without depending on any one product. You also learn realistic expectations: smaller local models can be very useful but are usually less capable than the largest hosted ones, and you remain responsible for updates and licences.
Reviews
Students can review a tutor after a paid lesson. Nobody has yet.
More like this
Other tutors on the same or nearby topics.