How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="imamassi/fine-tuning-learning")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("imamassi/fine-tuning-learning")
model = AutoModelForSequenceClassification.from_pretrained("imamassi/fine-tuning-learning")
Quick Links

Label 0: World

Label 1: Sports

Label 2: Business

Label 3: Sci/Tech

Epoch Training Loss Validation Loss 0 No log 0.199586

Fine tuned using bert-base-uncased model and ag_news dataset

Downloads last month
2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train imamassi/fine-tuning-learning