Feature Extraction
Transformers
Safetensors
lemondecider_decision
decision-model
typed-decisions
multimodal
custom_code
Instructions to use inclusionAI/LemonDecider with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use inclusionAI/LemonDecider with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="inclusionAI/LemonDecider", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("inclusionAI/LemonDecider", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download example.json from inclusionAI/LemonDecider: direct link, hf CLI and curl.
- Browser
- Download file 602 Bytes
-
https://huggingface.co/inclusionAI/LemonDecider/resolve/main/example.json
- Command line
-
hf download hf://inclusionAI/LemonDecider/example.json
-
curl -L -o example.json https://huggingface.co/inclusionAI/LemonDecider/resolve/main/example.json
602 Bytes
| { | |
| "state": "订单已经收到,但商品损坏。客户希望退货并退款。", | |
| "questions": { | |
| "intent": { | |
| "type": "choice", | |
| "instructions": "客户的主要诉求是什么?", | |
| "criteria": { | |
| "refund": "退货退款", | |
| "delivery": "查询物流", | |
| "account": "账户问题" | |
| } | |
| }, | |
| "damaged": { | |
| "type": "noul", | |
| "instructions": "客户是否表示商品损坏?" | |
| }, | |
| "urgency": { | |
| "type": "score", | |
| "instructions": "评估该请求的处理紧急程度。", | |
| "criteria": ["低", "中", "高"] | |
| } | |
| } | |
| } | |