metadata
library_name: transformers
license: apache-2.0
base_model: Marqo/nsfw-image-detection-384
tags:
- generated_from_trainer
datasets:
- imagefolder
metrics:
- accuracy
model-index:
- name: nsfw-fine-tuned-timm
results:
- task:
name: Image Classification
type: image-classification
dataset:
name: imagefolder
type: imagefolder
config: default
split: validation
args: default
metrics:
- name: Accuracy
type: accuracy
value: 0.999
nsfw-fine-tuned-timm
This model is a fine-tuned version of Marqo/nsfw-image-detection-384 on the imagefolder dataset. It achieves the following results on the evaluation set:
- Loss: 0.0041
- Accuracy: 0.999
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: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: cosine
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 1.5
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy |
---|---|---|---|---|
0.0041 | 0.5066 | 500 | 0.0147 | 0.996 |
0.0023 | 1.0132 | 1000 | 0.0003 | 1.0 |
Framework versions
- Transformers 4.48.3
- Pytorch 2.5.1+cu124
- Datasets 3.3.2
- Tokenizers 0.21.0