models finiteautomata bertweet base sentiment analysis - Azure/azureml-assets GitHub Wiki
Repository: https://github.com/finiteautomata/pysentimiento/
Model trained with SemEval 2017 corpus (around ~40k tweets). Base model is BERTweet, a RoBERTa model trained on English tweets.
Uses POS, NEG, NEU labels.
pysentimiento is an open-source library for non-commercial use and scientific research purposes only. Please be aware that models are trained with third-party datasets and are subject to their respective licenses.
| Task | Use case | Dataset | Python sample (Notebook) | CLI with YAML |
|---|---|---|---|---|
| Text Classification | Sentiment Classification | SST2 | evaluate-model-sentiment-analysis.ipynb | evaluate-model-sentiment-analysis.yml |
| Inference type | Python sample (Notebook) |
|---|---|
| Real time | sdk-example.ipynb |
| Real time | text-classification-online-endpoint.ipynb |
{
"input_data": [
"Today was an amazing day!",
"It was an unfortunate series of events."
]
}[
{
"label": "POS",
"score": 0.9921929240226746
},
{
"label": "NEG",
"score": 0.9493512511253357
}
]Version: 13
View in Studio: https://ml.azure.com/registries/azureml/models/finiteautomata-bertweet-base-sentiment-analysis/version/13
SHA: 924fc4c80bccb8003d21fe84dd92c7887717f245