Text Classification
Transformers
Laya
English
multilingual
typed-decisions
non-autoregressive
axera
ax650
Instructions to use AXERA-TECH/Laya with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AXERA-TECH/Laya with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AXERA-TECH/Laya")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AXERA-TECH/Laya", device_map="auto") - Laya
How to use AXERA-TECH/Laya with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
File size: 971 Bytes
51a586c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | {
"state": {
"body": "发票4411重复扣款,请今天退还多扣的金额,否则我们会取消服务。"
},
"questions": {
"department": {
"type": "choice",
"instructions": "这条请求应由哪个团队处理?",
"criteria": {
"billing": "扣款、发票、账单与退款",
"technical": "故障、接口、登录与系统错误",
"sales": "价格、演示、合同与采购",
"other": "一般咨询或已解决问题"
}
},
"urgency": {
"type": "score",
"instructions": "这条请求有多紧急?",
"criteria": [
"常规事项,没有截止时间",
"需要尽快处理",
"服务中断或今天必须解决"
]
},
"refund": {
"type": "noul",
"instructions": "用户是否明确要求退款?"
},
"churn": {
"type": "noul",
"instructions": "用户是否表示要取消或离开?"
}
}
}
|