fancyzhx/ag_news
Viewer • Updated • 128k • 142k • 190
How to use mansidw/finetuning-sentiment-model-12000-samples with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="mansidw/finetuning-sentiment-model-12000-samples") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("mansidw/finetuning-sentiment-model-12000-samples")
model = AutoModelForSequenceClassification.from_pretrained("mansidw/finetuning-sentiment-model-12000-samples")YAML Metadata Error:"model-index[0].name" must be a string
This model is a fine-tuned version of distilbert-base-uncased on the ag_news dataset.
More information needed
More information needed
More information needed
The following hyperparameters were used during training: