Text Classification
Transformers
Safetensors
deberta-v2
ai-detection
nlp
deberta-v3
text-embeddings-inference
Instructions to use vraj33/ai-text-detector-deberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vraj33/ai-text-detector-deberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="vraj33/ai-text-detector-deberta")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("vraj33/ai-text-detector-deberta") model = AutoModelForSequenceClassification.from_pretrained("vraj33/ai-text-detector-deberta") - Notebooks
- Google Colab
- Kaggle
AI Text Detector (DeBERTa-v3)
This model is a fine-tuned version of microsoft/deberta-v3-base designed to detect AI-generated text.
Model Details
- Architecture: DeBERTa-v3-base
- Training Data: Custom dataset of Human Wikipedia articles vs. AI-generated Wikipedia-style articles (GPT-Neo).
- Performance: Achieved 99.4% Accuracy on in-distribution test data.
Limitations (The "Generalization Gap")
This model was trained to detect GPT-Neo (1.3B).
- Performance on GPT-Neo: 99.9% Confidence
This highlights the necessity of domain-specific training for AI detection. Detectors trained on legacy models (2021 era) cannot reliably detect modern SOTA models (2024 era) due to the closing gap in perplexity and burstiness.
How to Use
from transformers import pipeline
classifier = pipeline("text-classification", model="vraj33/ai-text-detector-deberta")
text = "The quick brown fox..."
result = classifier(text)
print(result)
- Downloads last month
- 5,273