File size: 979 Bytes
972599c 790783d 972599c 758c8e6 972599c 5ea49fc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
---
model-index:
- name: MetaMath-LoRA-LLaMA-7B
results:
- task:
type: text-generation
dataset:
name: meta-math/MetaMathQA
type: meta-math/MetaMathQA
metrics:
- name: Accuracy (zero-shot)
type: Accuracy (zero-shot)
value: 0.641
verified: true
source:
name: Arithmetic Reasoning on GSM8K
url: https://paperswithcode.com/sota/arithmetic-reasoning-on-gsm8k
license: apache-2.0
---
# Fine-tune LLaMA 2 (7B) with LoRA on meta-math/MetaMathQA
Fine-tune for three epochs
## Result:
**Reload the saved adapter**:
Invalid output length: 4, Testing length: 1319, **Accuracy: 0.641**
## Comparison
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.
## Deployment
```python
# Load the Pre-trained LoRA Adapter
model.load_adapter("shuyuej/metamath_lora_llama2_7b_3_epoch")
model.enable_adapters()
```
|