ONNX Model Zoo

amankrai28/fakespot-roberta-ai-detector-onnx

By amankrai28 · ↓ 10 · ♥ 0 · Updated 2026-03-21

What's in this repo

This page lists the files in amankrai28/fakespot-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-03-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

Fakespot RoBERTa AI Detector — ONNX (Quantized INT8)

Quantized ONNX export of fakespot-ai/roberta-base-ai-text-detection-v1 for use with Transformers.js.

Upload Instructions

  1. Create a new HuggingFace repository:

    huggingface-cli login
    huggingface-cli repo create fakespot-roberta-ai-detector-onnx --type model
    
  2. Clone and push all files from this directory:

    git clone https://huggingface.co/YOUR_USERNAME/fakespot-roberta-ai-detector-onnx
    cp -r benchmark/hf-upload/* fakespot-roberta-ai-detector-onnx/
    cd fakespot-roberta-ai-detector-onnx
    git lfs install
    git lfs track "*.onnx"
    git add .
    git commit -m "Add quantized ONNX model for Transformers.js"
    git push
    
  3. Update offscreen.js with your repo ID:

    pipeline('text-classification', 'YOUR_USERNAME/fakespot-roberta-ai-detector-onnx', { dtype: 'q8' })
    

Model Details

  • Source: fakespot-ai/roberta-base-ai-text-detection-v1
  • Architecture: RoBERTa-base (125M params)
  • Quantization: INT8 dynamic (avx512_vnni via Optimum)
  • Size: ~120MB (q8) vs ~499MB (fp32)
  • Labels: {0: "Human", 1: "AI"}
  • License: Apache 2.0

Model info

onnx roberta region:us
↓ 10 ♥ 0

Created: 2026-03-21

Updated: 2026-03-21

View on Hugging Face

Files (9)

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

Related models