其他

implementing-llms-litgpt

orchestra-research/ai-research-skills

Implements and trains LLMs using Lightning AI's LitGPT with 20+ pretrained architectures (Llama, Gemma, Phi, Qwen, Mistral). Use when need clean model implementations, educational understanding of architectures, or production fine-tuning with LoRA/QLoRA. Single-file implementations, no abstraction layers.

  • 964 次安装
  • 1.4万 星标
  • 收录于

安装命令

npx skills add https://github.com/orchestra-research/ai-research-skills --skill implementing-llms-litgpt

SKILL.md

LitGPT - Clean LLM Implementations

Quick start

LitGPT provides 20+ pretrained LLM implementations with clean, readable code and production-ready training workflows.

Installation:

pip install 'litgpt[extra]'

Load and use any model:

from litgpt import LLM

# Load pretrained model
llm = LLM.load("microsoft/phi-2")