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
Download label_mapping.json from qixun/qilv_classify: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/qixun/qilv_classify/resolve/main/label_mapping.json
- Command line
-
hf download hf://qixun/qilv_classify/label_mapping.json
-
curl -L -o label_mapping.json https://huggingface.co/qixun/qilv_classify/resolve/main/label_mapping.json
305 Bytes
| { | |
| "0": "中唐", | |
| "1": "乱码", | |
| "2": "冲塔", | |
| "3": "同光", | |
| "4": "复兴", | |
| "5": "实验", | |
| "6": "晚唐", | |
| "7": "江西", | |
| "8": "浙", | |
| "9": "浣花", | |
| "10": "理学", | |
| "11": "盛唐", | |
| "12": "艳体", | |
| "13": "诗界xx", | |
| "14": "赣", | |
| "15": "闽" | |
| } |