Skip to content

微调

教程

平台和工具

平台

工具

  • 客户端
    • chatbox
    • anythingLLM
  • 微调框架
    • unsloth
    • llamafactory.cn
  • 本地运行
    • ollama:gguf
    • vllm:HF 模型目录(safetensors)、OpenAI API
  • 其它
    • modelscope
    • evalscope
  • huggingface-cli

草稿


  • colab 微调大模型 unsloth.ai
    • 将微调后的大模型推送到 huggingface
    • 使用微调后的大模型
    • 本地使用 ollama 运行大模型

混合推理 对话+思考

主流微调工具:

  • 高层:unsloth(单机单卡)、Llama-Factory

  • 底层:peft、transformer

  • 必须要会使用 vscode 远程服务器

# 你的 gradio 和 transformers 要求 huggingface_hub < 1.0。那我们装:
pip install -U "huggingface_hub<1.0"

huggingface-cli download --resume-download deepseek-ai/DeepSeek-R1-Distill-
Qwen-1.5B