Downloads · 30 days
7
6% of all-time downloads
zonn-ai/roberta-base-openai-detector-ONNX
roberta-base-openai-detector-ONNX is a text classification model from zonn-ai. Use it when you need a label for a piece of text. It is set up for transformers.js.
This is an ONNX version of openai-community/roberta-base-openai-detector. It was automatically converted and uploaded using this space.
Downloads · 30 days
7
6% of all-time downloads
All-time downloads
116
Public
Repo size
1.5 GB
Likes
0
Public
Click a slice to open those files.
.onnx1.7 GB · 100%
From the Hugging Face model README
This is an ONNX version of openai-community/roberta-base-openai-detector. It was automatically converted and uploaded using this space.
If you haven't already, you can install the Transformers.js JavaScript library from NPM using:
npm i @huggingface/transformers
Example: Text classification using the RoBERTa OpenAI detector model.
import { pipeline } from '@huggingface/transformers';
const classifier = await pipeline('text-classification', 'onnx-community/roberta-base-openai-detector-ONNX');
const output = await classifier('I love transformers!');