PolyAI/banking77
Updated • 13.5k • 96
How to use AzadDjan/Llama-3.2-3B-banking77-lora with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("meta-llama/Llama-3.2-3B")
model = PeftModel.from_pretrained(base_model, "AzadDjan/Llama-3.2-3B-banking77-lora")How to use AzadDjan/Llama-3.2-3B-banking77-lora with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("AzadDjan/Llama-3.2-3B-banking77-lora", device_map="auto")This model is a fine-tuned version of meta-llama/Llama-3.2-3B on the banking77 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 | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 0.7430 | 1.0 | 282 | 0.4343 | 0.8931 | 0.9162 | 0.8975 | 0.8955 |
| 0.3837 | 2.0 | 564 | 0.3505 | 0.9141 | 0.9251 | 0.9189 | 0.9175 |
| 0.1656 | 3.0 | 846 | 0.3458 | 0.9321 | 0.9389 | 0.9367 | 0.9346 |
| 0.0814 | 4.0 | 1128 | 0.3654 | 0.9301 | 0.9404 | 0.9349 | 0.9343 |
| 0.0426 | 5.0 | 1410 | 0.3762 | 0.9271 | 0.9353 | 0.9323 | 0.9311 |
| 0.0081 | 6.0 | 1692 | 0.3638 | 0.9351 | 0.9427 | 0.9379 | 0.9377 |
| 0.0004 | 7.0 | 1974 | 0.3558 | 0.9311 | 0.9378 | 0.9342 | 0.9335 |
| 0.0002 | 8.0 | 2256 | 0.3595 | 0.9301 | 0.9373 | 0.9338 | 0.9328 |
Built with Llama. Licensed under the Llama 3.2 Community License.
Base model
meta-llama/Llama-3.2-3B