This model is a fine-tuned BERT designed to classify text as either AI-generated or human-written. The model was trained on data from the Kaggle LLM Detect competition using variable-length text inputs ranging from 5 to 100 words. The fine-tuned model achieves high accuracy in identifying the source of the text, making it a valuable tool for detecting AI-generated content.
The model is intended for use in detecting whether text is AI-generated or human-written. Users can input text snippets into the demo or directly integrate the model into their applications for automated content classification.
Downstream Use
Potential downstream uses include:
Moderating AI-generated content in online platforms.
Academic and journalistic content verification.
Detecting plagiarism or misuse of AI writing tools.
Out-of-Scope Use
The model is not suitable for:
Detecting deeply paraphrased AI-generated text.
Analysis of languages other than English.
Scenarios where fairness and bias considerations are critical, as those have not been explicitly addressed.
Bias, Risks, and Limitations
Recommendations
Users should be aware that:
The model may not perform well on text heavily modified from AI-generated content.
It may produce false positives or false negatives due to the inherent limitations of the dataset or model architecture.
The training dataset was sourced from the Kaggle LLM Detect competition. The data includes examples of both AI-generated and human-written text, spanning various input lengths (5-100 words).
Training Procedure
Preprocessing
Text was tokenized using BERT's tokenizer.
Input lengths ranged between 5 and 100 words, padded or truncated as necessary.
Training Hyperparameters
Batch Size: 300
Optimizer: AdamW
Learning Rate: 1e-5
Epochs: 1
Speeds, Sizes, Times
Training Time: 1 hour 10 minutes
Hardware Used: GPU (Kaggle T4 x 2)
Loss: 0.12 on train data
Evaluation
Testing Data, Factors & Metrics
Testing Data
Validation data from the Kaggle competition was used for evaluation.
Metrics
Accuracy: 96.65% on validation data.
Results
The model achieved high accuracy and low validation loss, demonstrating its effectiveness for the task of AI text detection.