sh0416/ag_news
Viewer • Updated • 128k • 2.23k • 13
How to use cli08/qwen3-0.6-finetuned with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("Qwen/Qwen3-0.6B")
model = PeftModel.from_pretrained(base_model, "cli08/qwen3-0.6-finetuned")How to use cli08/qwen3-0.6-finetuned with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("cli08/qwen3-0.6-finetuned", dtype="auto")This model is a fine-tuned version of Qwen/Qwen3-0.6B on the sh0416/ag_news dataset. It achieved an F1 of 0.911 on the evaluation set.
If you would like to test the fine-tuned adapter yourself, you can load it using AutoModelForSequenceClassification.from_pretrained() and pass cli08/qwen3-0.6-finetuned as the model.
| Initial F1 | Fine-tuned F1 |
|---|---|
| 0.133 | 0.911 |
The following hyperparameters were used during training:
Kaggle notebook with two Nvidia T4 GPU's