llm-cookbook  by datawhalechina

LLM developer guide and cookbook

created 2 years ago
20,581 stars

Top 2.2% on sourcepulse

GitHubView on GitHub
Project Summary

This repository provides a comprehensive, Chinese-language guide for developers looking to enter the field of Large Language Models (LLMs). It translates, adapts, and reproduces Andrew Ng's LLM course series, offering practical, hands-on tutorials covering prompt engineering, RAG development, and model fine-tuning, tailored for the Chinese developer community.

How It Works

The project structures Andrew Ng's LLM courses into mandatory and elective modules. Mandatory courses cover foundational skills like prompt engineering and building applications with ChatGPT API and LangChain. Elective courses delve into advanced topics such as RAG, model fine-tuning, and using tools like Gradio and Weights & Biases. The approach emphasizes practical code reproduction and provides Chinese prompts to explore LLM performance in a Chinese context.

Quick Start & Requirements

Highlighted Details

  • Offers Chinese translations and adapted code for Andrew Ng's LLM courses.
  • Includes Chinese prompts for comparative study of LLM understanding across languages.
  • Covers a wide range of LLM applications from basic prompt engineering to advanced RAG and fine-tuning.
  • Provides both online reading and PDF formats for core mandatory courses.

Maintenance & Community

The project is led by Datawhale members, with a list of core contributors and content creators provided. Community engagement is encouraged through GitHub issues. Datawhale is an open-source organization focused on data science and AI.

Licensing & Compatibility

  • License: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0).
  • Restrictions: Non-commercial use and requires sharing under the same license. Compatibility with closed-source commercial projects may be restricted due to the non-commercial clause.

Limitations & Caveats

The project's license restricts commercial use. While it aims for broad coverage, specific LLM API integrations beyond OpenAI may require user modifications. The project relies on the continued availability and accessibility of the original Andrew Ng courses.

Health Check
Last commit

1 month ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
1
Star History
1,532 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.