[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-74176":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},74176,"llm_engineering","ed-donner\u002Fllm_engineering","ed-donner","Repo to accompany my mastering LLM engineering course",null,"Jupyter Notebook",6372,6160,119,4,0,38,101,446,114,116,"MIT License",false,"main",true,[],"2026-06-12 04:01:13","# LLM Engineering - Master AI and LLMs\n\n## Your 8 week journey to proficiency starts today\n\n![Voyage](assets\u002Fvoyage.jpg)\n\n_If you're looking at this in Cursor, please right click on the filename in the Explorer on the left, and select \"Open preview\", to view the formatted version._\n\nI'm so happy you're joining me on this path. We'll be building immensely satisfying projects in the coming weeks. Some will be easy, some will be challenging, many will ASTOUND you! The projects build on each other so you develop deeper and deeper expertise each week. One thing's for sure: you're going to have a lot of fun along the way.\n\n## IMPORTANT ANNOUNCEMENT - DECEMBER 2025 - PLEASE READ\n\nThe course material has been completely refreshed with all new weeks. If you'd prefer to stick with the code for the original videos, simply do this from your Anaconda Prompt or Terminal:  \n`git fetch`  \n`git checkout original`\n\nAny questions, please ask me on Udemy or at ed@edwarddonner.com. More details at the top of the course resources [here](https:\u002F\u002Fedwarddonner.com\u002F2024\u002F11\u002F13\u002Fllm-engineering-resources\u002F).\n\n### Before you begin\n\nI'm here to help you be most successful with your learning. If you hit any snafus, or if you have any ideas on how I can improve the course, please do reach out in the platform or by emailing me direct (ed@edwarddonner.com). It's always great to connect with people on LinkedIn to build up the community - you'll find me here:  \nhttps:\u002F\u002Fwww.linkedin.com\u002Fin\u002Feddonner\u002F  \nAnd this is new to me, but I'm also trying out X\u002FTwitter at [@edwarddonner](https:\u002F\u002Fx.com\u002Fedwarddonner) - if you're on X, please show me how it's done 😂  \n\nResources to accompany the course, including the slides and useful links, are here:  \nhttps:\u002F\u002Fedwarddonner.com\u002F2024\u002F11\u002F13\u002Fllm-engineering-resources\u002F\n\nAnd a useful FAQ with common questions is here:  \nhttps:\u002F\u002Fedwarddonner.com\u002Ffaq\u002F\n\n## Instant Gratification instructions for Week 1, Day 1 - with Llama 3.2 **not** Llama 3.3\n\n### Important note: see my warning about Llama3.3 below - it's too large for home computers! Stick with llama3.2 - several students have missed this warning...\n\nWe will start the course by installing Ollama so you can see results immediately!\n1. Download and install Ollama from https:\u002F\u002Follama.com noting that on a PC you might need to have administrator permissions for the install to work properly\n2. On a PC, start a Command prompt \u002F Powershell (Press Win + R, type `cmd`, and press Enter). On a Mac, start a Terminal (Applications > Utilities > Terminal).\n3. Run `ollama run llama3.2` or for smaller machines try `ollama run llama3.2:1b` - **please note** steer clear of Meta's latest model llama3.3 because at 70B parameters that's way too large for most home computers!  \n4. If this doesn't work: you may need to run `ollama serve` in another Powershell (Windows) or Terminal (Mac), and try step 3 again. On a PC, you may need to be running in an Admin instance of Powershell.  \n5. And if that doesn't work on your box, I've set up this on the cloud. This is on Google Colab, which will need you to have a Google account to sign in, but is free:  https:\u002F\u002Fcolab.research.google.com\u002Fdrive\u002F1-_f5XZPsChvfU1sJ0QqCePtIuc55LSdu?usp=sharing\n\nAny problems, please contact me!\n\n## Before the Setup instructions - a special note\n\nEarly on in the course (on Day 2), I give a demo of a very cool, popular product called Claude Code. It's an AI coding tool, similar to Cursor that we use on the course. I'm only showing this as an example of Agentic AI in action; it's not a tool that's covered explicitly on this course, particularly as we're in Cursor. But if you want to use Claude Code yourself, the Quick Start guide from Anthropic is [here](https:\u002F\u002Fdocs.claude.com\u002Fen\u002Fdocs\u002Fclaude-code\u002Fquickstart).\n\n## OK - now on to Setup instructions\n\nAfter we do the Ollama quick project, and after I introduce myself and the course, we get to work with the full environment setup.  \n\nHopefully I've done a decent job of making these guides bulletproof - but please contact me right away if you hit roadblocks:\n\nSetup instructions: [Setup Instructions All Platforms](setup\u002FSETUP-new.md)\n\n### An important point on API costs (which are optional! No need to spend if you don't wish)\n\nDuring the course, I'll suggest you try out the leading models at the forefront of progress, known as the Frontier models. I'll also suggest you run open-source models using Google Colab. These services have some charges, but I'll keep cost minimal - like, a few cents at a time. And I'll provide alternatives if you'd prefer not to use them.\n\nPlease do monitor your API usage to ensure you're comfortable with spend; I've included links below. There's no need to spend anything more than a couple of dollars for the entire course. Some AI providers such as OpenAI require a minimum credit like \\$5 or local equivalent; we should only spend a fraction of it, and you'll have plenty of opportunity to put it to good use in your own projects. During Week 7 you have an option to spend a bit more if you're enjoying the process - I spend about \\$10 myself and the results make me very happy indeed! But it's not necessary in the least; the important part is that you focus on learning.\n\n### Free alternative to Paid APIs\n\nSee [Guide 9](guides\u002F09_ai_apis_and_ollama.ipynb) in the guides directory for the detailed approach with exact code for Ollama, Gemini, OpenRouter and more!\n\n### How this Repo is organized\n\nThere are folders for each of the \"weeks\", representing modules of the class, culminating in a powerful autonomous Agentic AI solution in Week 8 that draws on many of the prior weeks.    \nFollow the setup instructions above, then open the Week 1 folder and prepare for joy.\n\n### The most important part\n\nThe mantra of the course is: the best way to learn is by **DOING**. I don't type all the code during the course; I execute it for you to see the results. You should work along with me or after each lecture, running each cell, inspecting the objects to get a detailed understanding of what's happening. Then tweak the code and make it your own. There are juicy challenges for you throughout the course. I'd love it if you wanted to submit a Pull Request for your code (see the Github guide in the guides folder) and I can make your solutions available to others so we share in your progress; as an added benefit, you'll be recognized in GitHub for your contribution to the repo. While the projects are enjoyable, they are first and foremost designed to be _educational_, teaching you business skills that can be put into practice in your work.\n\n## Starting in Week 3, we'll also be using Google Colab for running with GPUs\n\nYou should be able to use the free tier or minimal spend to complete all the projects in the class. I personally signed up for Colab Pro+ and I'm loving it - but it's not required.\n\nLearn about Google Colab and set up a Google account (if you don't already have one) [here](https:\u002F\u002Fcolab.research.google.com\u002F)\n\nThe colab links are in the folders for Week 3 and Week 7 - if you open up the lab for each day, you'll find a direct link to the colab.\n\n### Monitoring API charges\n\nYou can keep your API spend very low throughout this course; you can monitor spend at the dashboards: [here](https:\u002F\u002Fplatform.openai.com\u002Fusage) for OpenAI, [here](https:\u002F\u002Fconsole.anthropic.com\u002Fsettings\u002Fcost) for Anthropic.\n\nThe charges for the exercsies in this course should always be quite low, but if you'd prefer to keep them minimal, then be sure to always choose the cheapest versions of models:\n1. For OpenAI: Always use model `gpt-4.1-nano` in the code\n2. For Anthropic: Always use model `claude-3-haiku-20240307` in the code instead of the other Claude models\n3. During week 7, look out for my instructions for using the cheaper dataset\n\nPlease do message me or email me at ed@edwarddonner.com if this doesn't work or if I can help with anything. I can't wait to hear how you get on.\n\n\u003Ctable style=\"margin: 0; text-align: left;\">\n    \u003Ctr>\n        \u003Ctd style=\"width: 150px; height: 150px; vertical-align: middle;\">\n            \u003Cimg src=\"assets\u002Fresources.jpg\" width=\"150\" height=\"150\" style=\"display: block;\" \u002F>\n        \u003C\u002Ftd>\n        \u003Ctd>\n            \u003Ch2 style=\"color:#f71;\">Other resources\u003C\u002Fh2>\n            \u003Cspan style=\"color:#f71;\">I've put together this webpage with useful resources for the course. This includes links to all the slides.\u003Cbr\u002F>\n            \u003Ca href=\"https:\u002F\u002Fedwarddonner.com\u002F2024\u002F11\u002F13\u002Fllm-engineering-resources\u002F\">https:\u002F\u002Fedwarddonner.com\u002F2024\u002F11\u002F13\u002Fllm-engineering-resources\u002F\u003C\u002Fa>\u003Cbr\u002F>\n            Please keep this bookmarked, and I'll continue to add more useful links there over time.\n            \u003C\u002Fspan>\n        \u003C\u002Ftd>\n    \u003C\u002Ftr>\n\u003C\u002Ftable>\n","该项目是一个为期8周的大规模语言模型工程课程配套资源库，旨在帮助学习者掌握AI和大规模语言模型的开发。核心功能包括通过一系列精心设计的项目实践，逐步深入地教授相关技术知识与技能，使用Jupyter Notebook作为主要的教学工具。这些项目从基础到进阶，覆盖了构建和优化LLM所需的各种技巧，并特别强调动手操作的重要性。适合希望系统性提升自己在人工智能领域技术水平的学生、开发者以及任何对LLM感兴趣的人士参与。此外，项目提供详细的安装指南和支持文档，确保每位参与者都能顺利开始学习之旅。",2,"2026-06-11 03:49:22","high_star"]