Executable programs and extensions

Jev-Omni: multimodal decisions on local GPUs

Jev-Omni reads media and chooses a defined answer

Jev-Omni is an open classifier that accepts text, images, audio, or video together with a question and choices, then returns a probability for each choice. It fits workflows that need a result such as received, not confirmed, or unclear, rather than a long generated description.

To classify whether a doorway is open in a photo, you may need one state such as Open, Closed, or Cannot tell. Jev-Omni takes the photo, question, and options and returns the selected text and index, confidence, and per-option probabilities. An application can use the result to record a state or flag photos for human review.

This is an independent open project built by a separate developer on Gemma 4 12B IT. It is separate from TypeSafe AI's Jev and provides its own Python execution code. We start with text to learn the result format, then test photos and other media.

Requirements and key details
  • It returns probabilities for choices about text, images, audio, or video instead of generating prose.
  • The default public loader is CUDA-only and needs about 47.63 GB for FP32 text weights, plus memory for initialization and multimodal components.
  • The published H200 figures are warm-state latency, not RTX or Mac performance and not end-to-end time from download to result.

Classify a state using defined choices

One predict call handles a question and a list of distinct choices. The option text is used as a key in the result dictionary, so every option needs a unique name. Repeating a label such as received would make it unclear which state a probability belongs to.

Some existing Qwen-based JEV-style implementations read internal scores for candidate next tokens1. Jev-Omni instead adds a separately trained classification head to Gemma 4 12B IT. After processing the input, it uses the final-position hidden representation to score the choices, returning a classification without a token-by-token decoding2 loop.

Pencil illustration of document, photo and audio inputs connected to one model and its memory
Classifying different inputs is distinct from generating new media.

Start with a photo and check audio and video input limits

For the first image test, choose a question whose answer is visually checkable, such as whether a door is open. Include Cannot tell for an obscured door or dark photo. Compare results with human labels and record error situations to define which cases can be classified automatically.

The audio helper uses ffmpeg to trim at most the first 30 seconds. An announcement later in the recording may not be processed, and the ffmpeg executable must be installed separately from Python packages. The video path selects 16 frames3 by default and passes them as images; it does not process the audio track. A brief event between sampled frames can be missed.

Jev-Omni uses a separate decision head on Gemma 4

Jev-Omni is a decision classifier built on Gemma 4 12B IT for text, image, audio, and video inputs. It applies a separately trained head to the final representation and returns choice probabilities; do not port the next-token-logit path from Qwen projects unchanged.

Check memory and device requirements before running it

The public checkpoint4's text-weight index is 47,629,401,280 bytes (about 47.63 GB) and contains 11,907,350,272 parameters. The model card says about 50 GB is needed before runtime5 headroom. The default example is not guaranteed to run unchanged on a 24 GB RTX 3090 or 4090, or a 32 GB RTX 5090; the memory size of a 4-bit 12B model does not apply to this setup.

The loader first places the FP326 backbone on CUDA7. The multimodal helper then converts some linear layers to BF168 and also loads the original Gemma model to replace components. Using BF16 autocast during inference9 does not mean initialization needs only half the memory, so peak initialization memory matters. The function rejects non-CUDA devices and does not automatically distribute the model across multiple GPUs.

A workbench with an open GPU workstation and memory modules
Memory needs depend on the storage format and initialization path, not just the model name.

Inspect dependencies and code in an isolated Python environment

The helper lists torch 2.10 or later and transformers 5.17.0, along with accelerate, huggingface_hub, safetensors, numpy, Pillow, opencv-python-headless, and soundfile in requirements.txt. Audio also needs the ffmpeg executable. First confirm that CUDA-enabled PyTorch10 sees the GPU11, then inspect the downloaded Python files before installing the dependencies.

The first load downloads not only Jev-Omni but also the original Gemma multimodal components, so allow for network access and disk space. You can inspect the public files and begin setup inside a virtual environment12.

Prepare the environment and review the public code
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -U pip huggingface_hub
hf download akhilaaa3/Jev-Omni requirements.txt jev_omni.py load_model.py --local-dir jev-omni
# Review the downloaded Python files before continuing.
python -m pip install -r jev-omni/requirements.txt
python -c "import torch; print(torch.cuda.is_available())"
This uses a Linux shell. The final output must be True to continue with the default CUDA path. This step does not download model weights.

Check each modality's input limits

The official example sets modality="image", "audio", or "video" for the corresponding media. Audio is capped at 30 seconds and video uses 16 frames; the video audio track is not processed, so relevant moments or sound may be absent.

The model weights and decision head require about a 24 GB download. The card reports warm H200 latencies of 83 ms for ~2K-token text, 26 ms for image, 31 ms for 13-second audio, and 504 ms for 16-frame video; these are different conditions, not measurements for your device.

Test text classification, then try an image

The example below checks the question, choices, and result format with one text case, then shows how to call the local image path. The image helper reads a local file, but internet access is needed to fetch the model and configuration on first use. Its sample question and options are in English, so Korean workflows need separate testing with Korean prompts13, choices, and human-verified answers.

For photo classification, define distinct states such as Open, Closed, and Cannot tell. Compare confidence and errors using human-labelled photos, then set a rule that routes uncertain results to a review queue.

Get probabilities for your options
import sys
from pathlib import Path

sys.path.insert(0, str(Path("jev-omni").resolve()))
from jev_omni import load_jev_omni

classifier = load_jev_omni()
result = classifier.predict(
    state="The parcel arrived yesterday. The customer confirmed receipt.",
    question="Has the customer received the parcel?",
    options=["Yes", "No", "Not enough information"],
)
print(result)

# After the text test succeeds, set an existing local image path.
# result = classifier.predict(
#     state="This is a photo of a doorway.",
#     question="What is the state of the door?",
#     options=["Open", "Closed", "Cannot tell from this image"],
#     media="/absolute/path/door.jpg",
#     modality="image",
# )
# print(result)
This demonstrates the public loader; it is not a GPU run verified by this site. For audio or video, set modality and media for the actual file.

Read published speed and evaluations with their conditions

The creator's H200 figures are median latency across 20 warm requests on an optimized backend: 83 ms for about 2,000 text tokens, 26 ms for one image, 31 ms for 13 seconds of audio, and 504 ms for 16 video frames. Preprocessing and networking are excluded, so these are not end-to-end times including file loading, frame extraction, and initial weight loading.

Because the model classifies fixed fields instead of writing long answers, latency from input preprocessing to result and concurrent throughput14 matter more than tokens per second. The figures below are the vendor's reported merged-model results, not measurements taken on an RTX or a Mac.

Creator-reported evaluation of the merged model
EvaluationReported scoreCondition
DecisionBench Medium87.57%80 scenarios, 293 questions; equal-weight scenario average
JevBench86.15%195 matched groups and 231 judgments; equally weighted by group
MMAU63.10%Micro accuracy on 1,000 questions
MVBench53.10%14 tasks and 2,786 questions; averaged by task
Illustration of a computer handling document, image, and audio tasks with times for each
Preparation differs by input type; distinguish inference latency from end-to-end time.

Verify the complete path, including the head

The public repository includes head.pt, decision_config.json, and jev_omni.py. Review the code and pin the checkpoint revision before running it. Try one example for each modality and check that input preprocessing, option order, and the probability dictionary keys match.

Log gold labels, success rate by modality, uncertain cases, input size, and warmed latency separately. Include low light, small text, long audio, and events between sampled frames when setting the automation boundary.

Validate labels before using classification in a real workflow

When reading evaluation tables, examine how scores are aggregated. DecisionBench Medium averages scenarios with equal weight, while micro accuracy combines all questions and gives more weight to tasks with more questions. For your photo classification, prepare a separate human-labelled test and record errors and confidence for obscured or dark doors as well.

The classification head accepts up to 256 choices, but the model is mainly validated with 20 or fewer. Start with a small set of clear states and set automation thresholds using labeled tests. The repository and base Gemma 4 are listed under Apache-2.0, but that does not resolve rights to people or places in photos and recordings. Check both whether you may install the weights and whether you may collect and process the media. For descriptions or long dialogue, choose a conversational multimodal model instead.

Terminology notes

  1. Token — A unit into which a model divides input or output for processing.

    Back to the text
  2. Token decoding — The stage that generates successive output tokens using the input and the response produced so far.

    Back to the text
  3. Frame — A single image that makes up part of a video.

    Back to the text
  4. Checkpoint — A file containing saved model weights and related state. Versions or tasks in one model family may use different checkpoints.

    Back to the text
  5. Runtime — The software environment that provides facilities needed while a program runs. In local AI, it can also refer to a model execution engine.

    Back to the text
  6. FP32 — A 32-bit floating-point format. It uses more memory per value than BF16 and can represent values more precisely.

    Back to the text
  7. CUDA — A software platform for general-purpose computing on NVIDIA GPUs.

    Back to the text
  8. BF16 — A 16-bit floating-point format for model values. Its exponent has the same width as FP32, giving it a similarly wide value range.

    Back to the text
  9. Inference — The process of using a trained model to compute an output for an input. Here, local inference means running the model on the user’s device.

    Back to the text
  10. PyTorch — A software framework for building and running AI models. Check the compatible PyTorch version and hardware support along with the model.

    Back to the text
  11. GPU — A processor designed to handle many calculations in parallel. It performs model computations during AI inference.

    Back to the text
  12. Python virtual environment — An isolated space for installing Python packages per project, helping reduce package-version conflicts.

    Back to the text
  13. Prompt — The input text sent to a model. For generative models it describes the desired result and strongly shapes the output.

    Back to the text
  14. Throughput — The amount of work processed or generated over time. Comparisons need the unit, such as tokens per second or requests per second.

    Back to the text

Frequently asked questions

What should you check first in this article?
Jev-Omni is an open classifier that accepts text, images, audio, or video together with a question and choices, then returns a probability for each choice. It fits workflows that need a result such as received, not confirmed, or unclear, rather than a long generated description.
How much memory does it need?
The public checkpoint's text-weight index is 47,629,401,280 bytes (about 47.63 GB) and contains 11,907,350,272 parameters. The model card says about 50 GB is needed before runtime headroom. The default example is not guaranteed to run unchanged on a 24 GB RTX 3090 or 4090, or a 32 GB RTX 5090; the memory size of a 4-bit 12B model does not apply to this setup.
Where can you check the conditions and sources?
The classification head accepts up to 256 choices, but the model is mainly validated with 20 or fewer. Start with a small set of clear states and set automation thresholds using labeled tests. The repository and base Gemma 4 are listed under Apache-2.0, but that does not resolve rights to people or places in photos and recordings. Check both whether you may install the weights and whether you may collect and process the media. For descriptions or long dialogue, choose a conversational multimodal model instead.