Instructions to use puzzz21/sci-sentiment-classify with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use puzzz21/sci-sentiment-classify with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="puzzz21/sci-sentiment-classify")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("puzzz21/sci-sentiment-classify") model = AutoModelForSequenceClassification.from_pretrained("puzzz21/sci-sentiment-classify") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,10 +7,7 @@ language:
|
|
| 7 |
- en
|
| 8 |
pipeline_tag: text-classification
|
| 9 |
---
|
| 10 |
-
This model
|
| 11 |
-
It classifies sentiment of the scientific text based on it's context.
|
| 12 |
-
Here, the context is the sentiment of the author depicted in the sentence.
|
| 13 |
-
There are three classes; postitive, negative and neutral.
|
| 14 |
This model outputs following classnames according to the sentiment:
|
| 15 |
</br>
|
| 16 |
<ul>
|
|
|
|
| 7 |
- en
|
| 8 |
pipeline_tag: text-classification
|
| 9 |
---
|
| 10 |
+
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.
|
|
|
|
|
|
|
|
|
|
| 11 |
This model outputs following classnames according to the sentiment:
|
| 12 |
</br>
|
| 13 |
<ul>
|