Testimonials
Services
About me
Frequently asked questions
What is an open source LLM model?
An open source LLM model is a large language model whose trained weights are released publicly under a license that lets anyone download, run, adapt, and in most cases use it commercially. Instead of renting access through an API, you host the model yourself on your own machine or a cloud server. Popular examples include the Llama, Mistral, Qwen, Gemma, and DeepSeek families. One nuance worth knowing: many of these are technically "open weight" models, so it's always wise to read the license terms before commercial use.
What open source LLMs are there?
The most widely used families are Llama (Meta), Mistral and Mixtral, Qwen (Alibaba), Gemma (Google), Phi (Microsoft), and DeepSeek — each available in multiple sizes, from compact 3–8B models that run on a laptop to large models that need serious GPU hardware. Almost all of these are available as open source LLMs on Hugging Face, where model cards, licenses, and download counts make comparison easy. The right pick depends on your task, your hardware, and whether you need commercial usage rights.
What are the best open source LLMs for coding?
The models developers most commonly shortlist are Qwen2.5-Coder, DeepSeek-Coder, Code Llama, and StarCoder2 — smaller variants work well for autocomplete and inline suggestions, while larger ones handle multi-file generation and refactoring. Because new releases land every few months, the best open source LLMs for coding change quickly, so check recent benchmarks and test two or three against your actual codebase. If you're building a product, confirm the license allows commercial use.
How to run open source LLMs locally?
The simplest route is Ollama or LM Studio: install the tool, pull a quantized model (usually GGUF format), and you're chatting within minutes — a 7–8B model at 4-bit quantization typically runs on a machine with around 8 GB of RAM or VRAM. For more control, llama.cpp works on modest hardware, while vLLM is the standard choice for serving a model to multiple users. At its core, how to run open source LLMs locally boils down to three things: match model size to your memory, quantize, and pick a runtime that fits your use case.
How to use open source LLMs?
There are three common patterns: run one locally with Ollama or LM Studio for private, offline use; expose it through an OpenAI-compatible API using Ollama's serve mode or vLLM so your apps can call it like any LLM endpoint; or build with frameworks like LangChain and LlamaIndex to plug it into RAG pipelines and agents. Many teams experiment locally first and then move to hosted GPUs once they know how to use open source LLMs inside their real production workflow.
Do open source LLMs cost money, and how much does an LLM cost overall?
The model weights themselves are usually free to download, and most can be used commercially depending on the license. What you pay for is everything around the model: a small 7–8B model running on your own laptop costs nothing beyond electricity, while serving bigger models means rented or owned GPUs, and that's where bills start. So when people ask, "How much does an LLM cost?", the honest answer is that the weights are rarely the expense — hardware, hosting, fine-tuning compute, and engineering time are where the money goes.
How does LLM fine-tuning work?
Fine-tuning starts with a pretrained model and continues its training on a smaller, curated dataset so the model adopts a specific tone, format, domain language, or behavior. Full fine-tuning updates every weight and needs serious compute, which is why most people use parameter-efficient methods instead, with LoRA and QLoRA being the most popular. Preference-alignment methods like DPO and RLHF then shape how the model responds rather than what it knows. Together, these are the main LLM fine-tuning techniques you'll encounter, and QLoRA on a single GPU is the realistic starting point for solo builders.
What is LoRA LLM fine-tuning?
LoRA stands for Low-Rank Adaptation — a fine-tuning method that freezes the base model's weights and trains only small adapter matrices inserted inside the network, which slashes memory and compute requirements. In practice, that means you can fine-tune a 7–8B model on a single consumer GPU, especially with QLoRA, which additionally quantizes the frozen base to 4-bit. The resulting adapters are tiny and swappable, so one base model can hold several specialized versions. It's the default entry point for most individual builders and small teams today.
LLM fine-tuning vs RAG: which one should you use?
Think of it this way: RAG solves knowledge problems, fine-tuning solves behavior problems. With RAG, relevant documents are retrieved at query time and injected into the context, so the model stays current and can cite sources without any retraining. Fine-tuning changes the weights themselves, which is what you need for a fixed tone, strict output format, or domain-specific performance that prompting can't achieve. So the real decision in LLM fine-tuning vs RAG is whether your model lacks information (go RAG) or lacks the right behavior (go fine-tuning) — and mature products usually combine both.
How to learn LLM fine-tuning?
Build the foundation first — Python, PyTorch basics, and a high-level understanding of transformers — then move straight into hands-on LLM fine-tuning projects, starting with a QLoRA run on a 7–8B model using free Colab or Kaggle GPUs. The Hugging Face PEFT documentation and community notebooks cover the tooling well. One curated dataset of your own, such as your domain's Q&A or writing samples, will teach you more than passive theory, and once you've shipped one small fine-tune end to end, larger models and advanced techniques become far less intimidating.
How do AI agents work?
An AI agent is an LLM placed inside a loop: it takes a goal, plans the steps, calls tools such as search, code execution, or APIs, observes the results, and keeps iterating until the task is complete — with memory carrying context across steps. This shift from single-shot answers to autonomous, tool-using behavior is what separates agents from plain chatbots. In practice, an agent's reliability depends more on well-designed tools, guardrails, and evaluation than on the size of the underlying model.
How to build AI agents?
Start deliberately small: pick one narrow, repeatable task, give the LLM a tight system prompt, and wire up one or two tools using native function calling — no framework needed at first. Once that works reliably, add memory, error handling, and a simple evaluation loop, and only then reach for orchestration frameworks like LangGraph, CrewAI, or AutoGen for multi-step or multi-agent workflows. The most common mistake in learning how to build AI agents is jumping straight to a complex autonomous system that can't be tested or debugged.
AI agents vs agentic AI: what's the difference?
The terms overlap heavily in practice. AI agents usually refers to individual LLM-powered systems that autonomously complete tasks by planning and using tools, while agentic AI describes the broader paradigm — systems exhibiting agency, often involving multi-step reasoning, multiple cooperating agents, and human oversight at key checkpoints. So when a team debates AI agents vs agentic AI, it's typically a question of scope: one task-specific agent versus an entire agentic workflow or multi-agent system.
What are some real-world examples of AI agents?
Everyday examples of AI agents include coding agents that plan changes and open pull requests, customer-support agents that resolve tickets end to end, research agents that browse and summarize sources, data-analysis agents that write and run queries, and personal assistants that triage email or manage schedules. If you want to see how these are engineered, several open-source AI agents on GitHub — AutoGPT-style projects, CrewAI examples, Open Interpreter — can be run locally and studied line by line.
Is an AI agents course worth it, or should you just start building?
It depends on how it's taught. A good AI agents course compresses weeks of scattered learning into a structured path — tool calling, RAG, memory, evaluation, and deployment — but agents are genuinely learned by building and debugging, not by watching videos. A practical approach is to use a short course for fundamentals and then build two or three small agents on your own. When evaluating any AI agents course, weigh the hands-on projects it makes you ship far more heavily than the certificate it hands out.