File size: 1,436 Bytes
f1feac9 953506f 1f5745b 953506f 8b4537c 0c82ed3 0de9260 ec9957d 0de9260 0c82ed3 a63e239 4380ba0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
---
widget:
- text: >-
As side benefit, self-attention could yield more interpretable models.
example_title: Sentiment Classify
language:
- en
pipeline_tag: text-classification
---
This model has been fine-tuned on Scibert specifically for sentiment classification in scientific texts. Its primary task is to categorize the sentiment expressed by the author based on the context of the sentence. The model classifies the sentiment into one of three classes: positive, negative, or neutral. The positive class is assigned when the author expresses a positive sentiment in the text, while the negative class is used when a negative sentiment is conveyed. The neutral class is assigned when the text does not exhibit any strong positive or negative sentiment.
This model outputs following classnames according to the sentiment:
</br>
<ul>
<li>
Positive sentiment in context is classified as <b>p</b>
</li>
<li>
Negative sentiment in context is classified as <b>n</b>
</li>
<li>
Neutral sentiment in context is classified as (other) <b>o</b>
</li>
</ul>
</br>
</br>
The model achieved F1 score of 0.72 and an accuracy score of 0.73, with the manually annoted dataset: https://huggingface.co/datasets/puzzz21/sci-sentiment-annotated-dataset .
</br>
</br>
For finetuning, the publicly available dataset on context identification from Angrosh et al. https://dl.acm.org/doi/10.1145/1816123.1816168 is used.
|