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

tokenizer = AutoTokenizer.from_pretrained("CouchCat/ma_sa_v7_distil")
model = AutoModelForSequenceClassification.from_pretrained("CouchCat/ma_sa_v7_distil")
Quick Links

Description

A Sentiment Analysis model trained on customer feedback data using DistilBert. Possible sentiments are:

  • negative
  • neutral
  • positive

Usage

from transformers import AutoTokenizer, AutoModelForSequenceClassification
  
  tokenizer = AutoTokenizer.from_pretrained("CouchCat/ma_sa_v7_distil")
  
  model = AutoModelForSequenceClassification.from_pretrained("CouchCat/ma_sa_v7_distil")
Downloads last month
11
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support