TodayAI

资源库

训练与微调 Open Source

面向训练、微调、对齐与分布式训练的开源工具链。

Accelerate

huggingface/accelerate

简化分布式训练与混合精度训练的库。

trainingdistributedml
训练与微调PythonApache-2.0

Axolotl

axolotl-ai-cloud/axolotl

面向开源 LLM 微调的便捷训练框架。

fine-tuningllmtraining
训练与微调PythonApache-2.0

bitsandbytes

bitsandbytes-foundation/bitsandbytes

面向低比特量化与优化训练的库。

quantizationfine-tuningoptimization
训练与微调PythonMIT

DeepSpeed

microsoft/DeepSpeed

微软面向大规模模型训练优化的库。

trainingdistributedoptimization
训练与微调PythonApache-2.0

Fairseq

facebookresearch/fairseq

面向序列建模的开源训练工具包。

trainingnlpseq2seq
训练与微调PythonMIT

FlashAttention

Dao-AILab/flash-attention

高效注意力实现,用于加速训练与推理。

trainingoptimizationattention
训练与微调PythonBSD-3-Clause

Liger Kernel

linkedin/Liger-Kernel

面向高效 LLM 训练的内核优化集合。

trainingoptimizationkernels
训练与微调PythonBSD-2-Clause

LLaMA-Factory

hiyouga/LLaMA-Factory

面向大模型微调与部署的一体化开源工具。

fine-tuningllmtraining
训练与微调PythonApache-2.0

Megatron-LM

NVIDIA/Megatron-LM

NVIDIA 面向大规模 Transformer 训练的框架。

trainingdistributedllm
训练与微调PythonBSD-3-Clause

NeMo

NVIDIA/NeMo

NVIDIA 面向语音与语言模型的训练框架。

trainingspeechllm
训练与微调PythonApache-2.0

OpenRLHF

OpenRLHF/OpenRLHF

面向 RLHF 训练的开源框架。

rlhffine-tuningllm
训练与微调PythonApache-2.0

PEFT

huggingface/peft

参数高效微调方法集合库。

fine-tuningpeftllm
训练与微调PythonApache-2.0

PyTorch Lightning

Lightning-AI/pytorch-lightning

简化 PyTorch 训练循环的高级框架。

trainingpytorchml
训练与微调PythonApache-2.0

torchtune

pytorch/torchtune

PyTorch 官方 LLM 微调与训练工具包。

fine-tuningpytorchllm
训练与微调PythonBSD-3-Clause

Transformers

huggingface/transformers

主流预训练模型加载、推理与训练工具库。

fine-tuningtransformersllm
训练与微调PythonApache-2.0

TRL

huggingface/trl

面向强化学习与偏好对齐训练的库。

fine-tuningrlhfllm
训练与微调PythonApache-2.0

Unsloth

unslothai/unsloth

面向更快 LLM 微调的优化训练库。

fine-tuningoptimizationllm
训练与微调PythonApache-2.0