mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2026-02-26 07:45:59 +08:00
[v1] init commit for v1 docs (#10145)
Co-authored-by: frozenleaves <frozen@Mac.local> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: jiaqiw09 <jiaqiw960714@gmail.com> Co-authored-by: jiaqiw09 <60021713+jiaqiw09@users.noreply.github.com> Co-authored-by: Yaowei Zheng <hiyouga@buaa.edu.cn>
This commit is contained in:
3
docs/en/advanced/custom-kernels/custom-kernels.md
Normal file
3
docs/en/advanced/custom-kernels/custom-kernels.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Custom Kernels
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/advanced/custom-kernels/fused-operators.md
Normal file
3
docs/en/advanced/custom-kernels/fused-operators.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Fused Operators
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/advanced/custom-kernels/triton.md
Normal file
3
docs/en/advanced/custom-kernels/triton.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Triton
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/advanced/distributed/deepspeed.md
Normal file
3
docs/en/advanced/distributed/deepspeed.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# DeepSpeed
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/advanced/distributed/fsdp.md
Normal file
3
docs/en/advanced/distributed/fsdp.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# FSDP
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/advanced/distributed/parallel-dp-tp-ep-sp-cp.md
Normal file
3
docs/en/advanced/distributed/parallel-dp-tp-ep-sp-cp.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Parallel (DP, TP, EP, SP, CP)
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/advanced/lora-and-quantization/lora.md
Normal file
3
docs/en/advanced/lora-and-quantization/lora.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# LoRA
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/advanced/lora-and-quantization/quantization.md
Normal file
3
docs/en/advanced/lora-and-quantization/quantization.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Quantization
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
20
docs/en/conf.py
Normal file
20
docs/en/conf.py
Normal file
@@ -0,0 +1,20 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
# Add parent dir to path to allow importing conf.py
|
||||
sys.path.insert(0, os.path.abspath('..'))
|
||||
|
||||
from conf import *
|
||||
|
||||
# Language settings
|
||||
language = 'en'
|
||||
html_search_language = 'en'
|
||||
|
||||
# Static files
|
||||
# Point to the root _static directory
|
||||
html_static_path = ['../_static']
|
||||
|
||||
# Add custom JS for language switcher
|
||||
html_js_files = [
|
||||
'js/switcher.js',
|
||||
]
|
||||
3
docs/en/data-preparation/data-processing.md
Normal file
3
docs/en/data-preparation/data-processing.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Data Processing
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/dev-guide/core/data-engine.md
Normal file
3
docs/en/dev-guide/core/data-engine.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# DataEngine
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/dev-guide/core/model-engine.md
Normal file
3
docs/en/dev-guide/core/model-engine.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# ModelEngine
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/dev-guide/core/trainer.md
Normal file
3
docs/en/dev-guide/core/trainer.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Trainer
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/dev-guide/plugins/data-plugins.md
Normal file
3
docs/en/dev-guide/plugins/data-plugins.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Data Plugins
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Initialization
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/dev-guide/plugins/model-plugins/kernels.md
Normal file
3
docs/en/dev-guide/plugins/model-plugins/kernels.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Kernels
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/dev-guide/plugins/model-plugins/rendering.md
Normal file
3
docs/en/dev-guide/plugins/model-plugins/rendering.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Rendering
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/getting-started.md
Normal file
3
docs/en/getting-started.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Getting Started
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/hyperparameters/data-argument.md
Normal file
3
docs/en/hyperparameters/data-argument.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Data Argument
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/hyperparameters/model-argument.md
Normal file
3
docs/en/hyperparameters/model-argument.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Model Argument
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/hyperparameters/sample-argument.md
Normal file
3
docs/en/hyperparameters/sample-argument.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Sample Argument
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/hyperparameters/training-argument.md
Normal file
3
docs/en/hyperparameters/training-argument.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Training Argument
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
62
docs/en/index.rst
Normal file
62
docs/en/index.rst
Normal file
@@ -0,0 +1,62 @@
|
||||
LlamaFactory Docs
|
||||
=================
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Getting Started
|
||||
|
||||
getting-started
|
||||
installation
|
||||
llamaboard-web-ui
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Data Preparation
|
||||
|
||||
data-preparation/data-processing
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Training
|
||||
|
||||
training/sft
|
||||
training/dpo
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Inference
|
||||
|
||||
inference/deploy
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Advanced
|
||||
|
||||
advanced/lora-and-quantization/lora
|
||||
advanced/lora-and-quantization/quantization
|
||||
advanced/distributed/fsdp
|
||||
advanced/distributed/deepspeed
|
||||
advanced/distributed/parallel-dp-tp-ep-sp-cp
|
||||
advanced/custom-kernels/triton
|
||||
advanced/custom-kernels/fused-operators
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Hyperparameters
|
||||
|
||||
hyperparameters/data-argument
|
||||
hyperparameters/model-argument
|
||||
hyperparameters/sample-argument
|
||||
hyperparameters/training-argument
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Dev Guide
|
||||
|
||||
dev-guide/core/data-engine
|
||||
dev-guide/core/model-engine
|
||||
dev-guide/core/trainer
|
||||
dev-guide/plugins/data-plugins
|
||||
dev-guide/plugins/model-plugins/initialization
|
||||
dev-guide/plugins/model-plugins/kernels
|
||||
dev-guide/plugins/model-plugins/rendering
|
||||
3
docs/en/inference/deploy.md
Normal file
3
docs/en/inference/deploy.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Deploy
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/installation.md
Normal file
3
docs/en/installation.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Installation
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/llamaboard-web-ui.md
Normal file
3
docs/en/llamaboard-web-ui.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# LlamaBoard Web UI
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/training/dpo.md
Normal file
3
docs/en/training/dpo.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# DPO
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
3
docs/en/training/sft.md
Normal file
3
docs/en/training/sft.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# SFT
|
||||
|
||||
This page is not yet available in English. Use the language switcher to view Simplified Chinese.
|
||||
Reference in New Issue
Block a user