Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 2.31 KB

File metadata and controls

29 lines (25 loc) · 2.31 KB

Fine-Tuning LLMs with Hugging Face

This repository contains code for fine-tuning large language models (LLMs) using the Hugging Face Transformers library.

Features:

  • Supervised Fine-Tuning of LLMs with peft for parameter efficiency.
  • 4-bit quantization using nf4 data type for reduced model size and faster inference.
  • Causal language modeling tasks.
  • LORA regularization for overfitting prevention.
  • Easy usage with pre-defined training arguments and data loading.

Requirements:

Outputs

1 2 3 4 5