Downloads · 30 days
0
ojas-kool/llama-2-7b-chat-alpaca
llama-2-7b-chat-alpaca is a machine learning model from ojas-kool. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This notebook guides through fine-tuning a pre-trained language model from the Hugging Face model hub on the "Alpaca" dataset using the Transformer library. Originally trained on "Llama" data, the goal is to make the…
Downloads · 30 days
0
Access
Public
Updated Apr 11, 2024
Repo size
135 MB
Likes
0
Public
Click a slice to open those files.
.safetensors134 MB · 98%
From the Hugging Face model README
This notebook guides through fine-tuning a pre-trained language model from the Hugging Face model hub on the "Alpaca" dataset using the Transformer library. Originally trained on "Llama" data, the goal is to make the model generate suitable responses for the Alpaca dataset.
transformers, accelerate, peft, bitsandbytes, trl).load_dataset.NousResearch/Llama-2-7b-chat-hf) and sets training parameters.SFTTrainer.