nicoamoretti/roberta-ai-detector-onnx
By nicoamoretti · ↓ 8 · ♥ 0 · Updated 2026-01-21
What's in this repo
This page lists the files in nicoamoretti/roberta-ai-detector-onnx, including model_quantized.onnx.
- 1 ONNX models (.onnx files)
- 9 files, including 5 .json, 1 .md, 1 .txt, 1 .onnx
- Last updated 2026-01-21
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
RoBERTa AI Detector (ONNX for Transformers.js)
AI-generated text detector, converted to ONNX with fixed tokenizer for Transformers.js.
Usage
import { pipeline } from '@xenova/transformers';
const classifier = await pipeline('text-classification', 'nicoamoretti/roberta-ai-detector-onnx');
const result = await classifier('Your text here');
// [{ label: 'Real', score: 0.95 }] or [{ label: 'Fake', score: 0.85 }]
Labels
- Real: Human-written text
- Fake: AI-generated text
Model info
text-classification
transformers.js
transformers.js
onnx
roberta
text-classification
ai-detection
license:mit
region:us
↓ 8
♥ 0
Created: 2026-01-21
Updated: 2026-01-21
View on Hugging FaceFiles (9)
.gitattributes
README.md
config.json
merges.txt
onnx/model_quantized.onnx
ONNX
special_tokens_map.json
tokenizer.json
tokenizer_config.json
vocab.json