Run this model with HF Jobs

Run Neural-Hacker/distilbert_ai_text_detector on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/Neural-Hacker/distilbert_ai_text_detector. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Neural-Hacker/distilbert_ai_text_detector on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

DistilBERT AI-vs-Human Text Classifier

This is a binary text classification model built on top of distilbert-base-uncased. It has been fine-tuned to distinguish between AI-generated and human-written text.

Base model: DistilBERT (uncased)

Task: Sequence classification

Labels:

0 β†’ Human-written text

1 β†’ AI-generated text


Training Details:

Model is fine-tuned on a small custom dataset of ~1.4k samples

Batch size: 16

Epochs: 10

Learning rate: 5e-6


Performance:

Best validation metrics:

Accuracy: 0.5730 (57.3%)

Precision: 0.6162

Recall: 0.9858

F1-score: 0.6814


Usage

Load the model and tokenizer with the Hugging Face Transformers library, provide a text input, and the model will output a label indicating whether the text is AI-generated or human-written.


Framework: PyTorch, Hugging Face Transformers


License: cc-by-nc-4.0


NOTE: This model is experimental and not intended for production use

Downloads last month
18
Safetensors
Model size
67M params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Neural-Hacker/distilbert_ai_text_detector

Finetuned
(13,047)
this model