Xirider/finetune-gpt2xl
A guide for fine-tuning GPT2-XL and GPT-NEO language models on a single GPU using Huggingface Transformers and DeepSpeed.

Not currently ranked — collecting fresh signals.
star history
This repository provides step-by-step instructions for fine-tuning large language models that are too large to fit on a single GPU. It uses Huggingface Transformers library combined with DeepSpeed for memory optimization and gradient checkpointing to reduce VRAM requirements. The guide also includes instructions for setting up a Google Cloud VM with a V100 GPU for those without sufficient local hardware.
Frequently asked
- What is Xirider/finetune-gpt2xl?
- A guide for fine-tuning GPT2-XL and GPT-NEO language models on a single GPU using Huggingface Transformers and DeepSpeed.
- Is finetune-gpt2xl open source?
- Yes — Xirider/finetune-gpt2xl is open source, released under the MIT license.
- What language is finetune-gpt2xl written in?
- Xirider/finetune-gpt2xl is primarily written in Python.
- How popular is finetune-gpt2xl?
- Xirider/finetune-gpt2xl has 436 stars on GitHub.
- Where can I find finetune-gpt2xl?
- Xirider/finetune-gpt2xl is on GitHub at https://github.com/Xirider/finetune-gpt2xl.