Instructions to use PaulTran/distil_multilabel_vi_essay_categorizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PaulTran/distil_multilabel_vi_essay_categorizer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="PaulTran/distil_multilabel_vi_essay_categorizer")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("PaulTran/distil_multilabel_vi_essay_categorizer") model = AutoModelForSequenceClassification.from_pretrained("PaulTran/distil_multilabel_vi_essay_categorizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -12,8 +12,8 @@
|
|
| 12 |
"0": "Nghị luận",
|
| 13 |
"1": "Thuyết minh",
|
| 14 |
"2": "Biểu Cảm",
|
| 15 |
-
"3": "
|
| 16 |
-
"4": "
|
| 17 |
},
|
| 18 |
"initializer_range": 0.02,
|
| 19 |
"label2id": {
|
|
|
|
| 12 |
"0": "Nghị luận",
|
| 13 |
"1": "Thuyết minh",
|
| 14 |
"2": "Biểu Cảm",
|
| 15 |
+
"3": "Tự sự",
|
| 16 |
+
"4": "Miêu tả"
|
| 17 |
},
|
| 18 |
"initializer_range": 0.02,
|
| 19 |
"label2id": {
|