Learn AI in Bits

072 - How to Use Open-Weight Models

Learn AI in Bits

Show Notes

What does it mean to use an open-weight AI model instead of just a chatbot through someone else's service? This episode walks through the practical path: finding a model, checking what you're allowed to do with it, running it, and deciding whether to fine-tune it.

An open-weight model makes its trained parameters, or weights, available to download and run, though licenses, training data, and code can each carry their own level of openness, separate from the weights themselves. Developers typically find these models on Hugging Face, a large model and dataset repository where pages include a model card covering intended uses, limitations, evaluations, and licensing, and where some models are gated and require requesting access from the model's authors.

Once you have a model, you choose where to run it: a hosted service, a rented cloud GPU, or your own hardware, where Hugging Face Transformers and tools like llama.cpp can load it and run inference. The episode explains GGUF, the model file format llama.cpp commonly uses, and quantization, which represents weights with fewer bits to reduce memory use and run on consumer hardware, with a quality tradeoff depending on how aggressively the model is compressed.

When a model runs but doesn't behave the way you want, the episode covers fine-tuning: training a pretrained model further on your own examples using Hugging Face's PEFT library and methods like LoRA, or Low-Rank Adaptation, which trains a small set of additional adapter parameters instead of the entire model, and QLoRA, which combines that approach with quantization to cut memory requirements further. It's direct about the tradeoffs too: fine-tuning isn't the right tool for frequently changing information or simple workflows, dataset quality drives the outcome more than any other factor, and downloading a model's weights doesn't cover the separate licensing terms that apply to commercial use. The practical workflow it lays out: pick a model by capability, size, license, and hardware fit, download it, run it as-is, quantize if needed, and only fine-tune once prompting, retrieval, or tools fall short.

Sources & References Hugging Face: Transformers Quickstart — https://huggingface.co/docs/transformers/quicktour Hugging Face: Models — https://huggingface.co/docs/hub/main/models Hugging Face: Model Cards — https://huggingface.co/docs/hub/main/model-cards Hugging Face: Gated Models — https://huggingface.co/docs/hub/models-gated Hugging Face: PEFT Quicktour — https://huggingface.co/docs/peft/quicktour Hugging Face: Parameter-Efficient Fine-Tuning — https://huggingface.co/docs/transformers/peft Hugging Face: LoRA — https://huggingface.co/docs/peft/en/package_reference/lora Hugging Face: Datasets — https://huggingface.co/docs/hub/datasets llama.cpp: GitHub — https://github.com/ggml-org/llama.cpp llama.cpp: Obtaining and Quantizing Models — https://github.com/ggml-org/llama.cpp/blob/master/docs/models.md

Voice narration is AI-generated.

More from Learn AI in Bits

Oct 20, 2026

Recursive self-improvement is the idea that an AI can improve the very process it uses to improve itself, and this episode separates what's been demonstrated so far from the dramatic predictions often attached to the term. It draws a clear line between self-correction (revising one answer), automated optimization (keeping the best of several tested variants), and true recursive improvement, where the system changes the process that generates future improvements, so the next round starts with a better improver.

Oct 19, 2026

This week's AI News Sunday Wrap-Up covers a week where the industry moved on several fronts at once: new flagship and open models, enterprise agent governance, a serious safety warning, legal pressure, and the physical infrastructure limits behind the AI race.

Oct 16, 2026

Meta's Muse story is moving fast, and this episode takes a closer look at Muse Spark, the multimodal reasoning model family behind Meta's push into AI agents, including yesterday's release of an open-weight version for developers.

Oct 15, 2026

When a large language model generates text one token at a time, even a fast GPU hits a sequential bottleneck. This episode explains speculative decoding, an inference technique that prepares several tokens at once and checks them together, and when the extra computation pays off.

Oct 15, 2026

When an AI model answers slowly, the problem usually isn't its intelligence — it's how the serving system moves data through a GPU. This episode goes one level below the basic inference loop covered in an earlier episode, into GPU memory, the key-value cache, attention kernels, and the scheduling techniques used by systems like vLLM and NVIDIA TensorRT-LLM.

See all episodes →