AI i LLM
Podstawy LLM
Jak duże modele językowe przewidują kolejne tokeny, czym jest okno kontekstu i skąd biorą się halucynacje.
Artykuł
Podstawy LLM: tokeny, okno kontekstu i przewidywanie następnego słowa
Jak naprawdę działa duży model językowy – od tokenizacji i transformera, przez okno kontekstu i próbkowanie, po koszty, halucynacje i pierwsze wywołanie API w pięciu językach.
Powiązane artykuły
- Prompt engineering: jak pisać instrukcje, które model naprawdę wykona
Anatomia dobrego promptu, kontekst zamiast zaklęć, przykłady, structured outputs zamiast błagania o JSON, effort zamiast „pomyśl krok po kroku” i prompt traktowany jak kod – z przykładami w…
- Lokalne modele językowe: Ollama, llama.cpp, vLLM, kwantyzacja i realne kompromisy
Jak uruchomić otwarty model na własnym sprzęcie, ile pamięci naprawdę potrzebuje, czym jest kwantyzacja i GGUF, skąd bierze się szybkość generowania i kiedy lokalny model ma sens zamiast API. Kod w…
- Embeddingi i bazy wektorowe: wyszukiwanie po znaczeniu
Czym jest embedding, jak liczyć podobieństwo kosinusowe, który model wybrać i jak przechowywać miliony wektorów w pgvector, Qdrant lub Chroma – z kodem w Pythonie, TypeScript, C#, Javie i Go.
- LLMOps: bramka do modeli, cache, limity, obserwowalność i koszty w produkcji
Co dzieje się z aplikacją LLM po demo – bramka (gateway), prompt caching, ponowienia i fallbacki, limity per klient, śledzenie tokenów i kosztów, wersjonowanie promptów i bezpieczne wdrożenia. Z…
Materiały wokół tematu
- Large Language Models explained briefly video · youtube · 3Blue1Brown
- [1hr Talk] Intro to Large Language Models video · youtube · Andrej Karpathy
- LLM Course course · huggingface · Hugging Face
- Let's build the GPT Tokenizer video · youtube · Andrej Karpathy
- Transformers Explained Visually article · web · poloclub.github.io
- Deep Dive into LLMs like ChatGPT video · youtube · Andrej Karpathy
- karpathy/llm.c repo · github · karpathy
- Large language models are having their Stable Diffusion moment article · web · Simon Willison
- OpenCoder: Open Cookbook for Top-Tier Code Large Language Models article · web · opencoder-llm.github.io
- FareedKhan-dev/train-llm-from-scratch repo · github · FareedKhan-dev
- Cerebras-GPT: A Family of Open, Compute-Efficient, Large Language Models article · web · cerebras.net
- Beyond the Hype: A Realistic Look at Large Language Models • Jodie Burchell • GOTO 2024 video · youtube · GOTO Conferences
- Better Call GPT: Comparing large language models against lawyers [pdf] article · web · arXiv.org
- How Meta trains large language models at scale article · web · Engineering at Meta
- Large Language Models and Emergence: A Complex Systems Perspective (Prof. David C. Krakauer) podcast · apple-podcasts · Machine Learning Street Talk (MLST)
- Run an AI Large Language Model (LLM) at home on your GPU video · youtube · mCoding
- The Hidden Bottlenecks Slowing Down Large Language Models video · youtube · Modern Software Engineering
- Large Language Models on the Edge of the Scaling Laws podcast · apple-podcasts · The Real Python Podcast
- Robots in the skies (and they use Transformer models) podcast · apple-podcasts · The Stack Overflow Podcast
- #624: AWS and DeepLearning.AI release "Generative AI with Large Language Models" on Coursera podcast · apple-podcasts · AWS Podcast
- Inside GPT – Large Language Models Demystified - Alan Smith - NDC AI 2025 video · youtube · NDC Conferences
- Hands-On Large Language Models book · openlibrary · Jay Alammar, Maarten Grootendorst
- mlabonne/llm-course repo · github · mlabonne
- imaurer/awesome-llm-json repo · github · imaurer
- Concerto for Java and AI - Building Production-Ready LLM Applications presentation · web · Thomas Vitale
- Concerto for Java and AI - Building Production-Ready LLM Applications (YOW! Australia 2024) presentation · web · Thomas Vitale
- Java and AI: Building Production-Ready LLM Applications (Without the Hype) presentation · web · Thomas Vitale
- Scaling LLM-Based Ranking Systems for Latency-Critical Search & Recommendation Workloads presentation · web · InfoQ
- DeepLearning.AI courses course · web · DeepLearning.AI
- Deep Learning book · openlibrary · Ian Goodfellow, Yoshua Bengio, Aaron Courville, Francis Bach
- Build a Large Language Model (from Scratch) book · openlibrary · Sebastian Raschka
- Deep Learning with Python book · openlibrary · Francois Chollet, Matthew Watson