5, 10 or 20 seats+ for your team - learn more
Your school district needs you! In this series of liveProjects, you’ll assist them by developing a custom chatbot for teaching students chemistry based on Meta AI’s Llama large language model. To do this, you’ll utilize entirely open-source tools, including llama.cpp, WasmEdge, Git, Qdrant, Python, and Hugging Face. Your model will need to run with very low resources—it needs to work on the school’s outdated computers—and be equipped with an intuitive user interface. Once you’ve developed your foundation, you’ll fine-tune it for knowledge domains and establish a RAG supplemental knowledge base to ensure it can’t hallucinate!
I was impressed with the instructions and how clear they were, especially as the topic is complex.
In this liveProject, you’ll take on the role of a full-stack developer working for a school district. Your district wants to further student learning by developing its own custom large language model (LLM) to assist students, parents, and teachers. Your goal is to develop an MVP of this by creating a chatbot that can answer chemistry questions and provide follow-up answers and conversations. You’ll utilize the open source Llama LLM from Meta AI to do this. Your model will need to run with very low resources—it needs to work on the school’s outdated computers—and be equipped with an intuitive user interface. Let’s get started!
Fine-tuning an LLM is time-consuming and expensive! That’s why your local school district has tasked you with using RAG (Retrieval Augmented Generation) to help improve the capabilities of a chemistry chatbot based on Meta AI’s Laama. RAG allows an LLM to search a database to help answer questions, avoiding any unfortunate hallucinations. You’ll create a vector database for external knowledge for your chatbot’s RAG, establish an RAG API server for it to use, and then deploy your new bot to both the web and Discord.
Your local school district has a basic LLM chatbot based on Llama—now it needs fine-tuning! That’s where you come in. In this liveProject, you’ll utilize the Supervised Fine Tuning (SFT) approach to customize a chemistry chatbot for teaching children. SFT uses question-and-answer pairs to train a model to answer questions with a given answer. To achieve this, you will need to prepare your training data, utilizellama.cpp tools for LORA fine-tuning, and CLI tools to test inference on a fine-tuned model.
I felt the progression laid out by the series was a good set of stepping stones through the subject material
These liveProjects are for software developers and IT professionals who are interested in building LLM applications in their own domains. To begin, you will need to know the following:
geekle is based on a wordle clone.