ONNX Model Zoo

qmaru/language_detection

By qmaru · ↓ 2 · ♥ 0 · Updated 2025-11-18

What's in this repo

This page lists the files in qmaru/language_detection, including model.onnx, model_fp16.onnx, model_int8.onnx.

  • 3 ONNX models (.onnx files)
  • 9 files, including 4 .json, 3 .onnx, 1 .md
  • Last updated 2025-11-18

ONNX files

File Size Download
onnx/model.onnx — Download
onnx/model_fp16.onnx — Download
onnx/model_int8.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/alexneakameni/language_detection with ONNX weights to be compatible with Transformers.js.

import { pipeline } from "@huggingface/transformers"

const classifier = await pipeline('text-classification', 'qmaru/language_detection')
const output = await classifier('I hate you!', { top_k: 6 })
console.log(output)
// [
//   { label: 'eng_Latn', score: 0.6555308103561401 },
//   { label: 'srd_Latn', score: 0.086576908826828 },
//   { label: 'ita_Latn', score: 0.024977771565318108 },
//   { label: 'als_Latn', score: 0.019376492127776146 },
//   { label: 'fur_Latn', score: 0.016824522987008095 },
//   { label: 'fra_Latn', score: 0.015999119728803635 }
// ]

Model info

text-classification transformers.js
transformers.js onnx bert text-classification base_model:alexneakameni/language_detection base_model:quantized:alexneakameni/language_detection license:mit region:us
↓ 2 ♥ 0

Created: 2025-11-17

Updated: 2025-11-18

View on Hugging Face

Files (9)

.gitattributes
README.md
config.json
onnx/model.onnx ONNX
onnx/model_fp16.onnx ONNX
onnx/model_int8.onnx ONNX
special_tokens_map.json
tokenizer.json
tokenizer_config.json

Related models