Edit model card

model

This model is a fine-tuned version of Falconsai/nsfw_image_detection on the imagefolder dataset. It achieves the following results on the evaluation set:

  • Loss: 0.0001
  • Accuracy: 1.0

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
  • lr_scheduler_warmup_steps: 500
  • num_epochs: 15

Training results

Training Loss Epoch Step Validation Loss Accuracy
0.7818 1.0 313 0.0032 0.9975
0.0103 2.0 626 0.0247 0.9950
0.0056 3.0 939 0.0074 0.9975
0.0002 4.0 1252 0.0002 1.0
0.0001 5.0 1565 0.0001 1.0
0.0001 6.0 1878 0.0001 1.0
0.0001 7.0 2191 0.0001 1.0
0.0001 8.0 2504 0.0001 1.0
0.0001 9.0 2817 0.0001 1.0
0.0001 10.0 3130 0.0001 1.0
0.0001 11.0 3443 0.0001 1.0
0.0001 12.0 3756 0.0001 1.0
0.0001 13.0 4069 0.0001 1.0
0.0001 14.0 4382 0.0001 1.0
0.0001 15.0 4695 0.0001 1.0

Framework versions

  • Transformers 4.45.1
  • Pytorch 2.4.0
  • Datasets 3.0.1
  • Tokenizers 0.20.0
Downloads last month
6
Safetensors
Model size
85.8M params
Tensor type
F32
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for huyhuy12302/model

Finetuned
(5)
this model

Evaluation results