JevLite-SWEChat-JA

Coding-agent session router/review head trained on SWE-chat (ODC-BY). JevLite is a typed-decision architecture: a ModernBERT encoder reads a session state plus an embedded question schema (question text and candidate labels as marker tokens), and a per-label linear head produces grouped-softmax probabilities for each question. It does not generate text.

Questions

Pre-route (before running the turn):

  • tool_needed (yes/no): will this user request need tool execution?
  • complexity (0-3): expected number of tool calls. 0 = none, 1 = 1-3, 2 = 4-12, 3 = 13+

Post-review (after the assistant turn):

  • needs_correction (yes/no): will the user push back on this turn?
  • next_action (correction / continue / done)

Labels are derived deterministically from SWE-chat ground truth: tool counts between prompts, and the prompt_pushback annotation of the following user prompt.

Results (held-out test split, 12,000 decisions, temperature-calibrated)

Question Accuracy Macro F1 Majority baseline
tool_needed 0.824 0.823 0.509
complexity 0.596 0.485 0.491
needs_correction 0.609 0.603 0.549
next_action 0.540 0.497 0.451

Confidence routing: at threshold 0.90, 26.1% coverage at 0.942 accuracy. Calibrated ECE: needs_correction 0.009, tool_needed 0.039.

Training

  • 64,000 training states sampled session-disjoint from SWE-chat (all Japanese-pool rows included, 5,275), 6,000 validation, 12,000 test
  • max_len 512, 3 epochs, batch 16, lr 3e-5, best-validation checkpoint
  • Per-question-type temperatures fitted on validation: [1.4, 1.3, 1.4]

Limitations

  • needs_correction inherits the annotation ceiling of prompt_pushback (reported inter-annotator agreement ~0.79).
  • complexity on Japanese-prompt sessions is weaker (acc ~0.44): session states are mostly English tool logs regardless of prompt language.
  • Trained on SWE-chat's agent mix (Claude Code heavy); transfer to other agent harnesses is not measured.

Format

PyTorch checkpoint for the Open Jev / JevLite runtime (JevLite.from_checkpoint). Contains the encoder state dict, question/label registries, and fitted temperatures.

Core ML (Apple Neural Engine)

Converted with the Open Jev Core ML exporter (fp16, ANE-oriented architecture, macOS 26 deployment target). Packages are under coreml/:

  • coreml/jevlite-128.mlpackage, coreml/jevlite-256.mlpackage, coreml/jevlite-512.mlpackage (fixed sequence-length buckets, ~253 MB each)
  • Input: input_ids / attention_mask [1, S] int32. Output: token_logits [1, S] - gather at the label marker positions and apply the grouped softmax with the checkpoint temperatures, same as the PyTorch runtime.

Measured on a MacBook Pro (M2 Max), median token_logits latency on the Neural Engine: 4.7 ms (seq 128), 7.7 ms (256), 18.9 ms (512). Decision agreement with the PyTorch reference was 100% on 120 held-out decisions (max abs logit error 0.015, confidence MAE 0.0003). First load compiles for the ANE and takes roughly 7-13 s per package, so the packages are meant to stay resident.

Downloads last month
12
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for eightman999/jevlite-swechat-ja

Quantized
(17)
this model

Dataset used to train eightman999/jevlite-swechat-ja