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,7 +1,2 @@
|
|
| 1 |
---
|
| 2 |
-
pipeline_tag: text-classification
|
| 3 |
-
---
|
| 4 |
-
widget:
|
| 5 |
-
- text: "Jens Peter Hansen kommer fra Danmark"
|
| 6 |
-
---
|
| 7 |
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 |
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).
|