alt.freeweights.vision / roberta-base-openai-detector
From: openai-community <huggingface.co/openai-community>Newsgroups: alt.freeweights.visionSubject:

roberta-base-openai-detector

Date: 2026-11-15Commit: 6cba99cSigned: 2DC28CC7B26A283B ✓

Text classification model with 125M parameters. Safetensors weights, 2.00 GB in all. Published by openai-community under MIT.

125M params2.00GBroberta-base-openai-detectorsafetensorspermissive
FactsParams125MSize2.00 GBFormatssafetensorsTasktext classificationLicenseMITFrom sourcepermissive
$ fw get openai-community/roberta-base-openai-detector
# manifest sha256 e9a90a592643… · 2.00 GB · 11 files
$ fw verify ./roberta-base-openai-detector openai-community/roberta-base-openai-detector
From sourceHosted (signed)openai-community/roberta-base-openai-detectorLast check: 2026-11-15 02:28 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Overview

Size
2.00 GB
Weights
501 MB (safetensors)
Parameters
125M
Formats
safetensors
Task
text classification
License
MIT (permissive)
Files
11, each with a sha256
Publisher
openai-community
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:28 UTCpassed

Model card

From the publisher at commit 6cba99c. Shown as plain text with links; images open at the publisher.

RoBERTa Base OpenAI Detector#

Table of Contents#

Model Details#

Model Description: RoBERTa base OpenAI Detector is the GPT-2 output detector model, obtained by fine-tuning a RoBERTa base model with the outputs of the 1.5B-parameter GPT-2 model. The model can be used to predict if text was generated by a GPT-2 model. This model was released by OpenAI at the same time as OpenAI released the weights of the largest GPT-2 model, the 1.5B parameter version.

Uses#

Direct Use#

The model is a classifier that can be used to detect text generated by GPT-2 models. However, it is strongly suggested not to use it as a ChatGPT detector for the purposes of making grave allegations of academic misconduct against undergraduates and others, as this model might give inaccurate results in the case of ChatGPT-generated input.

Downstream Use#

The model's developers have stated that they developed and released the model to help with research related to synthetic text generation, so the model could potentially be used for downstream tasks related to synthetic text generation. See the associated paper for further discussion.

Misuse and Out-of-scope Use#

The model should not be used to intentionally create hostile or alienating environments for people. In addition, the model developers discuss the risk of adversaries using the model to better evade detection in their associated paper, suggesting that using the model for evading detection or for supporting efforts to evade detection would be a misuse of the model.

Risks, Limitations and Biases#

CONTENT WARNING: Readers should be aware this section may contain content that is disturbing, offensive, and can propagate historical and current stereotypes.

Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.

Risks and Limitations#

In their associated paper, the model developers discuss the risk that the model may be used by bad actors to develop capabilities for evading detection, though one purpose of releasing the model is to help improve detection research.

In a related blog post, the model developers also discuss the limitations of automated methods for detecting synthetic text and the need to pair automated detection tools with other, non-automated approaches. They write:

We conducted in-house detection research and developed a detection model that has detection rates of ~95% for detecting 1.5B GPT-2-generated text. We believe this is not high enough accuracy for standalone detection and needs to be paired with metadata-based approaches, human judgment, and public education to be more effective.

The model developers also report finding that classifying content from larger models is more difficult, suggesting that detection with automated tools like this model will be increasingly difficult as model sizes increase. The authors find that training detector models on the outputs of larger models can improve accuracy and robustness.

Bias#

Significant research has explored bias and fairness issues with language models (see, e.g., Sheng et al. (2021) and Bender et al. (2021)). Predictions generated by RoBERTa base and GPT-2 1.5B (which this model is built/fine-tuned on) can include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups (see the RoBERTa base and GPT-2 XL model cards for more information). The developers of this model discuss these issues further in their paper.

Training#

Training Data#

The model is a sequence classifier based on RoBERTa base (see the RoBERTa base model card for more details on the RoBERTa base training data) and then fine-tuned using the outputs of the 1.5B GPT-2 model (available here).

Training Procedure#

The model developers write that:

We based a sequence classifier on RoBERTaBASE (125 million parameters) and fine-tuned it to classify the outputs from the 1.5B GPT-2 model versus WebText, the dataset we used to train the GPT-2 model.

They later state:

To develop a robust detector model that can accurately classify generated texts regardless of the sampling method, we performed an analysis of the model’s transfer performance.

See the associated paper for further details on the training procedure.

Evaluation#

The following evaluation information is extracted from the associated paper.

Testing Data, Factors and Metrics#

The model is intended to be used for detecting text generated by GPT-2 models, so the model developers test the model on text datasets, measuring accuracy by:

testing 510-token test examples comprised of 5,000 samples from the WebText dataset and 5,000 samples generated by a GPT-2 model, which were not used during the training.

Results#

The model developers find:

Our classifier is able to detect 1.5 billion parameter GPT-2-generated text with approximately 95% accuracy...The model’s accuracy depends on sampling methods used when generating outputs, like temperature, Top-K, and nucleus sampling (Holtzman et al., 2019. Nucleus sampling outputs proved most difficult to correctly classify, but a detector trained using nucleus sampling transfers well across other sampling methods. As seen in Figure 1 [in the paper], we found consistently high accuracy when trained on nucleus sampling.

See the associated paper, Figure 1 (on page 14) and Figure 2 (on page 16) for full results.

Environmental Impact#

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

  • Hardware Type: Unknown
  • Hours used: Unknown
  • Cloud Provider: Unknown
  • Compute Region: Unknown
  • Carbon Emitted: Unknown

Technical Specifications#

The model developers write that:

See the associated paper for further details on the modeling architecture and training details.

Citation Information#

@article{solaiman2019release,
  title={Release strategies and the social impacts of language models},
  author={Solaiman, Irene and Brundage, Miles and Clark, Jack and Askell, Amanda and Herbert-Voss, Ariel and Wu, Jeff and Radford, Alec and Krueger, Gretchen and Kim, Jong Wook and Kreps, Sarah and others},
  journal={arXiv preprint arXiv:1908.09203},
  year={2019}
}

APA:

  • Solaiman, I., Brundage, M., Clark, J., Askell, A., Herbert-Voss, A., Wu, J., ... & Wang, J. (2019). Release strategies and the social impacts of language models. arXiv preprint arXiv:1908.09203.

https://huggingface.co/papers/1908.09203

Model Card Authors#

This model card was written by the team at Hugging Face.

How to Get Started with the Model#

This model can be instantiated and run with a Transformers pipeline:

from transformers import pipeline
pipe = pipeline("text-classification", model="roberta-base-openai-detector")
print(pipe("Hello world! Is this content AI-generated?"))  # [{'label': 'Real', 'score': 0.8036582469940186}]

Files

11 files · 2.00 GBWeights 501 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 11 files with their sha256
FileSizesha256
.gitattributes445 B98c91dabef4df27b2fc7c8454d220aba47476f73593cbd034d961fe4927304c1
README.md9.75 KB4134857b7cb949c670781aa1382e2a5938e5b5ff0b9e2259ac33167cef4d9bf2
config.json624 Bbd2b40605e167659786107548562d94a87a3cb50c084ccc386d7177ccfb1d268
flax_model.msgpack499 MBda61f309153df496af7a5aa3192c3fcd8d37408cbbb3b7a4ffbfb70659841a4b
merges.txt456 KB1ce1664773c50f3e0cc8842619a93edc4624525b728b188a9e0be33b7726adc5
model.safetensors501 MB3abd6d2b005f5876b945cb5b68ddde04f6e28fbd9c5d6dc5adfb06ba647e0546
pytorch_model.bin501 MB5947d8d42e4d9ce53c3810c2c6301eb1aafe32dbb962e3cc10ba764219ddafb0
tf_model.h5499 MB618027aa442a6fa0262dc0a18a5f4c8aa155b3bdbd2bcf5bc5098e5edac26133
tokenizer.json1.36 MB847bbeab6174d66a88898f729d52fa8d355fafe1bea101cf960dd404581df70e
tokenizer_config.json25 B994f46754c5bf4014f1aa92d34b1374319c3a6b3f702105cd5b742beaecd18ce
vocab.json899 KB9e7f63c2d15d666b52e21d250d2e513b87c9b713cfa6987a82ed89e5e6e50655
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
6cba99c003 pinned now2026-11-15 02:28 UTC11 files · 2.00 GB

Use it

$ fw get openai-community/roberta-base-openai-detector
# manifest sha256 e9a90a592643… · 2.00 GB · 11 files
$ fw verify ./roberta-base-openai-detector openai-community/roberta-base-openai-detector
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/openai-community/roberta-base-openai-detector.json --dir ./roberta-base-openai-detector $ python3 fw.py verify ./roberta-base-openai-detector ./openai-community__roberta-base-openai-detector.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download openai-community/roberta-base-openai-detector --revision 6cba99c003b711c7fe94f8a3aa2be35a792cb6fa --local-dir ./roberta-base-openai-detector

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
4134857b7cb949c670781aa1382e2a5938e5b5ff0b9e2259ac33167cef4d9bf2
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: openai-community <huggingface.co/openai-community>Newsgroups: alt.freeweights.visionSubject: roberta-base-openai-detectorDate: 2026-11-15Commit: 6cba99cSigned: 2DC28CC7B26A283B ✓
Upstream
openai-community/roberta-base-openai-detector
Pinned commit
6cba99c003b711c7fe94f8a3aa2be35a792cb6fa
Manifest
roberta-base-openai-detector.json · .minisig
Manifest sha256
e9a90a592643e80a75b3971edde8ead0e25ced73298c6251b005e3a4859951f5
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:28 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/openai-community/roberta-base-openai-detector.json $ curl -O https://freeweights.allternit.com/manifests/openai-community/roberta-base-openai-detector.json.minisig $ minisign -Vm roberta-base-openai-detector.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download openai-community/roberta-base-openai-detector
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. roberta-base-openai-detector.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of roberta-base-openai-detector. Each has its own license check and page.

From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX