Text Classification
Transformers
Safetensors
English
distilbert
ai-text-detection
academic-integrity
paperguard
text-embeddings-inference
Instructions to use vediumsameer/paperguard-ai-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vediumsameer/paperguard-ai-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="vediumsameer/paperguard-ai-detector")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("vediumsameer/paperguard-ai-detector") model = AutoModelForSequenceClassification.from_pretrained("vediumsameer/paperguard-ai-detector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "label2id": { | |
| "ai": 0, | |
| "human": 1 | |
| }, | |
| "id2label": { | |
| "0": "ai", | |
| "1": "human" | |
| } | |
| } |