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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("qixun/qilv_classify") model = AutoModelForSequenceClassification.from_pretrained("qixun/qilv_classify", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 305 Bytes
2eeb1b3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | {
"0": "中唐",
"1": "乱码",
"2": "冲塔",
"3": "同光",
"4": "复兴",
"5": "实验",
"6": "晚唐",
"7": "江西",
"8": "浙",
"9": "浣花",
"10": "理学",
"11": "盛唐",
"12": "艳体",
"13": "诗界xx",
"14": "赣",
"15": "闽"
} |