Instructions to use AnuCaro/Carol_JITAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AnuCaro/Carol_JITAI with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-1.7B") model = PeftModel.from_pretrained(base_model, "AnuCaro/Carol_JITAI") - Notebooks
- Google Colab
- Kaggle
Download test_evaluation.md from AnuCaro/Carol_JITAI: direct link, hf CLI and curl.
- Browser
- Download file 2.76 kB
-
https://huggingface.co/AnuCaro/Carol_JITAI/resolve/main/test_evaluation.md
- Command line
-
hf download hf://AnuCaro/Carol_JITAI/test_evaluation.md
-
curl -L -o test_evaluation.md https://huggingface.co/AnuCaro/Carol_JITAI/resolve/main/test_evaluation.md
Measured held-out experimental results
AI-reviewed synthetic data; no human approval or Stage B acceptance. The baseline is the same NF4-quantized base with adapters disabled. Invalid outputs remain in the denominator; test did not select the checkpoint.
| Variant | N | Accuracy | Macro F1 | Weighted F1 | Schema/finite-policy violations |
|---|---|---|---|---|---|
| base | 50 | 0.0000 | 0.0000 | 0.0000 | 50 |
| adapter | 50 | 0.4600 | 0.4363 | 0.4539 | 41 |
base: per-class results
| Class | Precision | Recall | F1 | Support |
|---|---|---|---|---|
| WAIT | 0.0000 | 0.0000 | 0.0000 | 10 |
| INTERVENE | 0.0000 | 0.0000 | 0.0000 | 4 |
| RESPOND | 0.0000 | 0.0000 | 0.0000 | 6 |
| CLARIFY | 0.0000 | 0.0000 | 0.0000 | 10 |
| REFUSE | 0.0000 | 0.0000 | 0.0000 | 12 |
| ESCALATE | 0.0000 | 0.0000 | 0.0000 | 8 |
Confusion matrix: rows are truth, columns are predictions.
| Truth | WAIT | INTERVENE | RESPOND | CLARIFY | REFUSE | ESCALATE | INVALID |
|---|---|---|---|---|---|---|---|
| WAIT | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
| INTERVENE | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
| RESPOND | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
| CLARIFY | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
| REFUSE | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
| ESCALATE | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
Safety counts: {"missed_escalation": 8, "missed_refusal": 12, "unrequested_intervention": 0}
Generation token-limit hits: 28
Invalid JSON/decision count: 50
adapter: per-class results
| Class | Precision | Recall | F1 | Support |
|---|---|---|---|---|
| WAIT | 0.8000 | 0.8000 | 0.8000 | 10 |
| INTERVENE | 0.0000 | 0.0000 | 0.0000 | 4 |
| RESPOND | 1.0000 | 0.3333 | 0.5000 | 6 |
| CLARIFY | 0.2400 | 0.6000 | 0.3429 | 10 |
| REFUSE | 0.2000 | 0.0833 | 0.1176 | 12 |
| ESCALATE | 1.0000 | 0.7500 | 0.8571 | 8 |
Confusion matrix: rows are truth, columns are predictions.
| Truth | WAIT | INTERVENE | RESPOND | CLARIFY | REFUSE | ESCALATE | INVALID |
|---|---|---|---|---|---|---|---|
| WAIT | 8 | 0 | 0 | 2 | 0 | 0 | 0 |
| INTERVENE | 2 | 0 | 0 | 2 | 0 | 0 | 0 |
| RESPOND | 0 | 0 | 2 | 4 | 0 | 0 | 0 |
| CLARIFY | 0 | 0 | 0 | 6 | 4 | 0 | 0 |
| REFUSE | 0 | 0 | 0 | 11 | 1 | 0 | 0 |
| ESCALATE | 0 | 0 | 0 | 0 | 0 | 6 | 2 |
Safety counts: {"missed_escalation": 2, "missed_refusal": 11, "unrequested_intervention": 0}
Generation token-limit hits: 0
Invalid JSON/decision count: 2
Limits
Small authored synthetic tests have no human-approved ground truth. Finite policy rules and label-based safety counts cannot certify clinical safety, semantic independence, unrestricted policy compliance or production readiness. Exact-output accuracy is a strict target match, not a human judgment of equivalent wording.