About this guide
WebSLM’s current browser app runs selected text models locally. It does not train or fine-tune models. Where a question is about training or agents, the answer explains the concept without implying that feature is in the app.
Small and large language models
1. What is a small language model (SLM)?
An SLM is a language model designed to do useful language tasks with comparatively modest compute and memory. There is no universal parameter-count cutoff for “small”: a model that fits on one laptop may still be large for a phone. What matters for a user is whether the model can run on their hardware and handle their task. For a fuller explanation, see what an SLM is.
2. How is an SLM different from an LLM?
Both can generate and work with language. “SLM” emphasizes a smaller resource budget; “LLM” usually refers to a larger model. A smaller model can be easier to download and run locally, while a larger one may handle a broader range of difficult tasks. Size alone does not establish quality: training data, architecture, task, and evaluation all matter. Compare answers on a task you actually need, rather than choosing by the label.
3. What does the number of parameters mean?
Parameters are the learned numerical weights inside a model. “1B” means roughly one billion parameters. More parameters often require more storage and working memory, but the file size also depends on how the weights are represented. A 1B model is not automatically better than a smaller model for every task; its training and your prompt matter too.
4. What are tokens and a context window?
A token is a piece of text the model processes, often part of a word. The context window is the amount of input and generated text the model can consider in one exchange. A longer window can help with longer documents, but it uses more memory and may be slower. In WebSLM, long attachments are trimmed to what the selected model and settings can read, and the app tells you when that happens.
5. Does running an SLM locally make it private and offline?
Local inference means the model produces the answer on your device. It does not mean every part of the app is offline or sends no data: the first model download, sign-in, updates and optional feedback may use network services. WebSLM’s chat prompts stay on your device, while model files come from Hugging Face and sign-in uses your email. Once the app and a model are cached, chat can work offline while those files remain in browser storage. See the privacy policy and first-run guide.
AI agents
6. What is an AI agent?
An AI agent is software that uses a model to pursue a goal over multiple steps, observes results, and can decide what to do next. It may use tools such as search, code execution or an application API. The word “agent” is used loosely, so look at the actual behavior and permissions instead of the product label. Anthropic’s engineering guide distinguishes fixed workflows from systems where the model directs the process.
7. How is an agent different from a chatbot?
A basic chatbot responds to a message. An agent can carry out a task across several steps, use tools, inspect the outcome and continue. The boundary is not absolute: a chatbot may call a tool, and some products called agents are mainly scripted workflows. Ask whether the system can act, what it can access, and when a person must approve consequential steps.
8. What are tools in an AI agent?
Tools are functions the agent can call to read information or take an action, such as retrieving a document, querying a database or creating a calendar event. Tool results give the model new information; an action tool can change the outside world. The useful design question is which specific permissions the agent needs. Restrict tools to those tasks, validate outputs, and require approval for actions with meaningful consequences.
9. Can a small model power an agent?
Yes, for a well-defined task if the model reliably chooses the right tools and handles their results. A small local model may work for classification, extraction or a narrow workflow; a complicated open-ended task may need a stronger model. Test the complete agent, including failed tool calls and recovery. WebSLM’s browser chat app is a place to try models, not a general-purpose agent builder.
10. Do AI agents need human oversight?
Yes when an error could affect money, records, people or public content. Give the agent the least access it needs, log what it did, and put a human checkpoint before irreversible or high-impact actions. For lower-risk tasks, automated checks may be enough. An agent’s fluent explanation is not evidence that its tool action succeeded; verify the result in the target system.
Fine-tuning, LoRA and QLoRA
11. What is fine-tuning?
Fine-tuning continues training an existing model on examples for a target behavior or task. In supervised fine-tuning, examples commonly pair an input with a desired output. It can help with response format, style or a specialized task, but it needs suitable data and evaluation against a held-out set. It is not a reliable substitute for retrieving current facts. Hugging Face’s SFT guide explains the training format.
12. What is LoRA?
LoRA, or Low-Rank Adaptation, freezes the original model weights and trains a much smaller set of added weights called an adapter. That can reduce the memory and storage needed for fine-tuning compared with updating every model weight. The adapter still depends on a compatible base model. Hugging Face PEFT describes how it works.
13. What is QLoRA?
QLoRA combines a frozen, usually 4-bit quantized base model with trainable LoRA adapters. The lower-precision base reduces memory use during training, while the adapter learns the task. The original QLoRA paper introduced techniques including 4-bit NormalFloat, double quantization and paged optimizers. QLoRA is a training method, not the name of every 4-bit model file.
14. Should I use LoRA or QLoRA?
Start with the model, data and hardware you actually have. If the base model fits comfortably in the precision supported by your training setup, LoRA is simpler. If memory is the obstacle, QLoRA may let you train an adapter over a 4-bit base. Neither method guarantees better answers: compare a baseline and evaluate on examples the model did not train on. Hugging Face’s quantized fine-tuning guide explains the distinction.
15. Should I use RAG or fine-tuning for my documents?
Use retrieval-augmented generation (RAG) when answers should be grounded in documents that change or need citations. A search step selects relevant passages and gives them to the model with the question. Use fine-tuning when you need the model to learn a repeatable behavior, format or task. They can be combined, but start with the simpler approach and test it. Microsoft’s RAG guide gives the same practical distinction.
Quantization and model files
16. What is model quantization?
Quantization stores model numbers with fewer bits. That can reduce download size and memory use, which often makes local inference possible on less powerful hardware. The trade-off is approximation: some tasks may lose accuracy, and speed depends on the format and hardware. Quantization does not reduce the model’s parameter count. Hugging Face’s quantization guide covers common methods.
17. Is 4-bit or 8-bit quantization better?
Four-bit files are usually smaller; eight-bit files usually preserve more numerical detail. Neither is universally “better.” Compare the same base model on your task, and check whether both files fit and run well on your hardware. A file called Q4_K_M is not literally four bits for every stored value; format metadata adds overhead. The llama.cpp quantization notes show example sizes and measurements.
18. What is a GGUF file?
GGUF is a model file format used by llama.cpp and compatible runtimes. It packages model weights and metadata for inference and can contain quantized weights. A GGUF file is not proof that every app supports that model architecture: the runtime must understand its tensors, tokenizer and other features. WebSLM lists only selected GGUF files tested for its browser engine.
19. Can I fine-tune the GGUF file I downloaded for chat?
Usually you start training from the model’s training-compatible weights and tokenizer, not the small GGUF file used for inference. LoRA and QLoRA tools commonly expect a Transformers-compatible base model; after training, an adapter can be merged or loaded with the base, then converted or quantized for a supported inference runtime. There are exceptions, so follow the trainer’s documentation for that architecture. WebSLM’s browser app does not perform this training.
20. How do I choose a model I can actually use?
Check five things: the intended task, file size and working memory, licence, source and model card, and whether your runtime supports the exact architecture and file. Then test a real prompt and inspect the result. The computer-fit guide helps with WebSLM’s browser models; the model directory links to third-party model cards and licences. A listing is not a guarantee of compatibility or rights to use the model.
What this list means. These questions were selected from recurring topics in current public guides and search results. WebSLM has not measured their search volume or established a ranking. The answers describe general concepts and the current WebSLM browser app as of November 2026.