TAG · 20 ARTICLES
#llm
Large language models
- AIJev vs LLMs vs fine-tuned classifiers: three ways to put a decision in your codeFast, smart, easy, generalized, cheap. For years you could pick two or three: a general LLM is smart but slow and pricey, a fine-tuned classifier is fast but needs labels, training and upkeep. Here is how Jev, TypeSafe's System One model, compares with both, with real numbers from TypeSafe's docs, and where each one still wins.30 Nov 2026 · 13 min
- JAVACall an LLM API from plain Java with HttpClient and JSONNo framework, no SDK. Just java.net.http.HttpClient, a few records and Jackson. One small client that talks to a local model or a cloud API by changing three settings, with error handling, retries and streaming.17 Nov 2026 · 8 min
- JAVAHow LLMs work: tokens, context windows and temperatureYou don't need the maths. You do need to know why the model forgets everything, why long chats cost more, and which temperature to use. Here is how an LLM works, explained for the Java code you will write.17 Nov 2026 · 9 min
- AIHow to run an LLM on your own computer (a beginner's guide to local LLMs)ChatGPT runs on someone else's computer. With a free tool called Ollama, a real language model can run on yours, privately, offline and with no bill per question. Here is what that means and how to start.15 Nov 2026 · 6 min
- AISystem, user and assistant roles in LLM chat APIs, explained simplyEvery message you send to a chat model carries a role. System sets the rules, user asks, assistant answers. Here is what each one does, who writes it, and why the model's own old answers have to go back in.15 Nov 2026 · 6 min
- AIWhat are AI hallucinations? Why AI makes things up, and how to spot itAn AI chatbot can invent a court case, a policy or a statistic, and say it with total confidence. Here is why that happens, two real cases where it cost people money, and what you can do about it.15 Nov 2026 · 7 min
- AIWhat are weights in AI? The numbers a model learns, explainedEverything an AI model learned is stored as numbers called weights, or parameters. Here is what weights are, how training sets them, why models are described as "8B" or "70B", and what "open weights" means.15 Nov 2026 · 5 min
- AIWhat is a knowledge cutoff in AI? Why chatbots don't know recent newsEvery AI model learned from data collected up to a certain date, and it knows little or nothing after that. Here is what a knowledge cutoff is, why it exists, why models are often unsure of their own, and how to work around it.15 Nov 2026 · 5 min
- AIWhat is a prompt in AI? How to write prompts that workA prompt is whatever you give an AI to work with. Small changes to it can turn a vague answer into a great one. Here is what a prompt is, what a good one contains, simple techniques that work, and the mistakes to avoid.15 Nov 2026 · 6 min
- AIWhat is an AI chatbot? How chatbots work, explained simplyNot every chatbot is AI, and the AI ones don't remember you the way you might think. Here is how chatbots went from fixed menus to ChatGPT, and what really happens when you hit send.15 Nov 2026 · 6 min
- AIWhat is an AI jailbreak? How people trick chatbots, and why it mattersAI chatbots are trained to refuse harmful requests. A jailbreak is an attempt to talk them out of it. Here is how jailbreaks work at a high level, how they differ from prompt injection, and how AI companies defend against them.15 Nov 2026 · 6 min
- AIWhat is fine-tuning in AI? How a model becomes a specialistTraining a large model from scratch costs a fortune. Fine-tuning takes a model that already knows a lot and teaches it one job well. Here is how it works, what LoRA is, and when you should use prompting or RAG instead.15 Nov 2026 · 6 min
- AIWhat is generative AI? How AI creates text, images and codeMost AI used to sort and predict. Generative AI creates something new. Here is what generative AI is, how it makes text and pictures, a short history, and what to watch out for.15 Nov 2026 · 6 min
- AIWhat is inference in AI? Training vs inference explained simplyTraining is how an AI model learns. Inference is every time you actually use it. Here is what happens during inference, why it decides how fast and how expensive AI is, and where it runs.15 Nov 2026 · 6 min
- AIWhat is Ollama? The video player for AI models, and localhost:11434 explainedThe model is the movie. Ollama is the player. Here is what Ollama really is, why everything talks to localhost:11434, and what happens inside when you ask it a question.15 Nov 2026 · 7 min
- AIWhat is quantization in AI? How big models fit on small devicesAn AI model is billions of numbers. Store each number with less precision and the model shrinks to a fraction of its size, often with little loss in quality. Here is how quantization works, what Q4 and Q8 mean, and the trade-offs.15 Nov 2026 · 5 min
- AIWhat is RAG (retrieval-augmented generation)? Explained simplyAn LLM doesn't know your company's documents, and it can't see anything after its cutoff. RAG fixes that by looking up the right information first, then answering from it. Here is how RAG works, step by step, and where it goes wrong.15 Nov 2026 · 6 min
- AIWhat is zero-shot learning? Zero-shot vs few-shot explained simplyZero-shot means an AI handles a task it was never shown examples of. The term has two meanings, one from classic machine learning and one from prompting chatbots. Here are both, with examples, plus one-shot and few-shot.15 Nov 2026 · 5 min
- AIWhat are tokens and embeddings in AI? A beginner's guideAn AI model can't read letters. It reads numbers. Here is how your text becomes tokens, how tokens become embeddings, and how embeddings differ from a model's weights.13 Nov 2026 · 11 min
- AIWhat is a large language model (LLM)? A beginner's guideThe engine behind ChatGPT, Claude and Gemini does one surprisingly simple thing, billions of times over. Here is what it is, how it learns, and why it sometimes gets things wrong.13 Nov 2026 · 12 min