ONNX Model Zoo

onnx-community/rnj-1-instruct-ONNX

By onnx-community · ↓ 2 · ♥ 1 · Updated 2025-12-06

What's in this repo

This page lists the files in onnx-community/rnj-1-instruct-ONNX, including model_fp16.onnx, model_q4f16.onnx.

  • 2 ONNX models (.onnx files)
  • 21 files, including 4 .json, 2 .onnx, 2 .onnx_data, 2 .onnx_data_1, 2 .onnx_data_2, 1 .md
  • Last updated 2025-12-06

ONNX files

File Size Download
onnx/model_fp16.onnx — Download
onnx/model_q4f16.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

use with Transformers.js

[!IMPORTANT]
Note: This model requires Transformers.js v4.0.0 and above!

If you haven't already, you can install the Transformers.js JavaScript library from NPM using:

npm i @huggingface/transformers

Example: Basic example

import { pipeline, TextStreamer } from "@huggingface/transformers";

// Create a text generation pipeline
const generator = await pipeline(
  "text-generation",
  "onnx-community/rnj-1-instruct-ONNX",
  {
    device: "webgpu",
    dtype: "q4f16",
  },
);

// Define the list of messages
const messages = [
  { role: "system", content: "You are a helpful assistant." },
  { role: "user", content: "What is the capital of France?" },
];

// Generate a response
const output = await generator(messages, {
    max_new_tokens: 512,
    do_sample: false,
    streamer: new TextStreamer(generator.tokenizer, { skip_prompt: true, skip_special_tokens: true }),
});
console.log(output[0].generated_text.at(-1).content);
// The capital of France is Paris.

Model info

text-generation transformers.js
transformers.js onnx gemma3_text text-generation conversational base_model:EssentialAI/rnj-1-instruct base_model:quantized:EssentialAI/rnj-1-instruct license:apache-2.0 region:us
↓ 2 ♥ 1

Created: 2025-12-06

Updated: 2025-12-06

View on Hugging Face

Files (21)

.gitattributes
README.md
chat_template.jinja
config.json
generation_config.json
onnx/model_fp16.onnx ONNX
onnx/model_fp16.onnx_data
onnx/model_fp16.onnx_data_1
onnx/model_fp16.onnx_data_2
onnx/model_fp16.onnx_data_3
onnx/model_fp16.onnx_data_4
onnx/model_fp16.onnx_data_5
onnx/model_fp16.onnx_data_6
onnx/model_fp16.onnx_data_7
onnx/model_fp16.onnx_data_8
onnx/model_q4f16.onnx ONNX
onnx/model_q4f16.onnx_data
onnx/model_q4f16.onnx_data_1
onnx/model_q4f16.onnx_data_2
tokenizer.json
tokenizer_config.json

Related models