SuperAPIAI Directory

self-llm

github.com · AI developer platforms

The "Open-Source Large Model Cookbook" is an open-source large model tutorial project by Datawhale aimed at domestic beginners and based on the Linux platform. Targeting various open-source large language models (LLMs) and multimodal large models (MLLMs), the project provides full-process guidance from environment configuration and local deployment to efficient fine-tuning (full-parameter fine-tuning, LoRA, ptuning, etc.), aiming to lower the barrier to using open-source large models and help ordinary students, researchers, and developers get started quickly. The tutorial covers mainstream domestic and international models such as LLaMA, ChatGLM, InternLM, and Qwen, has already supported 50+ mainstream large language models, and has expanded to hardware platforms such as AMD GPU, Ascend NPU, and Moore Threads MUSA. The project centers on tutorial content and encourages community co-construction; anyone can submit an issue or PR to participate in maintenance.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

The "Open-Source Large Model Cookbook" (self-llm) is a large model tutorial project centered on open-source large models, aimed at domestic beginners, and based on the Linux platform, maintained by the Datawhale community. The project aims to simplify the deployment, use, and application processes of open-source large models, enabling more ordinary students, researchers, and developers to better use open-source large models.

Purpose: This project mainly provides full-process learning tutorials for open-source large models, covering environment configuration, local deployment, efficient fine-tuning, and other stages, helping users master the use of open-source large models from scratch.

Main capabilities:

  1. Environment configuration guide: Based on the Linux platform, providing detailed environment configuration steps for the requirements of different models.
  2. Model deployment tutorials: Covering the deployment and use of mainstream domestic and international open-source LLMs (such as LLaMA, ChatGLM, InternLM, etc.), including application guidance such as command-line invocation, online Demo deployment, and LangChain framework integration.
  3. Fine-tuning methods: Providing tutorials on full fine-tuning, efficient fine-tuning (LoRA, ptuning, etc.), and distributed full fine-tuning.
  4. Multi-hardware platform support: Already supports AMD GPU (ROCm environment configuration and deployment, including LM Studio / vLLM / Ollama / llama.cpp), Ascend NPU, and Moore Threads MUSA platforms, and provides corresponding environment configuration, model inference, and LoRA fine-tuning tutorials; Apple M series devices have been tested.
  5. Broad model coverage: Already supports 50+ mainstream large language models, with each model providing complete deployment, fine-tuning, and usage tutorials.
  6. Application cases: Including example projects such as Chat-Huanhuan (a chat model fine-tuned with LoRA based on the "Empresses in the Palace" script), Tianji (a full-process application tutorial for social scenarios), AMChat (an advanced mathematics problem-solving model), and Digital Life (personalized digital human fine-tuning).

Usage: The project is organized in the form of tutorial documents, and users can proceed step by step according to the learning suggestions: first learn environment configuration, then learn model deployment and use, and finally learn fine-tuning. Beginners can choose models such as Qwen1.5, InternLM2, and MiniCPM for priority learning. The project encourages community co-construction; anyone can raise an issue or submit a PR to participate in maintenance.

Applicable scenarios:

  • Users who want to use or experience LLMs but have no conditions to obtain or use the relevant APIs;
  • Users who want to apply LLMs on a large scale over the long term and at low cost;
  • Developers who are interested in open-source LLMs and want to get hands-on;
  • Students who are studying NLP and hope to further study LLMs;
  • Teams that hope to combine open-source LLMs to build domain-specific private models;
  • The broad community of ordinary students.

Limitations: The project is mainly based on the Linux platform, and support for other platforms should refer to the specific tutorials; the tutorial content is provided in the form of documents and does not include directly runnable software products; support for some hardware platforms is still being expanded. The project does not provide commercial information such as fees or prices.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools