Downloads · 30 days
359
12% of all-time downloads
tanaos/tanaos-sentiment-analysis-v1
tanaos-sentiment-analysis-v1 is a text classification model from tanaos. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
<p align="center" <img src="https://raw.githubusercontent.com/tanaos/.github/master/assets/logo.png" width="250px" alt="Tanaos – Train task specific LLMs without training data, for offline NLP and Text Classification"…
Downloads · 30 days
359
12% of all-time downloads
All-time downloads
3.1K
Public
Parameters
118M
493 MB on disk
Likes
7
Public
Click a slice to open those files.
.safetensors471 MB · 96%
From the Hugging Face model README
This model was created by Tanaos with the Artifex Python library.
This is a sentiment analysis model based on microsoft/Multilingual-MiniLM-L12-H384 and fine-tuned on a synthetic dataset to classify text as one of the following labels:
very_negativenegativeneutralpositivevery_positiveneutral is the default label for text that is either factual or does not express a clear sentiment.
This model can be used to classify text belonging to any domain, including but not limited to:
Use this model through the Artifex library:
install Artifex with
pip install artifex
use the model with
from artifex import Artifex
sentiment_analysis = Artifex().sentiment_analysis()
label = sentiment_analysis("While the battery life is average, the camera quality is good.")
print(label)
# >>> [{'label': 'neutral', 'score': 0.9254}]
microsoft/Multilingual-MiniLM-L12-H384very_negative, negative, neutral, positive, very_positive.This model was trained using the Artifex Python library
pip install artifex
by providing the following instructions and generating 10,000 synthetic training samples:
from artifex import Artifex
sa = Artifex().sentiment_analysis()
sa.train(
domain="general",
num_samples=10000
)
This model is intended to:
Not intended for: