Downloads · 30 days
5
20% of all-time downloads
AIGuy1000/news-sentiment-bert-3
news-sentiment-bert-3 is a text classification model from AIGuy1000. Use it when you need a label for a piece of text. It is set up for transformers.
python -m pip install git+https://huggingface.co/AIGuy1000/news-sentiment-bert-3
Downloads · 30 days
5
20% of all-time downloads
All-time downloads
25
Public
Parameters
109M
438 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
python -m pip install git+https://huggingface.co/AIGuy1000/news-sentiment-bert-3
repo_id = "AIGuy1000/news-sentiment-bert-3"
clf = pipeline("text-classification", model=repo_id)
print(clf("Financial News Headline Here."))
[{'label': 'positive', 'score': 0.9995436072349548}]
Available labels: positive, neutral, negative