Instructions to use CeroShrijver/bart-base-chinese-text-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CeroShrijver/bart-base-chinese-text-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CeroShrijver/bart-base-chinese-text-classification", device_map="auto")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CeroShrijver/bart-base-chinese-text-classification") model = AutoModelForSequenceClassification.from_pretrained("CeroShrijver/bart-base-chinese-text-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
ff1a613
1
Parent(s): c15fb2f
Update README.md
Browse files
README.md
CHANGED
|
@@ -13,6 +13,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 13 |
|
| 14 |
This model was trained from scratch on the None dataset.
|
| 15 |
|
|
|
|
|
|
|
| 16 |
## Model description
|
| 17 |
|
| 18 |
More information needed
|
|
|
|
| 13 |
|
| 14 |
This model was trained from scratch on the None dataset.
|
| 15 |
|
| 16 |
+
Test Accuracy: 0.7646
|
| 17 |
+
|
| 18 |
## Model description
|
| 19 |
|
| 20 |
More information needed
|