Text Classification
jev-style
Safetensors
llama
minicpm
minicpm5
system-one
decision-model
probability
calibration
agent
routing
Instructions to use link921/CPM-jev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- jev-style
How to use link921/CPM-jev with jev-style:
pip install "jev-style[torch]"
from jev_style import JevStyle, noul, choice js = JevStyle.from_pretrained("link921/CPM-jev") out = js.decide("I was charged twice for one order.", { "billing": noul("This message is about billing."), "team": choice("Which team should handle it?", ["billing", "shipping", "tech"]), }) print(out["answers"]["team"]["choice"]) - Notebooks
- Google Colab
- Kaggle
Download validation_report.json from link921/CPM-jev: direct link, hf CLI and curl.
- Browser
- Download file 632 Bytes
-
https://huggingface.co/link921/CPM-jev/resolve/main/validation_report.json
- Command line
-
hf download hf://link921/CPM-jev/validation_report.json
-
curl -L -o validation_report.json https://huggingface.co/link921/CPM-jev/resolve/main/validation_report.json
632 Bytes
| { | |
| "all_checks_passed": true, | |
| "clean_environment_without_peft": true, | |
| "offline_load": true, | |
| "example": { | |
| "options": [ | |
| "retry", | |
| "switch_tool", | |
| "ask_user" | |
| ], | |
| "probabilities": [ | |
| 0.4461660087108612, | |
| 0.279928594827652, | |
| 0.273905485868454 | |
| ], | |
| "choice": "retry", | |
| "confidence": 0.4461660087108612 | |
| }, | |
| "probability_sum": 1.0000000894069672, | |
| "pytest": "7 passed", | |
| "tensor_integrity": "all tensors finite; shard index complete", | |
| "secrets_scan": "passed", | |
| "readme_links": "5/5 HTTP 200", | |
| "torch": "2.14.0+cpu", | |
| "transformers": "5.18.0" | |
| } | |