# Start Here

> Key themes I write about: LLM systems and evals, recommendation systems, ML in production, and how to work, write, and grow in tech.

- Author: Eugene Yan
- URL: https://eugeneyan.com/start-here
- Index of the whole site: https://eugeneyan.com/llms.txt

New here? These are topics I [write](https://eugeneyan.com/writing) & [speak](https://eugeneyan.com/speaking) about. Alternatively, browse [tags](https://eugeneyan.com/tag) or [search](https://eugeneyan.com/search).

### Machine Learning Systems in Industry

Exploring ML systems in industry and how they're implemented.

- [Lessons from A year of Building with LLMs](https://applied-llms.org/): As seen on O'Reilly (Parts [1](https://www.oreilly.com/radar/what-we-learned-from-a-year-of-building-with-llms-part-i/), [2](https://www.oreilly.com/radar/what-we-learned-from-a-year-of-building-with-llms-part-ii/), [3](https://www.oreilly.com/radar/what-we-learned-from-a-year-of-building-with-llms-part-iii-strategy/), [book](https://www.oreilly.com/library/view/what-we-learned/9781098176716/))
- [Patterns for LLM Systems](https://eugeneyan.com/writing/llm-patterns): Evals, RAG, fine-tuning, caching, guardrails, defensive UX.
- [Improving RecSys & Search with LLMs](https://eugeneyan.com/writing/recsys-llm): Model architecture, data generation, etc.
- [System Design for RecSys & Search](https://eugeneyan.com/writing/system-design-for-discovery): Offline vs. online, retrieval vs. ranking.
- [Real-time Retrieval](https://eugeneyan.com/writing/real-time-recommendations): Examples from various companies and how to build an MVP.
- [Patterns for Personalization](https://eugeneyan.com/writing/patterns-for-personalization): Via bandits, sequences, graphs, and user embeddings.
- [Reinforcement Learning for Recsys](https://eugeneyan.com/writing/reinforcement-learning-for-recsys-and-search): Long-term rewards and explore-exploit.
- [Bandits for RecSys](https://eugeneyan.com/writing/bandits): Industry examples, warm-start, off-policy evaluation.
- [Search Query Matching](https://eugeneyan.com/writing/search-query-matching): Via lexical, graph, and representation learning methods.
- [Push Notifications](https://eugeneyan.com/writing/push): What to send, what not to send, and how many to send.
- [Content Moderation](https://eugeneyan.com/writing/content-moderation): Collecting labels, data augmentation, cascade pattern, etc.
- [Bootstrapping Data Labels](https://eugeneyan.com/writing/bootstrapping-data-labels): With semi, active, and weakly supervised learning.
- [Feature Stores](https://eugeneyan.com/writing/feature-stores): As a hierarchy of needs (e.g., access, serving, integrity, etc.)
- [Data Discovery Platforms](https://eugeneyan.com/writing/data-discovery-platforms): How they help with find data and open source options.

### Machine Learning Techniques

Surveys on machine learning methods.

- [Prompting Fundamentals](https://eugeneyan.com/writing/prompting): Structured I/O, prefilling, n-shot prompting, CoT, etc.
- [Product Evals in 3 Simple Steps](https://eugeneyan.com/writing/product-evals): Label data, align evaluators, build an eval harness.
- [LLM Evals](https://eugeneyan.com/writing/evals): Evals that actually work for classification, summarization, translation.
- [LLM-Evaluators](https://eugeneyan.com/writing/llm-evaluators): Use cases, techniques, alignment, finetuning, and critiques.
- [Q&A Evals](https://eugeneyan.com/writing/qa-evals): Metrics, how to build datasets and evaluators, and existing benchmarks.
- [Out-of-Domain Finetuning](https://eugeneyan.com/writing/finetuning): How to bootstrap on open data and label fewer samples.
- [Synthetic Data](https://eugeneyan.com/writing/synthetic): For pretraining, instruction-tuning, and preference-tuning.
- [Intuition on Attention](https://eugeneyan.com/writing/attention): Why Q, K, V vectors, multiple heads and layers, etc.
- [Counterfactual Evaluation & IPS](https://eugeneyan.com/writing/counterfactual-evaluation): Aka the observational vs. interventional problem
- [Measuring and Mitigating Position Bias](https://eugeneyan.com/writing/position-bias): Accounting for bias in ordered results.
- [Primer on Language Models](https://eugeneyan.com/writing/nlp-supervised-learning-survey): From RNN to Word2Vec to Transformer to BERT to T5.
- [Primer on Text-to-Image](https://eugeneyan.com/writing/text-to-image): Diffusion, conditioning, guidance, and latent space.

### Machine Learning & Engineering

Practices at the intersection of ML and engineering.

- [ML Design Patterns](https://eugeneyan.com/writing/design-patterns): Patterns in code & systems such as factory, decorator, proxy, etc.
- [ML Design Patterns for Systems](https://eugeneyan.com/writing/more-patterns): HITL, hard mining, reframe, cascade, flywheel, etc.
- [Python Patterns](https://eugeneyan.com/writing/uncommon-python): Lesser seen patterns such as mixins, relative imports, etc.
- [ML Testing](https://eugeneyan.com/writing/testing-ml): Implementation, expected learned behavior, and evaluation metrics.
- [Pipeline Testing](https://eugeneyan.com/writing/testing-pipelines): Managing brittle tests in data & machine learning pipelines.
- [Model Testing](https://eugeneyan.com/writing/unit-testing-ml): Why you shouldn't mock machine learning models in unit tests.
- [Challenges with ML in Production](https://eugeneyan.com/writing/challenges-after-deploying-machine-learning) and [A Practical Guide to Overcome them](https://eugeneyan.com/writing/practical-guide-to-maintaining-machine-learning).
- [Python Project Setup](https://eugeneyan.com/writing/setting-up-python-project-for-automation-and-collaboration): With a workflow of checks that run with each &nbsp;`git push`.

### Weekend Prototypes

I don't get to hack as much as I want, but when I do, they're a ton of fun.

- [Semantic IDs](https://eugeneyan.com/writing/semantic-ids): Training an LLM-RecSys hybrid for steerable recommendations.
- [News Agents](https://eugeneyan.com/writing/news-agents): Automating my daily news flash via agentic workflows.
- [AI Reading Club](https://eugeneyan.com/writing/aireadingclub): Prototyping an AI-powered reading experience.
- [AlignEval](https://eugeneyan.com/writing/aligneval): Building an App to Make Evals Easy, Fun (and Automated? 🤞)
- [AI Coach](https://eugeneyan.com/writing/ai-coach): Talk to Tara, an AI Coach, anytime at [+1 (206) 558 8782](tel:+12065588782).
- [Obsidian Copilot](https://eugeneyan.com/writing/obsidian-copilot): A Prototype Assistant for Writing and Reflecting.
- [LLM UXs](https://eugeneyan.com/writing/llm-ux): Interacting with LLMs with Minimal Chat.
- [RaspberryLLM](https://eugeneyan.com/writing/raspberry-llm): Dr. Seuss headlines, HackerNews trolls, etc.
- [LLMs to Research, Reflect, and Plan](https://eugeneyan.com/writing/llm-experiments): LLMs, document retrieval, and Discord.
- [ApplyingML.com](https://applyingml.com/): Ghost knowledge of applying machine learning.
- [RecSys with Graphs & NLP](https://eugeneyan.com/writing/recommender-systems-graph-and-nlp-pytorch): Node2Vec, Gensim word2vec, PyTorch word2vec.
- [Baseline RecSys in PyTorch](https://eugeneyan.com/writing/recommender-systems-baseline-pytorch): The humble matrix factorization.
- [SortMySkills](https://eugeneyan.com/writing/sortmyskills-is-now-live): Sorting 50 skills to identify your passion and strengths.
- [Image Search](https://eugeneyan.com/writing/image-search-is-now-live): Using image embeddings and cosine similarity.
- [Image Classification](https://eugeneyan.com/writing/image-categorization-is-now-live): Transfer learning via Keras, Theano, and AWS.
- Title Classification: [Data acquisition](https://eugeneyan.com/writing/product-categorization-api-part-1-data-acquisition-and-formatting), [data prep](https://eugeneyan.com/writing/product-categorization-api-part-2-data-preparation), [building a frontend](https://eugeneyan.com/writing/product-categorization-api-part-3-creating-an-api).

### Mechanisms for Business, Product, and Tech Teams

Processes and tools for effective projects and teams.

- [How to Interview ML/AI Engineers](https://eugeneyan.com/writing/how-to-interview): How to run phone screens, loops, and debriefs.
- [Mechanisms for ML Projects](https://eugeneyan.com/writing/mechanisms-for-projects): Pilot & copilot, literature reviews, and more.
- [Mechanisms for technical teams](https://eugeneyan.com/writing/mechanisms-for-teams): Weekly debriefs, learning sessions, WBRs, etc.
- [Weekly 15-5s](https://eugeneyan.com/writing/15-5): Increase visibility and earn trust with this 15-minute habit.
- [Scrum for Data Science](https://eugeneyan.com/writing/what-i-love-about-scrum-for-data-science): Parts of Scrum that fit the data science process well.

### Learning & Career

Practices that worked well for me and general advice.

- [Advice for New Principal Tech ICs](https://eugeneyan.com/writing/principal): Mindset, influence, career growth, and more.
- [How to Run A Weekly Paper Club](https://eugeneyan.com/writing/paper-club): Benefits, and how to read and facilitate papers.
- [Onboarding Effectively](https://eugeneyan.com/writing/onboarding): Mindset, 100-day plan, and balancing learning and doing.
- [Data Science Red Flags](https://eugeneyan.com/writing/red-flags): What to look out for when interviewing with a new team.
- [Influencing without Authority](https://eugeneyan.com/writing/influencing-without-authority): Socratic method, earning trust, finding advocates, etc.
- [Comparing Data/ML Roles](https://eugeneyan.com/writing/data-science-roles): Data/Applied/Research scientist, and ML engineer.
- [Georgia Tech OMSCS FAQ](https://eugeneyan.com/writing/georgia-tech-omscs-faq): A guide to applying for and completing OMSCS.

### Writing Tips

Especially in the context of a career in tech and data.

- [FAQ on my Writing Process](https://eugeneyan.com/writing/writing-faq): Why I write, who I write for, how I write, and more.
- [Paradoxical Rules of Writing](https://eugeneyan.com/writing/paradox): There are many rules and also no rules at all.
- [Writing Why, What, How](https://eugeneyan.com/writing/writing-docs-why-what-how): A framework to make your writing more effective.
- [Design Docs for ML Systems](https://eugeneyan.com/writing/ml-design-docs): Applying Why-What-How to ML design docs.
- [Writing Lessons You Don't Learn at School](https://eugeneyan.com/writing/what-i-did-not-learn-about-writing-in-school): And my writing syllabus.
- [Writing Online for Non-Writers](https://eugeneyan.com/writing/what-i-learned-from-writing-online): First, write for yourself. And other advice.
- [Writing for Tech Careers](https://eugeneyan.com/speaking/writing-for-a-tech-career): Why write, my writing process, and writing at work.

### Featured Talks

Talks that've received the most positive feedback and engagement.

- [AIE World's Fair 2024 Keynote](https://eugeneyan.com/speaking/aie-2024): What We Learned from a Year of Building with LLMs.
- [Netflix PRS 2024](https://eugeneyan.com/speaking/netflix-prs): LLMs-based recommendation experiences—Challenges & Lessons.
- [AIE Summit 2023 Keynote](https://eugeneyan.com/speaking/ai-eng-summit): Lego blocks of LLM systems (evals, RAG, guardrails, etc).
- [RecSys 2022 Keynote](https://eugeneyan.com/speaking/recsys2022-keynote): Is the juice worth the squeeze, for real-time recommendations?
- [System Design for RecSys & Search](https://eugeneyan.com/speaking/mlops-community-recsys): Candidate retrieval and ranking in industry.
- [OLX Product &  Tech Keynote](https://eugeneyan.com/speaking/olx-group-keynote-asia-tech-giants-talk): How Asia's tech giants scale & the SuperApp strategy.

### Ideas & Opinions

Random ideas and unnecessarily strong opinions.

- [In Defence of Simplicity](https://eugeneyan.com/writing/simplicity): Pushing back on the cult of complexity.
- [The 85% Rule](https://eugeneyan.com/writing/when-giving-your-100-gets-you-less-than-85): When pushing harder != better outcomes.
- [Beginner's Mind](https://eugeneyan.com/writing/beginners-mind): A mindset for continued learning and growth.
- [The First Rule of Machine Learning](https://eugeneyan.com/writing/first-rule-of-ml): Start without machine learning.
- [End-to-End Data Science](https://eugeneyan.com/writing/end-to-end-data-science): Why it works and examples from Stitchfix and Netflix.
- [Machine Learning & Life Lessons](https://eugeneyan.com/writing/life-lessons-from-machine-learning): Seven things ML taught me about life.
- [My Seven Habits](https://eugeneyan.com/writing/seven-habits-that-shaped-my-decade): The seven habits that improved my last decade.

### Summaries & Notes

Summaries and [permanent notes](https://eugeneyan.com/writing/note-taking-zettelkasten#permanent-note), tidied up for public consumption.

- [LLM Reading List](https://eugeneyan.com/writing/llm-reading-list): Fundamental papers and their one-sentence summaries.
- [RecSys 2022](https://eugeneyan.com/writing/recsys2022): 3 fav papers, 17 summaries, and many lessons.
- [RecSys 2021](https://eugeneyan.com/writing/recsys2021): Simple models, tech stacks, and ops practices.
- [RecSys 2020](https://eugeneyan.com/writing/recsys2020): Bias, sequential models, bandits, robust offline evaluation.

### Other resources

That are mostly scattered across the internet.

- [applied-llms.org](https://applied-llms.org/): Practical lessons from a year of building with LLMs.
- [applied-ml](https://github.com/eugeneyan/applied-ml): Papers and tech blogs on real-world machine learning in industry.
- [applyingml.com](https://applyingml.com/): Papers, guides, and interviews on how to apply ML effectively.
- [open-llms](https://github.com/eugeneyan/open-llms): Open LLMs available for commercial use.
- [ml-design-docs](https://github.com/eugeneyan/ml-design-docs): Template of design docs for machine learning systems.
- [testing-ml](https://github.com/eugeneyan/testing-ml): Examples of implementation & behavioral tests for ML code.
- [python-collab-template](https://github.com/eugeneyan/python-collab-template): Template with tests, type checks, linting, etc.
- [papermill-mlflow](https://github.com/eugeneyan/papermill-mlflow): Experimentation workflow for machine learning.
- [1-on-1s](https://github.com/eugeneyan/1-on-1s): Questions to ask during 1-on-1s, from my time as a manager.
