SetFit/amazon_reviews_multi_en
Viewer • Updated • 210k • 1.42k • 7
How to use Sanjeev2501/nyxar-logistic-sentiment with Scikit-learn:
from huggingface_hub import hf_hub_download
import joblib
model = joblib.load(
hf_hub_download("Sanjeev2501/nyxar-logistic-sentiment", "sklearn_model.joblib")
)
# only load pickle files from sources you trust
# read more about it here https://skops.readthedocs.io/en/stable/persistence.htmlA sentiment classification model developed for the NYXAR AI Intelligence & Observability Platform.
The model predicts sentiment across three classes:
Framework:
Language:
License:
Dataset:
The dataset contains English Amazon product reviews used for sentiment classification.
This model is designed for:
The model may struggle with:
Predictions should be used as supporting signals rather than business-critical decisions.
Metrics obtained during evaluation:
import joblib
model = joblib.load("logistic_model_v1.pkl")
vectorizer = joblib.load("tfidf_vectorizer_v1.pkl")
text = ["The product exceeded expectations."]
X = vectorizer.transform(text)
prediction = model.predict(X)