Downloads · 30 days
0
Andyrasika/fine-tuning-llama
fine-tuning-llama is a machine learning model from Andyrasika. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as creativeml-openrail-m.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
0
Access
Public
Updated Sep 25, 2023
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.pt640 MB · 44%
From the Hugging Face model README
This model is a fine-tuned version of TinyPixel/Llama-2-7B-bf16-sharded on the dialogstudio dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.9048 | 0.4 | 22 | 1.9220 |
| 1.824 | 0.8 | 44 | 1.8809 |
| 1.6784 | 1.2 | 66 | 1.8619 |
| 1.77 | 1.6 | 88 | 1.8537 |
| 1.6501 | 2.0 | 110 | 1.8522 |
from peft import AutoPeftModelForCausalLM
trained_model = AutoPeftModelForCausalLM.from_pretrained(
"Andyrasika/fine-tuning-llama",
low_cpu_mem_usage=True,
)
merged_model = model.merge_and_unload()
merged_model.save_pretrained("merged_model", safe_serialization=True)
tokenizer.save_pretrained("merged_model")