ONNX 模型库
返回模型

说明文档

Fakespot RoBERTa AI 检测器 — ONNX(INT8 量化版)

fakespot-ai/roberta-base-ai-text-detection-v1 的量化 ONNX 导出版本,适用于 Transformers.js

上传说明

  1. 创建一个新的 HuggingFace 仓库:

    huggingface-cli login
    huggingface-cli repo create fakespot-roberta-ai-detector-onnx --type model
    
  2. 克隆并推送此目录中的所有文件:

    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. 更新 offscreen.js 中的仓库 ID:

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

模型详情

  • 来源:fakespot-ai/roberta-base-ai-text-detection-v1
  • 架构:RoBERTa-base(1.25亿参数)
  • 量化:INT8 动态量化(通过 Optimum 使用 avx512_vnni)
  • 大小:约 120MB(q8)vs 约 499MB(fp32)
  • 标签{0: \"Human\", 1: \"AI\"}
  • 许可证:Apache 2.0

amankrai28/fakespot-roberta-ai-detector-onnx

作者 amankrai28

↓ 10 ♥ 0

创建时间: 2026-03-21 13:36:09+00:00

更新时间: 2026-03-21 15:50:42+00:00

在 Hugging Face 上查看

文件 (9)

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