Ask new questions.
Supply instructions and answer descriptions at inference time. All tasks use the same scoring head.
IN DEVELOPMENT AN EDUCATIONAL AI PROJECT
Turn text and questions into answers your code can use. Jiffy is an educational alternative inspired by Jev, built to make generalized classification understandable.
Preparing an open-source release. Built for learning.
01 / YOUR INPUT
“I was charged twice for the same order. Can you help?”
02 / YOUR QUESTION
Which team should handle this?
03 / A TYPED ANSWER
ChoiceIllustrative probabilities. No model is running on this page.
01 / THE BUILDING BLOCKS
Describe the question and the allowed answers. The model scores them; Jiffy constructs a response with a defined shape.
“I was charged twice for the same order.”
{
"type": "choice",
"choice": "billing",
"probabilities": {
"billing": 0.92,
"shipping": 0.05,
"returns": 0.03
},
"confidence": 0.70
}
The selected key always comes from your options. A valid key can still be the wrong answer.
These are example outputs, not measured predictions. Confidence describes the distribution; it is not a guarantee of correctness.
02 / UNDER THE HOOD
A pretrained text encoder, a trainable interaction head, and a small set of output rules. Each piece is there to inspect and understand.
Supply instructions and answer descriptions at inference time. All tasks use the same scoring head.
Cache fixed questions across documents, and share one document encoding across several questions.
Use an open model as a teacher, train the student on its probability targets, then evaluate on held-out data.
03 / BUILT TO BE UNDERSTOOD
Jiffy takes inspiration from Jev’s typed-decision interface and explores it with a small, inspectable classifier. The goal is an open-source educational alternative you can study, modify, and train yourself.
It is an independent implementation. Jiffy does not reproduce Jev’s undisclosed internals, and comparable accuracy or speed has not been demonstrated.
Read about the original inspirationData generation, distillation, checkpoints, resume, evaluation, and local serving.
Choice, Score, and Noul with task and document caches.
Toy CPU checks are complete. Broad training, calibration, and GPU benchmarks are still ahead.
The repository is currently private. An open-source license and public release are being prepared.
04 / A SMALL PLACE TO START
After training a checkpoint, compile a task, encode an input, and score it. Keep the task around for the next document.
from jiffy import Question, configure_runtime, load_model
# Load a checkpoint you have trained.
model = configure_runtime(load_model("runs/student"), "cpu", "float32")
task = model.compile_task(Question.choice(
"Which team should handle this?",
{
"billing": "Charges, invoices, or payment errors",
"shipping": "Delivery updates or missing packages",
},
))
state = model.encode_state("I was charged twice.")
result = model.score(state, {"route": task})Source access is currently limited to repository collaborators.
Repository (private) Training guide (private)A FEW USEFUL DETAILS
Jiffy is a classifier built around a text encoder and an interaction head. At inference time, it scores the answers you provide and constructs typed results. It does not generate answer text token by token.
No. Type safety constrains the shape and allowed values of a successful response. The model can still choose the wrong option, and useful confidence requires calibration and evaluation on representative data.
The pretrained encoder provides a starting point, but Jiffy’s interaction head needs training. This project currently provides the software and an educational workflow, not a broadly trained classifier or hosted inference API.
The current model accepts text, with up to 8,192 document tokens and a default limit of 1,024 tokens per question/candidate pair. CPU execution has been tested. NVIDIA GPU training profiles are prepared, with hardware checks at startup. Images and native 32K context are future work.