Instructions to use cungnlp/FT-BERT-Task3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cungnlp/FT-BERT-Task3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cungnlp/FT-BERT-Task3")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cungnlp/FT-BERT-Task3") model = AutoModelForSequenceClassification.from_pretrained("cungnlp/FT-BERT-Task3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,4 +6,8 @@ pipeline_tag: text-classification
|
|
| 6 |
2 - neutral
|
| 7 |
---
|
| 8 |
example :
|
| 9 |
-
(negative - label_1) Net sales fell by 5 % from the previous accounting period .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
2 - neutral
|
| 7 |
---
|
| 8 |
example :
|
| 9 |
+
(negative - label_1) Net sales fell by 5 % from the previous accounting period .
|
| 10 |
+
|
| 11 |
+
---
|
| 12 |
+
widget:
|
| 13 |
+
- text: "Net sales fell by 5 % from the previous accounting period ."
|