Downloads · 30 days
0
shuyuej/metamath_lora_llama2_7b
metamath_lora_llama2_7b is a machine learning model from shuyuej. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Downloads · 30 days
0
Access
Public
Updated Jan 24, 2024
Repo size
2.2 GB
Likes
1
Public
Click a slice to open those files.
.bin2.1 GB · 100%
From the Hugging Face model README
Fine-tune for one epoch
After the pre-training: Invalid output length: 8, Testing length: 1319, Accuracy: 0.610
Reload the saved adapter: Invalid output length: 9, Testing length: 1319, Accuracy: 0.609
The official report accuracy is 0.665 by fine-tuning the whole LLaMA 2 7B model for 3 epochs.
Note: The LoRA adapter is being used for future research purposes.
# Load the Pre-trained LoRA Adapter
model.load_adapter("shuyuej/metamath_lora_llama2_7b")
model.enable_adapters()