This article shares practical tips for fine tuning large language models with low rank adaptation, drawn from experiments.
Patterns for Building LLM-based Systems & Products
This article outlines patterns for building LLM systems, covering evaluation, retrieval augmented generation, fine tuning, caching, and guardrails.

About Patterns for Building LLM-based Systems & Products
This article describes seven patterns for integrating large language models into systems and products: evals, RAG, fine-tuning, caching, guardrails, defensive UX, and collecting user feedback. The patterns are organized by improving performance versus reducing cost and risk, and by proximity to data versus proximity to the user.
It defines evals as measurements, including benchmark data and metrics, used to assess performance and detect regressions. It discusses benchmarks such as MMLU, EleutherAI Eval, HELM and AlpacaEval, and mentions metrics such as BLEU, ROUGE, BERTScore and MoverScore.
Key features
- Explains evals to measure performance and detect regressions
- Describes RAG to add recent, external knowledge
- Covers fine-tuning for specific tasks
- Explains caching to reduce latency and cost
- Describes guardrails to ensure output quality
- Covers defensive UX and collecting user feedback
- Organizes patterns by performance versus cost/risk and data versus user proximity
- Draws on academic research, industry resources and practitioner know-how
- Describes evaluation benchmarks and metrics such as MMLU, HELM and BLEU
Patterns for Building LLM-based Systems & Products at a glance
- Official website
- eugeneyan.com/writing/llm-patterns
- Type
- Publication
- Platforms
- Web
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
Similar publications
Other listings in Science, Math & Technology with the most in common.
This guide explains how to run LLMs locally with llama.cpp across different hardware.
Stanford MLSys Seminar Series presents talks on systems for machine learning and includes a podcast.
Open-access peer-reviewed edited volume edited by Witold Kosinski, presenting improvements and concepts in evolutionary algorithms with chapters readable online.
Popular in Science, Math & Technology
Well-known listings from the same topic.
Patterns for Building LLM-based Systems & Products FAQ
What patterns does the article cover?
What are evals according to the article?
How are the patterns organized?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.










