Machine-assisted English translation. Original code, logs, and model inputs are shown as recorded; consult the Korean article if wording is unclear.
background knowledge & API Guide · As of October 2026
Why was Jev in the spotlight? What can we create?
If you are confused about the model name, learning tool, and API mixed together Let's start by summarizing the relationship here.
An alternative to Clef is Model and API MapYou can compare at a glance. price and performance Comparison table by model, the experimental candidate is MNIST RecommendationYou can see it here. First, we read the background and examples, and later we look at actual requests and responses. If you want to see the code Web APIme Unsloth Python APIYou can skip straight to .
It is not a structure that calls three things one after another.
The MNIST experiment on this site does not call the Jev server. A Qwen-base model trained directly with Unsloth looks at the picture and chooses an action. It is not an evaluation of the completed Clef model deployed by Cloudflare. actual model code
How is it different from a typical classifier?
Traditional classifiers usually output categories determined during training. The decision model covered here is Including the question to be judged and the meaning of the options in each requestThis is the feature. For example, in ‘Which team should I send it to?’, the option is given as ‘Payment/Technology/Other’, or in other requests, change it to ‘Archive/Review/Delete Candidate’. It must be separately verified whether the new options are judged well.
It may look similar to LLM, which outputs JSON. The difference lies in the JSON file format itself. Do you sequentially generate free sentences internally, or do you score points directly on the accepted answers?It is in Even an answer that is correct in type may be wrong in content. Concept source ↗
02 / Appearance and spread
The starting point of this interest was TypeSafe's Jev reveal
‘First’ must be said in terms of scope. Classification, scoring, and policy selection themselves are old machine learning problems. here Public flow surrounding a universal typed decision API in fall 2026covers. It is not possible to determine the inventor of the entire decision model based on the chronology below.
2026. 09. 15. · Model released
Diogo Almeida and TypeSafe AI introduce Jev
Founder Diogo Almeida brought rapid structured judgment to the forefront under the name ‘System One’. We also introduced a probability calibration-centered learning method called RLCD. Speed and cost advantages should be read as comparative claims made by the presenter, and are not multipliers that apply to all tasks.
The agent's records were read and connected for the purpose of evaluating whether personal information was exposed or the quality of responses. This is an example of how models used outside of chat found their way into specific development tools.
In addition to a compatible API, weights that can be run directly have been released. Cloudflare says the previous DiffusionGemma experiment originated from independent research by Matt Mastracci. We need to look at both those who made the product public and those who contributed to its public implementation.
After introducing d1, which judges text and images, we presented the results of running public weights and edge equipment. The omni-600M was introduced as an initial research checkpoint and should not be interpreted as being as complete as the larger model.
Summarizing the above data, ① Entrust classification, evaluation, and branching to LLM, ② Broaden input beyond text to include images, etc., ③ Run public models locally and learn additionally for each task.This is a flow that expands to . This is a composite interpretation of the data and is not a statistic that aggregates the entire market. Unsloth's decision model learning and serving support also falls into the third direction. Study Guide ↗
System One is a name that understands the approach the product promotes.
This metaphor distinguishes between quick judgment and slow deliberation. The name alone does not mean that it has human-like intuition or that it can solve all reasoning problems. Conceptual explanation of Vercel ↗
03 / Reported uses and limitations
Let's see where it was used and what was confirmed.
Product Integration · 2026. 09. 21.
LangSmith evaluating agent records
Use Jev as an evaluator to give structured feedback to your performance notes. For example, ‘Has sensitive information been exposed?’ is asked with a yes/no probability, and ‘What is the user’s intention?’ is asked with an option.
Scope of confirmation: Feature disclosure and usage examples. The results do not guarantee human-like accuracy in all evaluation tasks.
Michael Sugimura of 2389 Research placed Jev in the role of choosing which movement policy to use, rather than using him to find the route for each movement. The high-level goal is handled by another model, and the actual path calculation is left to the code.
Scope of verification: Report of developer's own initial experiments. It would be inaccurate to present it as an example of ‘Jev solved the entire game by just looking at the screen.’
Cloudflare has introduced a test where its threat intelligence team reads websites and determines their categories. Combining import, rendering, and classification, Clef reported a time of 2.2 seconds, compared to LLM's 4.7 seconds.
Scope of Confirmation: The specific workflow measured by the company. It is not a pure inference time of the model itself or an independent security certification number.
Deußer, Sparrenberg, and Sifa evaluated classification, routing, and comprehension on 346,009 requests. In addition to good results, we also report differences across low-resource languages, fine-grained categories, and rating scales. For binary judgments, threshold adjustment was important.
Confirmation scope: Fixed prompt and comparison model conditions of Jev 1.13.0 and thesis. arXiv preprint.
Evaluation Paper ↗Independent Security Assessment · Submitted on October 13, 2026
Even if the format is fixed, whether or not it is resistant to attacks is different.
Li et al. applied the same attack input to Jev·LLM evaluator·dedicated classifier. Jev was strong on some rule-based checks, but reported missed cases and attack impact in his phishing determination.
Scope: Results from four tasks and corresponding attack configurations. The conclusion that ‘prompt attacks are impossible because sentences are not generated’ does not hold. arXiv preprint.
From filtering support requests to inspecting circuit boards
Liquid AI evaluated d1 on six application challenges. The visual inspection provided images of both the healthy part and the object to be inspected. The direction is to narrowly define the question and use it to judge the image.
What we see: Manufacturer demos and comparisons performed once with each application on each model. This is different from the on-site defect detection performance confirmed through repeated experiments.
Jev·Clef is not alone in this field. Commercial API, public weight, learning/serving implementationIf you look at them together, they are divided as follows. This is a compilation of the major series confirmed by primary sources as of October 30, 2026, and is not an exhaustive list of all derived checkpoints.
“Open API” is different from “Open Model”.
Even commercial APIs that anyone can call by issuing a key may have a private model inside. Conversely, you can also download public weights and use them on your own private server. OpenAPISince the term also refers to the API specification format, here it is divided into ‘hosting API’ and ‘public weight’.
Below are products with verified hosting APIs. We do not assume that products whose disclosure weights cannot be separately confirmed are permanently private.
Look for material on the web and use your judgment based on the source. Search time and cost must also be compared with models that only score provided input.
Evaluates whether a specific action occurred in the agent execution history. It focuses on observation and evaluation tasks rather than a general-purpose selection model.
B. Series to look at API and public model together
Even if it is the same brand, this does not mean that the size, version, and performance of the model called from the server and the model downloaded are the same.
Distinguish between the hosted d1 family and the public d1-3B·d1-omni-600M. omni is an early research model and the public model is licensed by Liquid.
The API guides v1.2 and Flash v1.2. Public v1.1-27b is Apache-2.0 and must preserve dedicated decision and attention settings. It doesn't even mean revealing the weights of the latest API models.
It deals with typed judgment and inference budgets. Manufacturers also provide public weights. Please double check the model card and license for the actual downloaded version.
C. Open model/implementation to run or learn directly
Public weight means you can receive the file and run it. This does not mean that all training data has been made public, and even if hosting costs disappear, equipment and operating costs remain.
Small encoder series. Distinguish between English ModernBERT and multilingual mmBERT variants. The performance of the basic model and the typed-decisions specialized model is also different.
Small model that supports CPU execution. It covers not only judgment but also constraints between span·relationship extraction and output, and full·LoRA learning.
This is a text/image judgment model based on Qwen3.5-4B. Check how the model card's judgment is implemented first, rather than an example for a general chat model.
This is a series of decision models and execution environments to be used in routing, etc. A distinction is made between the inference engine itself, called vLLM, and the individual decision models.
This project provides everything from a learning pipeline that attaches a judgment unit to evaluation and a local server. It is separate from Perplexity’s Decider.
To add judgment function without running the server: Hosting APIs such as Jev·OpenAI Decisions·Microsoft-Decision-1·GLiDE·Mercury Decide are compared using the same evaluation data.
To start with small text classification on my computer: You can start by looking at encoder models such as Laya·GLiNER2.5-Decide. Check whether Korean language is supported and actual Korean accuracy separately.
To pick an action by looking at an image like in this MNIST experiment: Check the corresponding version of Clef·d1·H2O-Lightning·pplx-Decider that supports image input, and check the support range of Unsloth or Strands for direct learning.
If you need up-to-date web information to help you decide: Like Parallel, compare services including search. Comparing model inference times alone misses differences across tasks.
Can I replace it by just changing the API address?
This isn't always the case. Jev series state / questions / nouland OpenAI's input / questions / predicateAlthough the meaning is similar, the JSON structure is different. Cloudflare also has a different outer response wrapper. Request transformation, response transformation, error handling, probability threshold reassessmentis required. Don’t just look at the word ‘compatible’ and treat the numbers as having the same meaning.
In particular, Perplexity explains that even if you send an old model name in the API, you can connect to the new version. If it's a repro experiment, you should check the change history and actual delivered version, not just the name. Version/Charging Rules ↗
Are general LLM/classifier/router alternatives?
yes. Alternative methods include requesting structured output from general LLMs such as GPT·Claude·Gemini, learning the Qwen·Llama series directly, or using a BERT classifier. However, not all are ‘dedicated decision models’ in this table. First decide whether you need a free explanation, just a fixed category, or whether the options will change with each request.
Distribution APIs like OpenRouter and learning tools like Unsloth are also distinct from the models themselves. Even though the model list may seem large, there are cases where multiple services provide the same weights.
Comparison / Price · Speed · Accuracy · Korean
Look at the numbers side by side, but also read the measurement conditions
Confirmation date 2026. 10. 30. · 18 series were divided by version and execution method, and an additional Korean learning model was added. The numbers below are compiled from public data and are not the result of new API calls or model benchmarks.
Four criteria for reading tables
Price: Unless otherwise noted, USD / input 1 million tokens. The ‘no call fee’ in the public model does not mean the total cost is 0 won.
Speed: p50 is the median, p95 means 95% of requests will finish within that time. On-device inference, commercial APIs, and customer cases are represented by different measurements.
Accuracy: DI is the Decision Index score, not the general % correct answer rate. If the versions, divisions, tasks, and executors are different, do not use them for ranking comparison. F1 is also different from the percent correct.
Korean: ‘Unconfirmed’ does not mean impossible. The multilingual ability of the base model alone did not guarantee the Korean language quality of the judgment model.
On narrow screens, try sliding the table horizontally. Sources for each model are in the first column.
Public figures and confirmation ranges for each model — not an accuracy leaderboard
Local execution: No call fee / Separate equipment and power
115 ms median · RTX 3090, project description; Doesn't generalize to image speed
JevBench evaluation provided. Model cards are checked for each release; scores from other learning experiments are not used as representative values.
Evaluation and support details for each Korean language unconfirmed
check support
There are no models that match your search criteria. Please clear the search term or select all models.
How much will the API cost for a small MNIST experiment?
Assumptions: 10,000 requests × 1,000 tokens billed per request = 10 million tokens. At this time, only the input fee is calculated as follows. This is not an actual estimate, but a calculation to understand the unit price, and varies depending on image tokens, retries, cache, taxes, and payment fees.
$0.10pplx Flash v1.2
$0.20pplx v1.2 / d1
$0.38Clef-flash
$0.42Jev 1.14
$1.00OpenAI Decisions · No cache
$2.40Clef
The price source is the link for each model in the table above. Perplexity Flash recharges the state for each question if you ask multiple questions in one request. Don't apply single question-based calculations to multi-question requests. Official Billing Rules ↗
Additionally, the static action evaluation of ‘1,000 sheets Even if the picture is small, the service can internally enlarge it and tokenize it.
Recommended / Apply to this MNIST experiment
Maintain a baseline model and compare small public models and APIs one by one
The recommended order for this experiment is Picture + current number → −1 / 0 / +1It is a judgment tailored to this purpose. The MNIST performance of the candidates below has not been newly measured.
First, the current model is the basis for comparison.
The stored Qwen3.5-0.8B + judgment unit/LoRA experiment is based on the first 1,000 sheets of the official MNIST test and 10,000 judgments made with 10 current values. Action accuracy 97.70%, episode success rate 93.62%was recorded. Single p50 on RTX 5070 Ti Laptop 12GB 93.33 ms, p95 97.97 msIt is. The image was pre-read and resized, and model loading, disk, and network are excluded. The Korean condition was not measured.
Since images are received directly and there are public weights, it is good to compare the current 0.8B model with the ‘untrained general-purpose judgment model’. The developer's data includes conditions for image input speed, making it easy to plan measurements. However, you should not use the 4090's 17 ms as the expected speed of your current laptop.
First, compare only the inferences with the formal runtime, leaving further training as a separate step. It has not been confirmed that you can learn from the existing Unsloth code by just changing the name.
Given that it is a Qwen-based multimodal judgment model, it is worth comparing with the current experiment. It is Apache-2.0 and image judgment evaluation is also publicly available. However, the recommended run uses a dedicated vLLM build/shim, so installation and verification tasks are greater than the current environment.
Precision and runtime must be checked to determine whether it can run on Windows·12GB. The number of parameters alone does not guarantee that they will fit into memory.
Both have confirmed image input. If you have one behavioral question per request, Flash v1.2's lower input cost makes it a good candidate for your first API comparison. Clef-flash is a comparison group that checks for connections to the families covered in this tutorial.
If complex wrong answers remain, try adding pplx 27B or OpenAI Decisions. This is a recommendation based on unit cost and connection convenience and does not determine a winning model for accuracy.
Strands has a vision option and learning code, so it is a candidate for comparing ‘how the judgment part is learned.’ Distinguish it from dedicated MNIST training as it uses the visual capabilities of checkpoints that are not trained on images.
To evaluate just the number recognition itself, predict the number with a small CNN and write it as code. sign(예측 숫자 − 현재값)Also include the baseline for calculating . You can determine whether you made a mistake in image recognition or if you made a mistake while applying behavioral rules. CNN performance has not been measured yet.
Laya·laya-ko·GLiNER2.5-Decide is for text judgment, so it is not suitable as a comparison group for directly inserting images. If you add OCR or another number recognizer in front, it becomes a different experiment called ‘recognizer + judgment model’. Web searches in Parallel are also not needed for MNIST. Clef 27B·Public pplx 27B can be used as an API for comparison, but it is too burdensome to use as the first local candidate on a current 12GB laptop.
For Korean comparison, you can add it like this:
Keep the same image, current value, and option ID, but change only the questions and explanations to English/Korean. Example: “The current number is 3. Choose your action to get one step closer to the number in the picture. Stop only when it is the same.” If you send it in Korean, you should not write the correct answer number in the state.
We use the same test.
The saved 1,000 sheets and the current value 0–9 are used identically, and additional learning is separated from the test picture. Record input resize, selection order, and model version.
Accuracy and termination success are measured separately.
View action accuracy, rollout success rate, and incorrect stop/cycle rate together. NLL/Brier, etc. are recorded by distinguishing between being wrong with a probability of 0.1 and being confidently wrong with 0.99.
Speed is measured on actual usage route.
API records p50/p95 including image encoding and network, and local records single and batch throughput including preprocessing separately. It doesn't just report pretty numbers, excluding errors and retries.
Let's look at the influence of the Korean language in numbers.
Korean Accuracy − Find the %p difference in English accuracy and the behavioral discrepancy rate between the two languages. When interpreting the difference, the 10 states of the same picture are related to each other, so the confidence interval is calculated on an image-by-image basis.
What we've added now are data-based comparisons and experimental recommendations. Paid API calls, new model download/training, and Korean performance measurements were not performed.
04 / Understanding Clef
Clef is an open model that ‘scores the options for each question’
After the Qwen-base model reads the input, Clef joint schema headIt is a structure that calculates the score of the question and the allowed options. Convert the score for each question into a probability. There is no need to create free descriptive sentences first.
Situation + Question Text, image, etc.
→
Qwen base model Compute representation of input
→
judgment department Probability by choice
In the confirmed model card, Clef is based on Qwen3.8-27B, and the weight and judgment part implementation is released as Apache-2.0. A smaller variant is Clef-flash. You can check the exact model configuration and conditions at the time of use based on each model card. Model Card ↗
Distinguish between ‘Clef method head’ and ‘Cloudflare/Clef complete model’.
Our experiments attached a new judge unit to the smaller Qwen3.5-0.8B. Using the structure does not mean that the pretraining results, performance, and calibration characteristics of the Cloudflare model are transferred as is.
Additionally, ‘Jev API compatibility’ means that questions and responses can be exchanged in a similar format. This does not mean that the structure surrounding the server address, authentication, response, and actual probability value are the same. Guide to using Workers AI ↗
05 / Unsloth Feature Map
Tools to select, train, save, and run models
Unsloth is not the name of one specific model. There is a training framework that you can use as Python code, and there is also a desktop app that handles running and training models on the screen. official introduction · Desktop Features ↗
function
What can you do?
In this experiment?
Model loading/inference
Load supported language and vision models and run them locally
Qwen VLM and processor loading
LoRA / QLoRA
Supports learning some additional weights and reducing memory usage with quantized loading
4bit-base model + LoRA learning
Full fine tuning/pretraining
Learn a wider range of weights from supporting models and environments
Not used
GRPO·DPO, etc.
Supports learning procedures with rewards or preference data
Not used. Here, supervised learning gives the correct action.
Decision model learning
Attachment of new judgment unit, conversion of answer data, learning, evaluation and probability calibration
Core features. Described in the following API section:
Save/Export
Adapter storage, use distribution formats such as merge and GGUF in supported paths
Saving and reloading LoRA and decision section
Local Decision API
Compatible HTTP API provided from Desktop to Laya, Clef, etc.
There is a difference between ‘Unsloth supports’ and ‘all combinations on all models’. For example, the decision API implementation preserved in this repository refuses to load 8 bits. Laya and Clef series also have different 4bit support paths. You should not just look at the generic export description for LLM and assume that custom judgments will run on any inference engine. Confirmation of implementation at the time of experiment ↗
06 / API common language
The state is the data to be judged, and questions are the standards to be judged.
For example, let’s say you receive an inquiry saying, ‘The password reset email has not arrived.’ This is stateIt is. Which team will be in charge, whether there is a possibility of failure, and how big the impact will be on the business. questionsPut it in . You decide the ID of the question yourself.
Question type
shape of the question
Value to read from response
choice
One of several options. criteriais option ID → description
choice, by choice probabilities, confidence
noul
A yes/no question such as ‘Is this an account access issue?’
noul: Probability of yes, 0~1
score
List of steps described from low to high
score, step by step probabilities, legend, confidence
If there are three stages, the stage numbers are 0·1·2. If the probability is 0.1·0.4·0.5, the score is 0 × 0.1 + 1 × 0.4 + 2 × 0.5 = 1.4It is. It can be a decimal number since it is a weighted average of the step positions. As the grade description changes, the meaning of the same 1.4 also changes.
Probability and confidence are not the same field
The probability of the ‘Technical Team’ option and the confidence of the entire response are read separately. In particular, Unsloth's Laya serving and Jev have different confidence calculations, so the existing threshold should not be transferred as is. You will need to reassess from the same work materials. Differences in compatible APIs ↗
Are there types like Image and Box?
The current TypeSafe document also has a separate Box type that inputs an image and returns the area within the image. As of confirmation date, both are experimental features and require the TypeSafe-Danger-Zone-Images: true header to be used. The three types above are the common introductory scope of this article. You must check the dedicated documentation for image transmission formats and support models, and Python's PIL object cannot be directly inserted into HTTP JSON. Images · Box
07 / Remote model call
Code to send the same question to Jev and Clef
Below is a newly written Python example to illustrate the request format. requests You will need the API key for the package and its service. This page does not run the actual API or take any keys.
① First define the question
Common examples · Python
state = "I cannot sign in because the password reset email never arrives."
questions = {
"route": {
"type": "choice",
"instructions": "Select the team best suited to resolve this request.",
"criteria": {
"account": "Sign-in, account access and password recovery",
"payment": "Charges, receipts and payment methods",
"other": "Requests outside account access and payments"
}
},
"access_issue": {
"type": "noul",
"instructions": "The user is unable to access their account."
},
"impact": {
"type": "score",
"instructions": "Assess how much the issue blocks the user's work.",
"criteria": [
"Work can continue without any interruption",
"Some work is blocked but an alternative is available",
"The user cannot proceed and no alternative is stated"
]
}
}
The option ID is the value the code will read, and the description is the standard by which the model will judge its meaning. Rather than just writing down ‘1, 2, 3’, it is better to explain what each step is. The English text above is an example input and is separate from the Korean explanation.
requests.post(..., json=...)handles JSON serialization and Content-Type setting. The result is answers Returning to the question ID requested below. jev-latestis an alias that can be changed, so the experiment record contains the model Leave the value as well, and if you need to reproduce it, choose the fixed version available in your account. HTTP request/response source ↗
How does it change if I use the Python SDK?
# 설치: pip install typesafe-sdk
# 위에서 정의한 state, questions를 재사용합니다.
from typesafe_sdk import TypeSafeClient
with TypeSafeClient(timeout=30) as client:
result = client.system_one(
model="jev-latest", state=state, questions=questions
)
print(result.answers["route"].choice)
The SDK is TYPESAFE_API_KEY Reads environment variables and returns a typed response object. Don't mix HTTP's dictionary access with SDK's property access. It also provides a default retry policy. Client Specification ↗
③ Call Clef with Cloudflare Workers AI
Same question, different service address and authentication
Cloudflare REST API is out there success·errors·resultLeave it. Inside Workers env.AI.run() The example and response access paths are different. You'll also need a model identifier and Workers AI permissions for that account. How to use Clef · REST response format ↗
How do I read a request failure?
In TypeSafe, 401 is authentication, 422 is validation error, such as question format. 429 is a call volume limit, and 529 is a temporary overload, so increase the interval and retry. The REST example above is minimal and does not implement automatic retries. Error codes and retries ↗
08 / Learning the model directly
At Unsloth, we deal directly with Python objects.
From this point on, it is not an API that sends JSON to a web server. Function to upload a model to my computer memory and learn itIt is. The tables and code below are based on the implementation at the time of the experiments preserved in this repository, to avoid mixing up changes in more recent documentation.
call
important factor
Results and Role
FastDecisionModel.from_pretrained()
model_name, max_seq_length, load_in_4bit, dtype
(model, tokenizer 또는 processor). Loading and judgment unit configuration
get_peft_model()
model, r, lora_alpha, lora_dropout
Model prepared for LoRA training
build_dataset()
rows, processor, model
(items, report). Input conversion and missing/truncation reporting
from PIL import Image
image = Image.open("digit.png").convert("RGB").resize((112, 112))
move_questions = {
"move": {
"type": "choice",
"instructions": "Move one step toward the handwritten digit. Stop only when equal.",
"criteria": {
"-1": "Decrease the current number by one",
"0": "Stop at the current number",
"+1": "Increase the current number by one"
}
}
}
row = {
"images": [image],
"state": "The current number is 3.",
"questions": move_questions,
"gold": {"move": "+1"} # 예: digit.png의 정답 숫자가 7일 때
}
goldis the correct answer for grading. In real data, the calculation is made by comparing the correct number in the image with the current number. Generalization performance cannot be learned with just the above line. When dividing learning, verification, calibration, and testing To prevent multiple current states created in the same picture from being scattered into different splits Divide into image units.
The order of learning → correction → saving
Below is code showing the flow. train_rowsWow calibration_rowsAssume that is a list of different images prepared in the preceding format. This experiment's environment supports CUDA·BF16, and the complete execution procedure and package version are provided at Reproduction GuideFollow.
Learning framework for illustration purposes · GPU learning is not performed automatically
from unsloth import FastDecisionModel, DecisionTrainer
import torch
from transformers import TrainingArguments
model, processor = FastDecisionModel.from_pretrained(
model_name="unsloth/Qwen3.5-0.8B",
max_seq_length=1024,
load_in_4bit=True,
dtype=torch.bfloat16,
)
model = FastDecisionModel.get_peft_model(
model, r=16, lora_alpha=16, lora_dropout=0
)
items, report = FastDecisionModel.build_dataset(train_rows, processor, model)
cal_items, cal_report = FastDecisionModel.build_dataset(
calibration_rows, processor, model
)
for check in (report, cal_report):
if check["skipped"] or check["truncated"]:
raise ValueError(check)
if not items or not cal_items:
raise ValueError("학습·보정 자료가 비어 있습니다.")
FastDecisionModel.for_training(model)
trainer = DecisionTrainer(
model=model,
processing_class=processor,
train_dataset=items,
head_learning_rate=1e-3,
args=TrainingArguments(
output_dir="work/checkpoints",
per_device_train_batch_size=32,
gradient_accumulation_steps=1,
max_steps=600,
learning_rate=2e-4,
bf16=True,
report_to="none",
),
)
trainer.train()
FastDecisionModel.for_inference(model)
metrics = FastDecisionModel.calibrate(model, processor, cal_items, batch_size=1)
model.save_pretrained("work/mnist-adapter")
You can see two learning rates. learning_rateis the trainable components on the base model side, head_learning_rateis used in the judgment part. The above skeleton does not replicate the scheduler, callback, and intermediate verification settings of the original text. To reproduce the original figures: train.pyand save settings must be used together.
Get one answer with a saved model
Reuse image·move_questions defined earlier
loaded, processor = FastDecisionModel.from_pretrained(
model_name="work/mnist-adapter",
max_seq_length=1024,
load_in_4bit=True,
dtype=torch.bfloat16,
)
FastDecisionModel.for_inference(loaded)
answers = FastDecisionModel.predict(
loaded, processor,
state="The current number is 3.",
questions=move_questions,
images=[image],
)
move = answers["move"]
print(move["answer"], move["probabilities"])
Three confusing response approaches
Jev REST: result["answers"]["route"]["choice"] Jev Python SDK: result.answers["route"].choice Unsloth of this experiment: answers["move"]["answer"]
Image input must be supported by a multimodal-base model and processor. images Even text-only models don't read pictures if you just put in arguments. The temperature stored after correction may be reflected in the weight depending on the implementation, so the same temperature is not arbitrarily applied once again after reloading.
09 / Local service connection
You can leave Unsloth on and call it over HTTP from your program.
Desktop Settings → API → Decision API → Serve requestsPrepared for local serving. The default address of the document is http://localhost:8888/v1/systemone, and the key can be checked in Access tokens in the same settings. The actual port will follow your settings. Official Implementation Procedure ↗
Reusing the previous statement example state·questions
UNSLOTH_API_KEYis the environment variable name set in this example. Set the token created in Desktop here. local jev-latest The alias can be linked to the model selected in Settings. If the address is local, entering the string Jev does not mean that TypeSafe's Jev will be executed.
This site's preview address is 127.0.0.1:18765is a server that displays HTML. It is separate from the Decision API server above, and the model server does not automatically turn on when you open this page.
10 / From understanding to experimentation
Things to remember when reading benchmarks and APIs
Speed see what's included.
The times including model calculation time, network round trip, and web page retrieval are different. If the numbers for each manufacturer are lined up as is, the comparison may be inconsistent.
Let's share good format and good judgment.
The advantage of always having valid options is that it is easy to connect. We separately check whether the choice is correct and whether the probability of being wrong is low.
Evaluate small business decisions first.
Rather than ‘Handle all inquiries,’ start with questions with a clear scope, such as ‘Which of the three teams should I send to?’ The actual correct answer is then recorded along with confusion cases, probabilities, and response times.
This MNIST experiment is an example of seeing those small decisions with your own eyes. Given a picture and the current state, you can see how the results of one choice and repeated execution change.
Check web resource: 2026. 10. 30. / API example: Document and archived source comparison, Python grammar check. No remote paid API calls or GPU retraining were performed. Available functions and parameters may vary depending on model/package updates.