Instructions to use sentrifybot/Emotion-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use sentrifybot/Emotion-1.0 with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("sentrifybot/Emotion-1.0", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
Emotion-1.0
Model Details
Model Description
This advanced AI model accurately detects emotions in text using state-of-the-art natural language processing techniques. It can identify a wide range of emotions, providing valuable insights for businesses and individuals alike. With its machine learning algorithms, it continually refines its understanding of human emotions, offering reliable results at scale.
- Developed by: SentrifyAI
- Funded by: Sentrify
- Model type: Text Classification
- Language(s) (NLP): English
- License: Apache-2.0
Uses
Some uses for this model are:
- Social Media
- Moderation
How to Get Started with the Model
Use the code below to get started with the model.
from sentrifyai import api
import json
emotions = api.Emotions()
results = emotions.emotion(model_slug='Emotions-1.0', message='This is a sample message.')
json_results = json.dumps(results, indent=4)
print(json_results)
Note: Make sure to install the sentrifyai PyPi package.
pip install sentrifyai
Model Card Authors
The Sentrify Team
- Downloads last month
- -
Collection including sentrifybot/Emotion-1.0
Collection
Our Emotion Models • 2 items • Updated