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
|
@@ -2,7 +2,7 @@
|
|
| 2 |
widget:
|
| 3 |
- text: >-
|
| 4 |
As side benefit, self-attention could yield more interpretable models.
|
| 5 |
-
example_title:
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
pipeline_tag: text-classification
|
|
|
|
| 2 |
widget:
|
| 3 |
- text: >-
|
| 4 |
As side benefit, self-attention could yield more interpretable models.
|
| 5 |
+
example_title: Sentiment Classify
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
pipeline_tag: text-classification
|