Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use mekjr1/ai-detect-3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mekjr1/ai-detect-3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mekjr1/ai-detect-3")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mekjr1/ai-detect-3") model = AutoModelForSequenceClassification.from_pretrained("mekjr1/ai-detect-3") - Notebooks
- Google Colab
- Kaggle
ai-detect-3
This model is a fine-tuned version of akshayvkt/detect-ai-text-1 on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.3991
- Accuracy: 0.9297
- Precision: 0.9232
- Recall: 0.9682
- F1: 0.9452
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 10
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 0.1662 | 1.0 | 6250 | 0.1980 | 0.9205 | 0.9117 | 0.9666 | 0.9383 |
| 0.1581 | 2.0 | 12500 | 0.4775 | 0.8741 | 0.8439 | 0.9802 | 0.9069 |
| 0.0662 | 3.0 | 18750 | 0.4612 | 0.9031 | 0.8739 | 0.9877 | 0.9273 |
| 0.0112 | 4.0 | 25000 | 0.3991 | 0.9297 | 0.9232 | 0.9682 | 0.9452 |
Framework versions
- Transformers 4.44.2
- Pytorch 2.4.1+cu121
- Datasets 3.0.1
- Tokenizers 0.19.1
- Downloads last month
- 3
Model tree for mekjr1/ai-detect-3
Base model
distilbert/distilbert-base-uncased Finetuned
akshayvkt/detect-ai-text-1