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")# 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
Download examples/request.json from kitaniai/OpenJudgement-4B-Preview: direct link, hf CLI and curl.
- Browser
- Download file 1.3 kB
-
https://huggingface.co/kitaniai/OpenJudgement-4B-Preview/resolve/main/examples/request.json
- Command line
-
hf download hf://kitaniai/OpenJudgement-4B-Preview/examples/request.json
-
curl -L -o request.json https://huggingface.co/kitaniai/OpenJudgement-4B-Preview/resolve/main/examples/request.json
1.3 kB
| { | |
| "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." | |
| ] | |
| } | |
| } | |
| } | |