HuggingLLM (also known as the "Butterfly Book ButterflyBook") is an open-source learning project initiated by the Datawhale community, with the slogan "HuggingLLM, Hugging Future". The project is positioned to lower the threshold for using large language models, so that more non-NLP or non-algorithm professionals can also understand and use large model APIs to create value.
In terms of purpose, the project mainly introduces the principles, usage, and applications of ChatGPT. It hopes to help learners who are interested in ChatGPT, want to use related technologies to develop new products or applications, and have a certain programming foundation get started. The project clearly states that it is not suitable for people who want to study the details of underlying algorithms (such as PPO implementation, replacing with NLPO or ILQL, etc.) or who want to develop a ChatGPT from scratch, nor is it specifically designed for algorithm or NLP engineers.
In terms of main capabilities and content structure, the tutorial focuses on how to use ChatGPT-related APIs (domestic large model APIs can also be used) to create new functions and applications, and provides detailed background and system design introductions for related tasks. The content outline includes: basic popular science of ChatGPT (LM, Transformer, GPT, RLHF); usage guide on similarity matching (Embedding basics, API usage, QA tasks, clustering tasks, recommendation applications); usage guide on sentence and word classification (NLU basics, API usage, document question answering tasks, classification and entity recognition fine-tuning tasks, intelligent dialogue applications); usage guide on text generation (text summarization, text correction, machine translation); usage guide on text reasoning (concepts of reasoning, importing and testing ChatGPT reasoning capabilities, invoking reasoning capabilities, reasoning capabilities of ChatGPT and GPT-4); ChatGPT engineering practice (evaluation, security, network); ChatGPT limitations and shortcomings (factual errors, real-time updates, resource consumption); ChatGPT commercial applications (tool applications such as search, office, education, industry applications such as games, music, retail e-commerce, advertising and marketing, media and news, finance, healthcare, design, film and television, industry).
In terms of usage, the project provides two forms: an e-book and Jupyter Notebook: the docs directory is the electronic version of the book manuscript, and the content directory is the initial version and iterative version of the Notebook. For reading, you can choose docs, and for practice, you can choose content. The tutorial content is relatively independent of each other, and you can read or get started with any content of interest, or study from beginning to end. LearningPrerequisites include being able to normally use the OpenAI API and call gpt-3.5-turbo, or use domestic large-model APIs or open-source large models; no algorithm experience is required, but learners should have some programming foundation or practical project experience. The project also provides suggested study durations: 2-3 days per chapter of the "User Guide," and 6-8 hours for each of the other sections except "Text Reasoning." After completing the study, learners must submit a capstone assignment, which requires describing the application and design process, implementing the relevant functions, and completing an application or demo; directions include a news recommendation reader, a multi-turn customer service robot, a Doc Q&A robot, and a model output content detector, among others.
Regarding applicable scenarios, it is suitable for learners who want to quickly understand the principles of ChatGPT and hands-on build applications with the API, product or application developers with a programming foundation, and people participating in team-based learning who need practical projects for hands-on practice. The project also provides supporting video tutorials on Bilibili and links to supporting courses on Zhihai.
Regarding limitations, the project itself states that it mainly serves as a guide for beginners, and after studying it, one will not become an algorithm engineer; the tutorial cannot cover all details of every knowledge point, and many problems will still be encountered in actual operation. The project uses the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Regarding information such as fees and prices, the materials do not provide it.