JevMade hello@JevMade.com
← Back to guides

JevMade field notes / TypeScript tutorial

Run typed decisions locally in the browser with open-jev

A browser-first TypeScript tutorial for loading open decision models through Transformers.js and returning typed probability distributions without sending state to a hosted inference service.

Original by Nico MartinIntegrationsGitHub README and browser exampleSource reviewed

Before you dive in

What you’ll find in the original

  1. Install both `open-jev` and Transformers.js, inspect model support, then load a selected dtype before asking questions.
  2. Use WebGPU when available and retain WebAssembly as the compatibility fallback.
  3. Account for model download size and the documented 512-token context when choosing a model and designing browser state.
Worth knowing

Requires a modern browser; WebGPU availability and memory vary by device, while fallback inference can be slower. The models reproduce an interface shape and do not claim quality parity with proprietary Jev.