Text Classification
Transformers
Safetensors
English
Ukrainian
qwen3_5
image-text-to-text
openjudgement
judgment
classification
structured-output
preview
custom-code
Instructions to use kitaniai/OpenJudgement-4B-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kitaniai/OpenJudgement-4B-Preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="kitaniai/OpenJudgement-4B-Preview")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("kitaniai/OpenJudgement-4B-Preview") model = AutoModelForMultimodalLM.from_pretrained("kitaniai/OpenJudgement-4B-Preview", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,295 Bytes
eb2384f | 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 36 | {
"state": {
"ticket": "My parcel arrived today with a cracked screen. Please help me get a replacement.",
"payment_status": "Paid successfully. No duplicate charge."
},
"questions": {
"damaged_delivery": {
"type": "noul",
"instructions": "Does the customer report receiving a damaged item?",
"criteria": {
"true": "The customer explicitly reports damage to the delivered item.",
"false": "The customer does not report damage to the delivered item."
}
},
"team": {
"type": "choice",
"instructions": "Which team should handle this ticket?",
"criteria": {
"shipping_returns": "Damaged deliveries, returns, and replacements.",
"billing": "Payment failures, duplicate charges, and invoices.",
"account": "Passwords, sign-in, and account access."
}
},
"urgency": {
"type": "score",
"instructions": "Rate the urgency of responding using only the supplied rubric.",
"criteria": [
"Routine information request; no reported problem.",
"Minor inconvenience; the product remains usable.",
"Damaged or unusable product requiring a timely resolution.",
"Immediate danger or an explicitly reported safety emergency."
]
}
}
}
|