ONNX Model Zoo

Artemeey2/rubert-base-cased-sentiment-onnx

By Artemeey2 · ↓ 15 · ♥ 0 · Updated 2025-11-01

What's in this repo

This page lists the files in Artemeey2/rubert-base-cased-sentiment-onnx, including model_quantized.onnx.

  • 1 ONNX models (.onnx files)
  • 9 files, including 5 .json, 1 .md, 1 .onnx, 1 .txt
  • Last updated 2025-11-01

ONNX files

File Size Download
onnx/model_quantized.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

https://huggingface.co/blanchefort/rubert-base-cased-sentiment with ONNX weights to be compatible with Transformers.js.


Usage (Transformers.js)

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

npm i @huggingface/transformers

Example: Sentiment Classification.

import { pipeline } from '@huggingface/transformers';

const classifier = await pipeline('text-classification', 'Xenova/bert-base-multilingual-uncased-sentiment');
const output = await classifier('I love transformers!');

Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using 🤗 Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Model info

text-classification transformers.js
transformers.js onnx bert text-classification base_model:blanchefort/rubert-base-cased-sentiment base_model:quantized:blanchefort/rubert-base-cased-sentiment region:us
↓ 15 ♥ 0

Created: 2025-11-01

Updated: 2025-11-01

View on Hugging Face

Files (9)

.gitattributes
README.md
config.json
onnx/model_quantized.onnx ONNX
special_tokens_map.json
test.json
tokenizer.json
tokenizer_config.json
vocab.txt

Related models