thrimurthi2025/unreal-eye-model
Browse files- README.md +79 -0
- config.json +46 -0
- model.safetensors +3 -0
- preprocessor_config.json +24 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: Ateeqq/ai-vs-human-image-detector
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
datasets:
|
| 8 |
+
- imagefolder
|
| 9 |
+
metrics:
|
| 10 |
+
- accuracy
|
| 11 |
+
model-index:
|
| 12 |
+
- name: results
|
| 13 |
+
results:
|
| 14 |
+
- task:
|
| 15 |
+
name: Image Classification
|
| 16 |
+
type: image-classification
|
| 17 |
+
dataset:
|
| 18 |
+
name: imagefolder
|
| 19 |
+
type: imagefolder
|
| 20 |
+
config: default
|
| 21 |
+
split: train
|
| 22 |
+
args: default
|
| 23 |
+
metrics:
|
| 24 |
+
- name: Accuracy
|
| 25 |
+
type: accuracy
|
| 26 |
+
value: 0.7560975609756098
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 30 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 31 |
+
|
| 32 |
+
# results
|
| 33 |
+
|
| 34 |
+
This model is a fine-tuned version of [Ateeqq/ai-vs-human-image-detector](https://huggingface.co/Ateeqq/ai-vs-human-image-detector) on the imagefolder dataset.
|
| 35 |
+
It achieves the following results on the evaluation set:
|
| 36 |
+
- Accuracy: 0.7561
|
| 37 |
+
- Loss: 1.1782
|
| 38 |
+
|
| 39 |
+
## Model description
|
| 40 |
+
|
| 41 |
+
More information needed
|
| 42 |
+
|
| 43 |
+
## Intended uses & limitations
|
| 44 |
+
|
| 45 |
+
More information needed
|
| 46 |
+
|
| 47 |
+
## Training and evaluation data
|
| 48 |
+
|
| 49 |
+
More information needed
|
| 50 |
+
|
| 51 |
+
## Training procedure
|
| 52 |
+
|
| 53 |
+
### Training hyperparameters
|
| 54 |
+
|
| 55 |
+
The following hyperparameters were used during training:
|
| 56 |
+
- learning_rate: 5e-05
|
| 57 |
+
- train_batch_size: 16
|
| 58 |
+
- eval_batch_size: 64
|
| 59 |
+
- seed: 42
|
| 60 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 61 |
+
- lr_scheduler_type: linear
|
| 62 |
+
- lr_scheduler_warmup_steps: 500
|
| 63 |
+
- num_epochs: 3
|
| 64 |
+
|
| 65 |
+
### Training results
|
| 66 |
+
|
| 67 |
+
| Training Loss | Epoch | Step | Accuracy | Validation Loss |
|
| 68 |
+
|:-------------:|:-----:|:----:|:--------:|:---------------:|
|
| 69 |
+
| 0.7523 | 1.0 | 58 | 0.6951 | 1.1249 |
|
| 70 |
+
| 0.3123 | 2.0 | 116 | 0.7744 | 0.7260 |
|
| 71 |
+
| 0.2716 | 3.0 | 174 | 0.7561 | 1.1782 |
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
### Framework versions
|
| 75 |
+
|
| 76 |
+
- Transformers 4.57.1
|
| 77 |
+
- Pytorch 2.8.0+cu126
|
| 78 |
+
- Datasets 4.0.0
|
| 79 |
+
- Tokenizers 0.22.1
|
config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"SiglipForImageClassification"
|
| 4 |
+
],
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"id2label": {
|
| 7 |
+
"0": "ai",
|
| 8 |
+
"1": "hum"
|
| 9 |
+
},
|
| 10 |
+
"initializer_factor": 1.0,
|
| 11 |
+
"label2id": {
|
| 12 |
+
"ai": 0,
|
| 13 |
+
"hum": 1
|
| 14 |
+
},
|
| 15 |
+
"model_type": "siglip",
|
| 16 |
+
"problem_type": "single_label_classification",
|
| 17 |
+
"text_config": {
|
| 18 |
+
"attention_dropout": 0.0,
|
| 19 |
+
"dtype": "float32",
|
| 20 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 21 |
+
"hidden_size": 768,
|
| 22 |
+
"intermediate_size": 3072,
|
| 23 |
+
"layer_norm_eps": 1e-06,
|
| 24 |
+
"max_position_embeddings": 64,
|
| 25 |
+
"model_type": "siglip_text_model",
|
| 26 |
+
"num_attention_heads": 12,
|
| 27 |
+
"num_hidden_layers": 12,
|
| 28 |
+
"projection_size": 768,
|
| 29 |
+
"vocab_size": 256000
|
| 30 |
+
},
|
| 31 |
+
"transformers_version": "4.57.1",
|
| 32 |
+
"vision_config": {
|
| 33 |
+
"attention_dropout": 0.0,
|
| 34 |
+
"dtype": "float32",
|
| 35 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 36 |
+
"hidden_size": 768,
|
| 37 |
+
"image_size": 224,
|
| 38 |
+
"intermediate_size": 3072,
|
| 39 |
+
"layer_norm_eps": 1e-06,
|
| 40 |
+
"model_type": "siglip_vision_model",
|
| 41 |
+
"num_attention_heads": 12,
|
| 42 |
+
"num_channels": 3,
|
| 43 |
+
"num_hidden_layers": 12,
|
| 44 |
+
"patch_size": 16
|
| 45 |
+
}
|
| 46 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4e27c03794e200e8009ca10245256cfc87f94145723dbcd00f289ba5a37c5f1
|
| 3 |
+
size 371567992
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_convert_rgb": null,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.5,
|
| 8 |
+
0.5,
|
| 9 |
+
0.5
|
| 10 |
+
],
|
| 11 |
+
"image_processor_type": "SiglipImageProcessor",
|
| 12 |
+
"image_std": [
|
| 13 |
+
0.5,
|
| 14 |
+
0.5,
|
| 15 |
+
0.5
|
| 16 |
+
],
|
| 17 |
+
"processor_class": "SiglipProcessor",
|
| 18 |
+
"resample": 2,
|
| 19 |
+
"rescale_factor": 0.00392156862745098,
|
| 20 |
+
"size": {
|
| 21 |
+
"height": 224,
|
| 22 |
+
"width": 224
|
| 23 |
+
}
|
| 24 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82659a85051df2fcca72b378a4aac627249782bacaf56bb9319a472289bcb4b7
|
| 3 |
+
size 5777
|