mteb/amazon_reviews_multi
Viewer • Updated • 2.52M • 3.65k • 28
How to use Maximofn/GPT2-small-QLoRA-finetuned-amazon-reviews-en-classification with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("openai-community/gpt2")
model = PeftModel.from_pretrained(base_model, "Maximofn/GPT2-small-QLoRA-finetuned-amazon-reviews-en-classification")This model is a fine-tuned version of openai-community/gpt2 on mteb/amazon_reviews_multi dataset.
It is the result of the post QLoRA
It achieves the following results on the evaluation set:
This model provides classification of reviews in english
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 2.088 | 1.0 | 893 | 0.9780 | 0.5848 |
| 0.9588 | 2.0 | 1786 | 0.8940 | 0.6156 |
| 0.9147 | 3.0 | 2679 | 0.8918 | 0.6168 |
Base model
openai-community/gpt2