How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="huyen89/MGTDetectionModel")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("huyen89/MGTDetectionModel")
model = AutoModelForSequenceClassification.from_pretrained("huyen89/MGTDetectionModel")
Quick Links

Model Card for Model ID

This modelcard aims to be a base template for new models. It has been generated using this raw template.

Uses

This model is used for detecting Machine-generated Texts.

Training Details

Training Data

This model trains on a corpus of both human and StableLM-generated answers for questions from SQuAD1 dataset. The dataset can be found here.

Training Procedure

This model is created by fine-tuning Distilbert-base-uncased model. The training procedure follows He et al.'s instructions.

Downloads last month
13
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for huyen89/MGTDetectionModel