bhadresh-savani / electra-base-emotion

huggingface.co
Total runs: 65
24-hour runs: 3
7-day runs: -7
30-day runs: -14
Model's Last Updated: March 22 2023
text-classification

Introduction of electra-base-emotion

Model Details of electra-base-emotion

Electra-base-emotion

Model description:
Model Performance Comparision on Emotion Dataset from Twitter:
Model Accuracy F1 Score Test Sample per Second
Distilbert-base-uncased-emotion 93.8 93.79 398.69
Bert-base-uncased-emotion 94.05 94.06 190.152
Roberta-base-emotion 93.95 93.97 195.639
Albert-base-v2-emotion 93.6 93.65 182.794
Electra-base-emotion 91.95 91.90 472.72
How to Use the model:
from transformers import pipeline
classifier = pipeline("text-classification",model='bhadresh-savani/electra-base-emotion', return_all_scores=True)
prediction = classifier("I love using transformers. The best part is wide range of support and its easy to use", )
print(prediction)

"""
Output:
[[
{'label': 'sadness', 'score': 0.0006792712374590337}, 
{'label': 'joy', 'score': 0.9959300756454468}, 
{'label': 'love', 'score': 0.0009452480007894337}, 
{'label': 'anger', 'score': 0.0018055217806249857}, 
{'label': 'fear', 'score': 0.00041110432357527316}, 
{'label': 'surprise', 'score': 0.0002288572577526793}
]]
"""
Dataset:

Twitter-Sentiment-Analysis .

Training procedure

Colab Notebook

Eval results
{
 'epoch': 8.0,
 'eval_accuracy': 0.9195,
 'eval_f1': 0.918975455617076,
 'eval_loss': 0.3486028015613556,
 'eval_runtime': 4.2308,
 'eval_samples_per_second': 472.726,
 'eval_steps_per_second': 7.564
 }
Reference:

Runs of bhadresh-savani electra-base-emotion on huggingface.co

65
Total runs
3
24-hour runs
-8
3-day runs
-7
7-day runs
-14
30-day runs

More Information About electra-base-emotion huggingface.co Model

More electra-base-emotion license Visit here:

https://choosealicense.com/licenses/apache-2.0

electra-base-emotion huggingface.co

electra-base-emotion huggingface.co is an AI model on huggingface.co that provides electra-base-emotion's model effect (), which can be used instantly with this bhadresh-savani electra-base-emotion model. huggingface.co supports a free trial of the electra-base-emotion model, and also provides paid use of the electra-base-emotion. Support call electra-base-emotion model through api, including Node.js, Python, http.

bhadresh-savani electra-base-emotion online free

electra-base-emotion huggingface.co is an online trial and call api platform, which integrates electra-base-emotion's modeling effects, including api services, and provides a free online trial of electra-base-emotion, you can try electra-base-emotion online for free by clicking the link below.

bhadresh-savani electra-base-emotion online free url in huggingface.co:

https://huggingface.co/bhadresh-savani/electra-base-emotion

electra-base-emotion install

electra-base-emotion is an open source model from GitHub that offers a free installation service, and any user can find electra-base-emotion on GitHub to install. At the same time, huggingface.co provides the effect of electra-base-emotion install, users can directly use electra-base-emotion installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

electra-base-emotion install url in huggingface.co:

https://huggingface.co/bhadresh-savani/electra-base-emotion

Url of electra-base-emotion

Provider of electra-base-emotion huggingface.co

bhadresh-savani
ORGANIZATIONS

Other API from bhadresh-savani