Skip to content

afif95/Fine-Tuning-LLMs-with-Hugging-Face

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published