1. How to use this document
You will not read this end-to-end. Use it like a dictionary with a learning path on top.
- Day 1 of your co-op: skim sections 2–4 (Prerequisites, Suggested Path, the Practical N list).
- When you hit an unfamiliar term:
Cmd-Fthe term in section 5. - When you want vision-specific concepts: jump to the sister Vision Models Quick Reference (link in the navbar).
2. Prerequisites
Prerequisite knowledge:
- Python: most ML tooling (PyTorch, Hugging Face, Ultralytics, Roboflow SDK) is Python-first.
- Basic ML/Vision concepts: training vs. inference, precision/recall, bounding boxes, object detection.
- Command line:
pip install, running scripts, managing GPU drivers (nvidia-smi). - Docker (for self-hosting): running the Roboflow Inference Server requires
docker run. - Basic linear algebra & probability (helpful): dot products, softmax, sampling (temperature, top-k).
Hardware: a laptop with at least 8 GB RAM for running small models on CPU (via Ollama/llama.cpp) is sufficient for learning. A GPU (T4 or better) is needed for training. For edge deployment, a Raspberry Pi 5 or Jetson Orin.
3. Suggested learning path (5 steps)
Do these in order. Each step builds practical AI and deployment skills from scratch.
Step 1 — Train your first vision model from end to end
Upload images to Roboflow, annotate objects, apply preprocessing/augmentations, and train a YOLOv8 model. Learn the annotation → training → export pipeline end to end.
Step 2 — Run inference locally and on edge
Export the model to ONNX, wrap it with a Python script, and run inference on a webcam feed. Then deploy the same model on a Raspberry Pi or Jetson using ONNX Runtime or TensorRT.
Step 3 — Add LLMs and foundation models
Run an LLM locally with Ollama or llama.cpp. Use CLIP for zero-shot classification. Chain a detection model with an LLM for descriptions or Q&A about detected objects.
Step 4 — Build an automated data pipeline
Use Roboflow's API to upload images, trigger re-training, and deploy updated models. Set up active learning where the model flags uncertain predictions for human review.
Step 5 — Deploy as a production service
Self-host Roboflow Inference with Docker. Add a web dashboard showing live detections. Connect the pipeline to MQTT, ROS 2, or a database. Model versioning and rollback via Roboflow.
4. The Practical 11 — read these first
If you only read 11 entries in this glossary, read these. They cover ~90% of what you'll see in your first month on a microcontroller project.
Each entry: a one-line definition, then a practical note in italics that says what it means on the bench. Entries marked 🔥 are the practical-11.
A
2 termsActive Learning (Roboflow)
#C
2 termsChat Template
#<|im_start|>user
...<|im_end|>, <s>[INST] ... [/INST], or ### Human: ... ### Assistant: .... Practical: Using the wrong chat template produces gibberish output. Hugging Face's tokenizer.apply_chat_template() handles this correctly for most models. When self-hosting with llama.cpp or vLLM, check the model card for the template string. See also: Token / Tokenizer, LLM (Large Language Model), Prompt Engineering.Context Window
#D
2 termsDataset Management (Roboflow)
#pip install roboflow) lets you download datasets programmatically: from roboflow import Roboflow; rf = Roboflow(api_key); project = rf.workspace().project('my-project'); dataset = project.version(1).download('yolov8') See also: Preprocessing / Augmentations, Model Versioning (Roboflow), Roboflow Inference.Deployment (Roboflow Inference)
#docker run -it --rm --net=host roboflow/roboflow-inference-server:latest. Self-hosted supports GPU acceleration (NVIDIA, Jetson), runs on Raspberry Pi (CPU, 5–15 FPS with YOLOv8n), and works offline. Both expose the same REST API: POST /infer/{project_id}/{version}. See also: Roboflow Inference, Dataset Management (Roboflow), Model Versioning (Roboflow).E
2 termsEmbeddings
#text-embedding-3-small (OpenAI, 1536-d), all-MiniLM-L6-v2 (384-d, runs on CPU). Use cosine similarity for comparing embeddings. See also: Token / Tokenizer, RAG (Retrieval-Augmented Generation), LLM (Large Language Model).Export Formats (Roboflow)
#F
1 termFine-Tuning
#G
1 termGGUF / GPTQ / AWQ (Quantization Formats)
#llama.cpp — runs on CPU (or partially on GPU). GPTQ is GPU-only, 4-bit, requires a calibration dataset. AWQ is similar to GPTQ but with better activation-aware quantization. Practical: For a laptop without a powerful GPU, use GGUF Q4_K_M (4-bit, ~4.5 GB for a 7B model) with llama.cpp or Ollama. For GPU inference, use AWQ or GPTQ — both run on a single 8 GB VRAM card for 7B models. Quantization adds 5–15% inference overhead but reduces memory by 4×. See also: Quantization, LLM (Large Language Model), Inference Server.H
1 termHallucination
#I
1 termInference Server
#ollama pull llama3.2:3b, curl localhost:11434/api/generate — done in 10 minutes). For production, use vLLM with AWQ-quantized models on at least one A10G GPU. All of these expose the same /v1/chat/completions endpoint that OpenAI uses. See also: LLM (Large Language Model), GGUF / GPTQ / AWQ (Quantization Formats), OpenAI Compatible API.L
3 termsLLM (Large Language Model)
#LoRA (Low-Rank Adaptation)
#from peft import LoraConfig, get_peft_model. Merge the LoRA weights into the base model for deployment (model = model.merge_and_unload()). See also: Fine-Tuning, Quantization, LLM (Large Language Model).Labeling (Roboflow)
#M
1 termModel Versioning (Roboflow)
#POST /infer/project_id/4 runs version 4. You can compare any two versions side by side on the “Versions” page. This is the closest thing to Git for vision models. See also: Deployment (Roboflow Inference), Dataset Management (Roboflow), Roboflow Inference.P
1 termPrompt Engineering
#You are a helpful robotics assistant. Answer based only on the provided context. If unsure, say “I don't know”. Format responses as markdown.. For deterministic output, set temperature = 0. See also: LLM (Large Language Model), Temperature / Top-k / Top-p, Chat Template.Q
1 termQuantization
#R
3 termsRAG (Retrieval-Augmented Generation)
#Roboflow Inference
#pip install inference gives you the Python SDK. Or run the Docker container: docker run -it -p 9001:9001 roboflow/roboflow-inference-server:latest. Supports GPU acceleration (CUDA, Jetson), CPU-only mode, and edge devices (Raspberry Pi, NVIDIA Jetson). pip install inference-cli && inference server start is the quickest path for a local server. The API is OpenAI-style compatible for GPT-4o vision tasks. See also: Deployment (Roboflow Inference), Dataset Management (Roboflow), YOLOv8 / YOLOv11.Roboflow Universe
#S
2 termsStructured Output / JSON Mode
#--grammar, Outlines library), (3) function/tool calling (OpenAI tools parameter, cohere's tool use). Practical: For production, use constrained decoding — it guarantees valid JSON and avoids the 5–15% failure rate of prompting alone. llama.cpp supports GBNF grammars; Outlines works with any Hugging Face model. Function calling is the easiest path for API-hosted models. See also: Prompt Engineering, LLM (Large Language Model), Inference Server.Self-Hosted Inference (Edge / IoT)
#inference Python package can also run without Docker for lightweight setups. See also: Deployment (Roboflow Inference), Export Formats (Roboflow), Roboflow Inference.T
4 termsTemperature / Top-k / Top-p
#Token / Tokenizer
#AutoTokenizer handles this automatically. See also: Context Window, LLM (Large Language Model), Embeddings.Tool Calling / Function Calling
#tools parameter), Anthropic Claude, and open models via the OpenAI-compatible API. For local models, use the --grammar feature of llama.cpp or Ollama's tool-calling support. The model needs to be fine-tuned for reliable tool calling — not all base models support it out of the box. See also: Structured Output / JSON Mode, LLM (Large Language Model), Prompt Engineering.Transformer Architecture
#U
1 termUltralytics HUB Integration
#.pt file) directly. For the fastest path: annotate in Roboflow, train in one click with Roboflow Train, deploy to the hosted API — all within the Roboflow web UI. See also: YOLOv8 / YOLOv11, Roboflow Inference, Dataset Management (Roboflow).W
1 termWebhook / Callback (Roboflow)
#No matches
Try a different term, or press Esc to clear the search.
6. Quick reference tables
6.1 Popular model architectures
| Model | Task | Size | Framework |
|---|---|---|---|
| YOLOv8 / v11 | Object detection | 3–100 MB | PyTorch, ONNX, TensorRT |
| SAM 2 | Image segmentation | ~350 MB | PyTorch, ONNX |
| CLIP | Zero-shot classification | ~600 MB | PyTorch, ONNX |
| LLaMA / Qwen | LLM (text gen) | 3–70B params | GGUF, vLLM |
| ResNet / MobileNet | Classification | 5–30 MB | PyTorch, ONNX |
| ViT (Vision Transformer) | Classification | ~350 MB | PyTorch, ONNX |
6.2 Roboflow ecosystem
| Tool | Purpose | Access |
|---|---|---|
| Roboflow Universe | Public dataset hub | Free |
| Roboflow Annotate | AI-assisted image annotation | Web UI |
| Roboflow Train | Cloud model training | Credit-based |
| Roboflow Inference | On-prem or cloud inference | Self-hosted / API |
| Roboflow Deploy | Edge device deployment | Docker / SDK |
| Roboflow API | Programmatic dataset management | REST |
7. Further reading
- 🔥 Roboflow docs — docs.roboflow.com
- 🔥 Ultralytics YOLO docs — docs.ultralytics.com
- 🔥 ONNX Runtime — onnxruntime.ai
- 📚 Hugging Face Transformers — huggingface.co
- 📚 Roboflow Inference GitHub — github.com/roboflow/inference
Last updated: July 2026. Maintained as a living document — if a term on your co-op isn't here, add it.