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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("puzzz21/sci-sentiment-classify") model = AutoModelForSequenceClassification.from_pretrained("puzzz21/sci-sentiment-classify", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,2 +1,10 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
This model classifies sentiment of the scientific text based on it's context, i.e text from scientific journals to negative (n), positive (p) and neutrals (o).
|
|
|
|
| 1 |
---
|
| 2 |
+
widget:
|
| 3 |
+
- text: >-
|
| 4 |
+
As side benefit, self-attention could yield more interpretable models.
|
| 5 |
+
example_title: Intent Classify
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
pipeline_tag: text-classification
|
| 9 |
+
---
|
| 10 |
This model classifies sentiment of the scientific text based on it's context, i.e text from scientific journals to negative (n), positive (p) and neutrals (o).
|