Hello-SimpleAI/HC3
Viewer • Updated • 48.6k • 4.84k • 237
How to use jainatharva21/hw1-hc3-detector with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="jainatharva21/hw1-hc3-detector") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("jainatharva21/hw1-hc3-detector")
model = AutoModelForSequenceClassification.from_pretrained("jainatharva21/hw1-hc3-detector", device_map="auto")Fine-tuned all-MiniLM-L6-v2 for binary classification of answers from HC3 (English).
Labels: 0 = human, 1 = ChatGPT.
| Model | Test accuracy |
|---|---|
| Baseline: frozen embeddings + logistic regression | 0.8449 |
| Fine-tuned | 0.9906 |
Trained on a 2022 ChatGPT benchmark with known dataset artifacts. Not a reliable detector for current AI-generated or student text.
Base model
nreimers/MiniLM-L6-H384-uncased