Run this model with HF Jobs
Run TaskWizerAI/opencodifier-e1e-2b on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/TaskWizerAI/opencodifier-e1e-2b. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/TaskWizerAI/opencodifier-e1e-2b on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/TaskWizerAI/opencodifier-e1e-2b. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/TaskWizerAI/opencodifier-e1e-2b. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use TaskWizerAI/opencodifier-e1e-2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TaskWizerAI/opencodifier-e1e-2b with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/home/mkinney/t5500-bundle/models/Qwen3.5-2B") model = PeftModel.from_pretrained(base_model, "TaskWizerAI/opencodifier-e1e-2b") - Transformers
How to use TaskWizerAI/opencodifier-e1e-2b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="TaskWizerAI/opencodifier-e1e-2b")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TaskWizerAI/opencodifier-e1e-2b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TaskWizerAI/opencodifier-e1e-2b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TaskWizerAI/opencodifier-e1e-2b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TaskWizerAI/opencodifier-e1e-2b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TaskWizerAI/opencodifier-e1e-2b
- SGLang
How to use TaskWizerAI/opencodifier-e1e-2b with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "TaskWizerAI/opencodifier-e1e-2b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TaskWizerAI/opencodifier-e1e-2b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "TaskWizerAI/opencodifier-e1e-2b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TaskWizerAI/opencodifier-e1e-2b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use TaskWizerAI/opencodifier-e1e-2b with Docker Model Runner:
docker model run hf.co/TaskWizerAI/opencodifier-e1e-2b
Initial upload: E1-E 2B verdict-slot adapter (opencodifier-e1e-2b)
Browse filesFiles changed (4)
- README.mdAdded+98
- adapter_config.jsonAdded+48
- adapter_model.safetensorsAdded+3
- calibration/fit.jsonAdded+16
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798---base_model: Qwen3.5-2Blibrary_name: peftpipeline_tag: text-generationtags:- base_model:adapter:Qwen3.5-2B- lora- verdict-slot- opencodifier- decision-modelinference: false---
# OpenCodifier E1-E 2B Decision Model
A verdict-slot LoRA adapter on Qwen3.5-2B for typed decision-making (choice, boolean, score).Part of the OpenCodifier decision runtime: opencodifier.pages.dev.
## Model Details
- **Model type:** Decision classifier — verdict-slot LoRA on Qwen3.5-2B- **Base model:** Qwen3.5-2B (Apache-2.0)- **Adapter architecture:** LoRA r=16, alpha=32, dropout=0.05- **License:** Apache-2.0- **Developed by:** TaskWizerAI- **Released by:** TaskWizerAI
## Gates Passed
| Benchmark | Result | Gate | Status ||---|---|---|---|| Suite holdout (231 items) | 0.8083 accuracy | ≥ 0.75 | ✅ PASS || JevBench public 231 | 0.6840 accuracy | ≥ 0.6494 | ✅ PASS |
Full evaluation evidence: `benchmarks/decision-model/results/CALIBRATION.md` and`benchmarks/decision-model/results/e1e-slot-231/results.jsonl`.
## Training
- **Corpus:** 187,822 decision items (e1-softlabel-v2), teacher distributions from MiMo- **Teacher-gold agreement:** 96.1–97.7% argmax match- **Hyperparameters:** lr=1e-4, batch=2, accum=8, max_len=2048, fp16, sdpa, seed=42, 1 epoch- **Platform:** T5500 (2× V100, 120W GPU cap)
## Evaluation Results
### JevBench Public 231 (231 items, authors' harness)
| Metric | Value ||---|---|| Accuracy | 0.6840 || Macro | 0.6840 || ECE | 0.127 (calibrated T=3.362) || Brier | 0.332 || p50 latency | ~1.7 s (CPU, single decision) || Replay determinism | 231/231 |
### Suite Holdout (231 items, internal)
| Metric | Value ||---|---|| Accuracy | 0.8083 |
## Uses
### Direct Use
Use via the OpenCodifier binary:
```bash# Engine-only (no model needed)opencodifier decide --input request.json
# With E1-E model (requires llama-server running the decision fork)opencodifier decide --input request.json --ladder-url http://127.0.0.1:8080```
### Out-of-Scope Use
- Not a general-purpose language model- Not trained for prose generation- Not calibrated for non-decision classification
## Calibration
Temperature fitted on the suite holdout: T = 3.362.Apply the calibration artifact from `results/calibration/qwen3.5-2b-q4_k_m/fit.json`before evaluating on any surface other than the holdout.
## How to Cite
OpenCodifier decision runtime: https://github.com/TaskWizerAI/OpenCodifier
## Remarks
- Corpus withheld (per OpenCodifier model release policy)- Calibration artifacts published separately- Explicit opt-in pull only — never auto-downloaded at build time123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ "alora_invocation_tokens": null, "alpha_pattern": {}, "arrow_config": null, "auto_mapping": null, "base_model_name_or_path": "/home/mkinney/t5500-bundle/models/Qwen3.5-2B", "bias": "none", "corda_config": null, "ensure_weight_tying": false, "eva_config": null, "exclude_modules": null, "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "kasa_config": null, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 32, "lora_bias": false, "lora_dropout": 0.05, "lora_ga_config": null, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "monteclora_config": null, "peft_type": "LORA", "peft_version": "0.21.0", "qalora_group_size": 16, "r": 16, "rank_pattern": {}, "revision": null, "target_modules": [ "v_proj", "o_proj", "k_proj", "q_proj" ], "target_parameters": null, "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_bdlora": null, "use_dora": false, "use_qalora": false, "use_rslora": false, "velora_config": null}123version https://git-lfs.github.com/spec/v1oid sha256:532be3bdf2ebc560bbbad95c7927937785dddaf0967a7918a5a4c030689d3a9fsize 590461612345678910111213141516{ "format_version": 1, "scheme": "temperature", "model_id": "e1e-qwen3.5-2b-holdout", "calibration_version": 1, "default_temperature": 3.361557, "temperatures": { "choice": 3.361557 }, "fit": { "items": 120, "ece_before": 0.179237, "ece_after": 0.116711, "source": "e1 slot-readout eval of /home/mkinney/t5500-bundle/eval/suite_holdout.json (sha256 6e9b6e0fe3ded2bb), single-run arm eval-holdout-best, model /home/mkinney/t5500-bundle/runs/e1-e-qwen2b/adapter-best; winner-vs-rest margin fit, in-sample" }}README.mdAdded+98
adapter_config.jsonAdded+48
adapter_model.safetensorsAdded+3
calibration/fit.jsonAdded+16