Upload folder using huggingface_hub
Browse files- README.md +24 -0
- config.json +64 -0
- model.safetensors +3 -0
- preprocessor_config.json +23 -0
- runs/Oct18_14-36-31_r-clemylia-autotrain-advanced-zardyttj-0c460-1mwcx/events.out.tfevents.1760798193.r-clemylia-autotrain-advanced-zardyttj-0c460-1mwcx.65.0 +2 -2
- training_args.bin +3 -0
- training_params.json +29 -0
README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
tags:
|
| 4 |
+
- autotrain
|
| 5 |
+
- transformers
|
| 6 |
+
- image-classification
|
| 7 |
+
base_model: umm-maybe/AI-image-detector
|
| 8 |
+
widget:
|
| 9 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
| 10 |
+
example_title: Tiger
|
| 11 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
| 12 |
+
example_title: Teapot
|
| 13 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
| 14 |
+
example_title: Palace
|
| 15 |
+
datasets:
|
| 16 |
+
- Clemylia/Orange-ou-tomate
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Model Trained Using AutoTrain
|
| 20 |
+
|
| 21 |
+
- Problem type: Image Classification
|
| 22 |
+
|
| 23 |
+
## Validation Metrics
|
| 24 |
+
No validation metrics available
|
config.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "umm-maybe/AI-image-detector",
|
| 3 |
+
"_num_labels": 2,
|
| 4 |
+
"architectures": [
|
| 5 |
+
"SwinForImageClassification"
|
| 6 |
+
],
|
| 7 |
+
"attention_probs_dropout_prob": 0.0,
|
| 8 |
+
"depths": [
|
| 9 |
+
2,
|
| 10 |
+
2,
|
| 11 |
+
18,
|
| 12 |
+
2
|
| 13 |
+
],
|
| 14 |
+
"drop_path_rate": 0.1,
|
| 15 |
+
"embed_dim": 128,
|
| 16 |
+
"encoder_stride": 32,
|
| 17 |
+
"hidden_act": "gelu",
|
| 18 |
+
"hidden_dropout_prob": 0.0,
|
| 19 |
+
"hidden_size": 1024,
|
| 20 |
+
"id2label": {
|
| 21 |
+
"0": "oranges",
|
| 22 |
+
"1": "tomates"
|
| 23 |
+
},
|
| 24 |
+
"image_size": 224,
|
| 25 |
+
"initializer_range": 0.02,
|
| 26 |
+
"label2id": {
|
| 27 |
+
"oranges": 0,
|
| 28 |
+
"tomates": 1
|
| 29 |
+
},
|
| 30 |
+
"layer_norm_eps": 1e-05,
|
| 31 |
+
"max_length": 128,
|
| 32 |
+
"mlp_ratio": 4.0,
|
| 33 |
+
"model_type": "swin",
|
| 34 |
+
"num_channels": 3,
|
| 35 |
+
"num_heads": [
|
| 36 |
+
4,
|
| 37 |
+
8,
|
| 38 |
+
16,
|
| 39 |
+
32
|
| 40 |
+
],
|
| 41 |
+
"num_layers": 4,
|
| 42 |
+
"out_features": [
|
| 43 |
+
"stage4"
|
| 44 |
+
],
|
| 45 |
+
"out_indices": [
|
| 46 |
+
4
|
| 47 |
+
],
|
| 48 |
+
"padding": "max_length",
|
| 49 |
+
"patch_size": 4,
|
| 50 |
+
"path_norm": true,
|
| 51 |
+
"problem_type": "single_label_classification",
|
| 52 |
+
"qkv_bias": true,
|
| 53 |
+
"stage_names": [
|
| 54 |
+
"stem",
|
| 55 |
+
"stage1",
|
| 56 |
+
"stage2",
|
| 57 |
+
"stage3",
|
| 58 |
+
"stage4"
|
| 59 |
+
],
|
| 60 |
+
"torch_dtype": "float32",
|
| 61 |
+
"transformers_version": "4.48.0",
|
| 62 |
+
"use_absolute_embeddings": false,
|
| 63 |
+
"window_size": 7
|
| 64 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0df9447f60774d69fddc23835f349c0601bdf762a0d2c6012623c62e921bee8
|
| 3 |
+
size 347498816
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_convert_rgb": null,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.485,
|
| 8 |
+
0.456,
|
| 9 |
+
0.406
|
| 10 |
+
],
|
| 11 |
+
"image_processor_type": "ViTImageProcessor",
|
| 12 |
+
"image_std": [
|
| 13 |
+
0.229,
|
| 14 |
+
0.224,
|
| 15 |
+
0.225
|
| 16 |
+
],
|
| 17 |
+
"resample": 3,
|
| 18 |
+
"rescale_factor": 0.00392156862745098,
|
| 19 |
+
"size": {
|
| 20 |
+
"height": 224,
|
| 21 |
+
"width": 224
|
| 22 |
+
}
|
| 23 |
+
}
|
runs/Oct18_14-36-31_r-clemylia-autotrain-advanced-zardyttj-0c460-1mwcx/events.out.tfevents.1760798193.r-clemylia-autotrain-advanced-zardyttj-0c460-1mwcx.65.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8cb310e2ce63903a874da462466ba72dce6708a62231d5015de4ca2100a54347
|
| 3 |
+
size 7772
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37b8cbf63d8f8d438d8a8476e36a035886302a7f12187f7cd5087bb98aab1e9c
|
| 3 |
+
size 5368
|
training_params.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"data_path": "Clemylia/Orange-ou-tomate",
|
| 3 |
+
"model": "umm-maybe/AI-image-detector",
|
| 4 |
+
"username": "Clemylia",
|
| 5 |
+
"lr": 5e-05,
|
| 6 |
+
"epochs": 3,
|
| 7 |
+
"batch_size": 8,
|
| 8 |
+
"warmup_ratio": 0.1,
|
| 9 |
+
"gradient_accumulation": 1,
|
| 10 |
+
"optimizer": "adamw_torch",
|
| 11 |
+
"scheduler": "linear",
|
| 12 |
+
"weight_decay": 0.0,
|
| 13 |
+
"max_grad_norm": 1.0,
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"train_split": "train",
|
| 16 |
+
"valid_split": null,
|
| 17 |
+
"logging_steps": -1,
|
| 18 |
+
"project_name": "Two-fruita-classify",
|
| 19 |
+
"auto_find_batch_size": false,
|
| 20 |
+
"mixed_precision": "fp16",
|
| 21 |
+
"save_total_limit": 1,
|
| 22 |
+
"push_to_hub": true,
|
| 23 |
+
"eval_strategy": "epoch",
|
| 24 |
+
"image_column": "image",
|
| 25 |
+
"target_column": "label",
|
| 26 |
+
"log": "tensorboard",
|
| 27 |
+
"early_stopping_patience": 5,
|
| 28 |
+
"early_stopping_threshold": 0.01
|
| 29 |
+
}
|