← Back to Tutorials

10. References

Glossary

TermDefinition
LLMLarge Language Model — neural network trained on vast text data
TransformerNeural architecture using self-attention
TokenizationConverting text to subword token IDs
EmbeddingDense vector representation of text
RAGRetrieval-Augmented Generation — ground output in retrieved data
SFTSupervised Fine-Tuning — training on labeled examples
QLoRAQuantized Low-Rank Adaptation — efficient fine-tuning
QuantizationReducing model precision (32-bit to 4-bit)
AgentAI system that uses tools, memory, and planning autonomously

Cheatsheet

# Installation Cheatsheet
pip install ollama                    # Local LLMs
pip install langchain chromadb        # RAG
pip install transformers torch        # HuggingFace
pip install bitsandbytes peft trl     # Fine-tuning
pip install gradio                    # UI
pip install modal                     # Serverless

# Quick inference (HuggingFace)
from transformers import pipeline
pipe = pipeline("text-generation", model="gpt2")
pipe("Once upon a time")

# Quick RAG (LangChain + Chroma)
from langchain.chains import RetrievalQA
qa = RetrievalQA.from_chain_type(llm=llm, retriever=vectorstore.as_retriever())

# Quick fine-tuning (TRL)
from trl import SFTTrainer
trainer = SFTTrainer(model=model, train_dataset=dataset)
trainer.train()

Model Comparison

ModelSizeBest ForAccess
GPT-4oFrontierGeneral, multimodal, codingAPI
Claude 3.5FrontierAnalysis, writing, safetyAPI
Llama 3.21B-90BOpen-source, local deployOllama / HF
Phi-3 / Phi-43.8B-14BEfficient, edge devicesHF / Azure
DeepSeek V3 / R167B-671BReasoning, code, mathAPI / Ollama
Qwen 2.50.5B-72BMultilingual, codeOllama / HF
📘 Congratulations! You've completed the AI Engineer Core curriculum. You can now build LLM products, multi-modal chatbots, RAG pipelines, fine-tune models, and deploy multi-agent systems to production.