base_model: unsloth/Qwen3.5-4B license: apache-2.0 tags:
Developed by: millsydotdev | Version: 1.0 | Run ID: advanced-01 (advanced mode)
PRISM is a fine-tuned structural decision-making and classification model built upon the unsloth/Qwen3.5-4B architecture. It utilizes custom-trained decision head adapters to score probability distributions over structured choice rubrics, boolean queries, and discrete classifiers without executing free-form text generation.
This model is compiled from a balanced multi-source training sequence:
The following evaluation metrics were obtained during testing on clean, un-tuned validation splits:
{
"baseline_validation": {
"accuracy": 0.29791666666666666,
"ece": 0.07344981354350845,
"loss": 1.2755395403752725,
"record_accuracy": 0.1375
},
"training": {
"train_runtime": 5041.3013,
"train_samples_per_second": 0.635,
"train_steps_per_second": 0.02,
"total_flos": 0.0,
"train_loss": 0.5798460674285889,
"epoch": 1.5647058823529412
},
"session_elapsed_minutes": 84.05,
"test": {
"typed": {
"accuracy": 0.7915,
"ece": 0.15912280079722405,
"loss": 0.8482861245051027,
"record_accuracy": 0.3525
},
"math": {
"accuracy": 0.675,
"ece": 0.14064023718237878,
"loss": 1.1401030865359645,
"record_accuracy": 0.675
},
"intent": {
"accuracy": 1.0,
"ece": 0.014856930573781353,
"loss": 0.017188415155942494,
"record_accuracy": 1.0
}
},
"validation_before_calibration": {
"accuracy": 0.8041666666666667,
"ece": 0.15206126868724826,
"loss": 0.7715929205113014,
"record_accuracy": 0.6125
},
"calibration": {
"accuracy": 0.8041666666666667,
"ece": 0.03490102384239435,
"loss": 1.0667354211731195,
"record_accuracy": 0.6125,
"fitted_types": [
0,
1,
2
]
},
"validation_after_calibration": {
"accuracy": 0.8041666666666667,
"ece": 0.025236688926816016,
"loss": 1.0661249954141352,
"record_accuracy": 0.6125
}
}
To load and run inference on this model, you need to set up a compatible runtime environment. Ensure you have PyTorch and the decision execution architecture configured.
pip install torch transformers peft acceleration
from unsloth import FastDecisionModel
# Initialize model and tokenizer
model, tokenizer = FastDecisionModel.from_pretrained(
model_name='millsydotdev/PRISM-4B-v1.0',
max_seq_length=2048,
load_in_4bit=True
)
FastDecisionModel.for_inference(model)
# Perform structured prediction
results = FastDecisionModel.predict(
model,
tokenizer,
state="User task context or situational query goes here.",
questions={
"action": {
"type": "choice",
"instructions": "Identify the ideal next action path.",
"criteria": {
"retry": "Attempt the operation again",
"escalate": "Pass to a supervisor"
}
}
}
)
print(results)
This is an experimental decision model. It provides probability distributions rather than generative prose. Ensure appropriate thresholds are set for production use cases.
adapter_model.safetensors 124 MiBjoint_head.safetensors 61 MiBunsloth/Qwen3.5-4B