Instructions to use qixun/qilv_classify with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use qixun/qilv_classify with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="qixun/qilv_classify")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("qixun/qilv_classify") model = AutoModelForSequenceClassification.from_pretrained("qixun/qilv_classify") - Notebooks
- Google Colab
- Kaggle
Upload label_mapping.json
Browse files- label_mapping.json +18 -0
label_mapping.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"0": "中唐",
|
| 3 |
+
"1": "乱码",
|
| 4 |
+
"2": "冲塔",
|
| 5 |
+
"3": "同光",
|
| 6 |
+
"4": "复兴",
|
| 7 |
+
"5": "实验",
|
| 8 |
+
"6": "晚唐",
|
| 9 |
+
"7": "江西",
|
| 10 |
+
"8": "浙",
|
| 11 |
+
"9": "浣花",
|
| 12 |
+
"10": "理学",
|
| 13 |
+
"11": "盛唐",
|
| 14 |
+
"12": "艳体",
|
| 15 |
+
"13": "诗界xx",
|
| 16 |
+
"14": "赣",
|
| 17 |
+
"15": "闽"
|
| 18 |
+
}
|