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="cungnlp/FineTuningBERTbaseClassification")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("cungnlp/FineTuningBERTbaseClassification")
model = AutoModelForSequenceClassification.from_pretrained("cungnlp/FineTuningBERTbaseClassification")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Fine Tuning BERT-base for Classification

labels_meaning : 0_Positive, 1_Negative, 2_Neutral, 3_Extremely Positive, 4_Extremely Negative.

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