Naluri-561M-jev-distilled
Naluri-561M, further trained on the answers of TypeSafe's Jev.
This is Naluri-561M-encoder with one more epoch of training. In that epoch, about 23% of the examples are black-box distilled from Jev: new questions about texts Naluri already saw, labelled with Jev's probabilities through its public API. The rest are Naluri's own gold-labelled data. Same input format, same three question types (noul, choice, score), same size and speed as the 561M model.
It is an experiment in what you can learn from a commercial decision model's outputs alone, for about $1.35 of API credit. It does not reach Jev's accuracy, and it is not a drop-in replacement for Jev.
| Model | What it is | System One Bench |
|---|---|---|
| Naluri-561M-encoder | trained on public datasets and LLM-labelled synthetic decisions | 64.9 |
| Naluri-561M-jev-distilled (this model) | the same, plus one epoch with Jev-labelled questions | pending |
| Jev 1.14 (TypeSafe, API) | the teacher | 79.3 |
Code, distillation script (distill.py) and full report: github.com/jerichosiahaya/naluri.
Load with the bundled
naluri.py(see Usage). The standardtransformerspipeline and the hosted inference widget can't run Naluri: its decision head is custom code.
Usage
pip install torch "transformers>=4.48" safetensors huggingface_hub
from huggingface_hub import hf_hub_download
import importlib.util
# naluri.py (input format + model + loader) ships with this repo
spec = importlib.util.spec_from_file_location("naluri", hf_hub_download("jerichosiahaya/Naluri-561M-jev-distilled", "naluri.py"))
naluri = importlib.util.module_from_spec(spec); spec.loader.exec_module(naluri)
tok, model = naluri.from_pretrained("jerichosiahaya/Naluri-561M-jev-distilled", device="cpu") # or device="cuda"
state = {"message": "Pesanan saya sudah seminggu belum sampai dan CS tidak membalas."}
questions = {"complaint": {"type": "noul", "instructions": "Is `message` a complaint?"},
"urgency": {"type": "score", "instructions": "How urgent is `message`?",
"criteria": ["not urgent", "somewhat urgent", "very urgent"]}}
print(naluri.predict(tok, model, state, questions, device="cpu"))
- Named fields work. Put the inputs in named fields and point at them with
backticksin the question. - Option descriptions matter. Naluri reads them, so clear, distinct descriptions give better answers.
- Limits: the question plus options must fit in about 192 tokens, and the full input is capped at 512 tokens.
- Uncertainty is meaningful: probabilities near 0.5 (or several options close together) are the cases to send to a human or an LLM.
Results
System One Bench
Pending. The full run (16 suites, 3,250 cases) has not been done yet for this model.
Local checks
Measured in the Naluri repo against the 561M model it starts from. Single runs. The banking77 and SST sets are 300 random test cases each, with our own question wording, so they are proxies and not the board's cases; differences of about ±5 points there are noise.
| Naluri-561M-encoder | This model | |
|---|---|---|
| typed-decisions (400 test cases) | 56.5% | 56.6% |
| AG News (2,000 test cases) | 81.6% | 83.3% |
| SST-2 (proxy) | 74.0% | 79.7% |
| SST-5 (proxy) | 40.0% | 39.3% |
| Banking77 (proxy) | 36.0% | 34.0% |
| Dev score used to pick checkpoints | 0.697 | 0.705 |
| Calibration error (typed-decisions) | 0.016 | 0.034 |
- Gains are on sentiment and news topics, where Jev answered confidently and the questions match the task.
- No change on business decisions (typed-decisions), after rebalancing the training mix (see Training).
- Calibration is a little worse than the 561M model's, though still low.
Training
How the distillation works
- Inputs we already had. The texts come from Naluri's own M9 training data, so no benchmark test text is involved. No private or customer data was sent to Jev.
- New questions about them, from templates: yes/no sentiment, a 5-level sentiment score, a 4-way news topic, "is this passage relevant to this query?", "which of 4 passages best answers this query?" and "does this require someone to take action?". These questions have no gold labels.
- Jev answers each question through
POST /v1/systemone. Its probabilities over the options become the training target (a soft label). 48,609 questions, 26.6M input tokens, about $1.12. Jev's top answer had probability 0.8 or more on 47–90% of the questions, depending on the template. - Training: one epoch from Naluri-561M-encoder on the Jev rows plus the same number of gold-labelled M9 rows, with cross-entropy against the soft or one-hot targets, then one calibration temperature per question type (choice 1.66, score 1.39, noul 2.44). Task-balanced sampling (p ∝ √size), Jev rows weighted 1.5×, synthetic decisions and minimal pairs 3× each. Encoder learning rate 1e-5, head 5e-4, token embeddings frozen. 82 minutes on an 8 GB RTX 5050 laptop GPU.
What did not work
Recorded so others can skip these:
- Relabelling questions that already have gold answers (5k questions): no gain. Jev agreed with the gold label about 80% of the time, and where it did not, it was often wrong (Amazon stars, emotion).
- 30-option intent questions on MASSIVE utterances did not transfer to Banking77 (a different domain), and Jev was confident on only 61% of them.
- Urgency scores: Jev was confident on only 35%. Dropped.
- Without rebalancing, the 48k Jev questions crowded out the decision data, and typed-decisions fell to 54.2%. Weighting the synthetic decisions up fixed that, at the cost of part of the sentiment gain.
- 10× more questions did not give 10× the gain. Gains level off fast: the student learns only the answers to the questions you ask.
Training data
The gold-labelled half is a sample of the M9 data (about 125k typed questions) that Naluri-561M-encoder was trained on. The licenses below are as listed on each dataset's card; check them yourself before any use.
| Dataset | Use | License (per dataset card) |
|---|---|---|
| XNLI | entailment (noul / choice) | CC BY-NC 4.0 |
MASSIVE (mteb/amazon_massive_intent) | intent (choice / noul) | CC BY 4.0 (original) / Apache 2.0 (mirror) |
| Amazon Reviews Multi (mirror) | review stars (score) + polarity | Amazon's own terms (non-commercial) |
| TextDetox multilingual toxicity | toxicity | OpenRAIL++ |
| papluca/language-identification | language ID | derived from Amazon Reviews, XNLI and STSb |
| dair-ai/emotion | emotion | other |
| RACE | reading comprehension, plus yes/no option checks | non-commercial research |
| SQuAD 2.0 | is the question answerable from the passage? (noul) | CC BY-SA 4.0 |
| MultiRC (SuperGLUE) | is this answer correct? (noul) | see the dataset card |
| UCI SMS Spam | spam | unknown on the Hub |
| MasakhaNEWS, Yahoo Answers Topics, DBpedia-14 | topic classification | see each dataset card |
| Synthetic decisions, ops decisions and minimal pairs (20k) | business decisions in 17 languages | written by DeepSeek V4 Flash, labeled with probabilities by DeepSeek V4 Pro |
The distilled half is 48,609 template questions on M9 texts, labelled by Jev 1.14 (jev-latest, TypeSafe API, October 2026).
The SIB-200 and XCOPA validation splits were used only to pick the epoch. No test split of any eval set was trained on.
License
These weights are released under CC BY-NC 4.0 (non-commercial), because several training datasets restrict commercial use. The base model (XLM-RoBERTa large) is MIT. The code on GitHub is Apache 2.0. For commercial use, retrain on data you are licensed to use; the pipeline is in the GitHub repo.
Limitations
- Far below the teacher. Jev 1.14 scores 79.3 on System One Bench; the 561M model it starts from scores 64.9. This model is not a substitute for Jev.
- It inherits Jev's mistakes on the distilled question types, not just its strengths.
- Many options (more than about 12) are still weak, as are BoolQ and Banking77.
- Bigger and slower than the smaller Naluri models: 1.1 GB fp16, about 14 ms per question on a laptop GPU.
- Unrelated fields can sway yes/no answers (measured on the 308M model). Put only the fields a question needs into the state.
- Seeds: this is a single run.
Acknowledgements
The teacher is Jev by TypeSafe, used through its public API; this model is not made or endorsed by TypeSafe. Built on XLM-RoBERTa large by Meta AI. The input format and fine-tuning recipe follow Laya.