nicolasrl commited on
Commit
6ac7c5d
·
verified ·
1 Parent(s): 506d764

Añadir modelo y artefactos de la ejecución: n_2025_W41_xaji0y

Browse files
n_2025_W41_xaji0y/checkpoint-2814/config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "dtype": "float32",
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "real",
13
+ "1": "semisynthetic",
14
+ "2": "synthetic"
15
+ },
16
+ "image_size": 224,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "real": 0,
21
+ "semisynthetic": 1,
22
+ "synthetic": 2
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "model_type": "vit",
26
+ "num_attention_heads": 12,
27
+ "num_channels": 3,
28
+ "num_hidden_layers": 12,
29
+ "patch_size": 16,
30
+ "pooler_act": "tanh",
31
+ "pooler_output_size": 768,
32
+ "problem_type": "single_label_classification",
33
+ "qkv_bias": true,
34
+ "transformers_version": "4.57.0"
35
+ }
n_2025_W41_xaji0y/checkpoint-2814/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8364f135325aaba03581687eceac4fcb2193a073ef6bd1027297883f4c8455c1
3
+ size 343227052
n_2025_W41_xaji0y/checkpoint-2814/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e9d8062d2394b0176af8415147cb5a559a9fa21af6762d7d193480c9b759ad2
3
+ size 340332474
n_2025_W41_xaji0y/checkpoint-2814/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4324a4cd46a4e25570ba850540c6d725bdd6262e11b0dccdbdcba266d399b29
3
+ size 14244
n_2025_W41_xaji0y/checkpoint-2814/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42cb3b4d7b8d3edc615476f0e56ee6833fc976895eb0d363a45fec3989c10eb5
3
+ size 1064
n_2025_W41_xaji0y/checkpoint-2814/trainer_state.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 2814,
3
+ "best_metric": 0.16776444017887115,
4
+ "best_model_checkpoint": "df-vs-real/checkpoint-2814",
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 2814,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.5330490405117271,
14
+ "grad_norm": 1.6440179347991943,
15
+ "learning_rate": 1.7712318286151493e-05,
16
+ "loss": 0.7837,
17
+ "step": 500
18
+ },
19
+ {
20
+ "epoch": 1.0,
21
+ "eval_accuracy": 0.9166666666666666,
22
+ "eval_loss": 0.257193922996521,
23
+ "eval_model_preparation_time": 0.003,
24
+ "eval_runtime": 4.5142,
25
+ "eval_samples_per_second": 66.457,
26
+ "eval_steps_per_second": 4.209,
27
+ "step": 938
28
+ },
29
+ {
30
+ "epoch": 1.0660980810234542,
31
+ "grad_norm": 1.6327509880065918,
32
+ "learning_rate": 1.3886763580719205e-05,
33
+ "loss": 0.3549,
34
+ "step": 1000
35
+ },
36
+ {
37
+ "epoch": 1.5991471215351813,
38
+ "grad_norm": 1.3424533605575562,
39
+ "learning_rate": 1.0061208875286917e-05,
40
+ "loss": 0.2715,
41
+ "step": 1500
42
+ },
43
+ {
44
+ "epoch": 2.0,
45
+ "eval_accuracy": 0.9333333333333333,
46
+ "eval_loss": 0.1900823414325714,
47
+ "eval_model_preparation_time": 0.003,
48
+ "eval_runtime": 4.4485,
49
+ "eval_samples_per_second": 67.439,
50
+ "eval_steps_per_second": 4.271,
51
+ "step": 1876
52
+ },
53
+ {
54
+ "epoch": 2.1321961620469083,
55
+ "grad_norm": 3.9257965087890625,
56
+ "learning_rate": 6.2356541698546295e-06,
57
+ "loss": 0.2406,
58
+ "step": 2000
59
+ },
60
+ {
61
+ "epoch": 2.6652452025586353,
62
+ "grad_norm": 2.0102601051330566,
63
+ "learning_rate": 2.4100994644223414e-06,
64
+ "loss": 0.2049,
65
+ "step": 2500
66
+ },
67
+ {
68
+ "epoch": 3.0,
69
+ "eval_accuracy": 0.95,
70
+ "eval_loss": 0.16776444017887115,
71
+ "eval_model_preparation_time": 0.003,
72
+ "eval_runtime": 4.3587,
73
+ "eval_samples_per_second": 68.828,
74
+ "eval_steps_per_second": 4.359,
75
+ "step": 2814
76
+ }
77
+ ],
78
+ "logging_steps": 500,
79
+ "max_steps": 2814,
80
+ "num_input_tokens_seen": 0,
81
+ "num_train_epochs": 3,
82
+ "save_steps": 500,
83
+ "stateful_callbacks": {
84
+ "EarlyStoppingCallback": {
85
+ "args": {
86
+ "early_stopping_patience": 3,
87
+ "early_stopping_threshold": 0.0
88
+ },
89
+ "attributes": {
90
+ "early_stopping_patience_counter": 0
91
+ }
92
+ },
93
+ "TrainerControl": {
94
+ "args": {
95
+ "should_epoch_stop": false,
96
+ "should_evaluate": false,
97
+ "should_log": false,
98
+ "should_save": true,
99
+ "should_training_stop": true
100
+ },
101
+ "attributes": {}
102
+ }
103
+ },
104
+ "total_flos": 3.48717078678528e+18,
105
+ "train_batch_size": 16,
106
+ "trial_name": null,
107
+ "trial_params": null
108
+ }
n_2025_W41_xaji0y/checkpoint-2814/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd4eadc68758166307a32165bf41128354e7a0e1243cce4167fcf8fe68308050
3
+ size 5368
n_2025_W41_xaji0y/confusion_matrix.png CHANGED
n_2025_W41_xaji0y/model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ca23a0e96e928ceebe22d6a69009f6809f66155c1ab5a025b673389a4ca7f22e
3
  size 343398125
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1845b58473b3d3da9bbc7a2e1734a0bee80dff9ca03996eed29b8a617392e8f0
3
  size 343398125
n_2025_W41_xaji0y/onnx_validation_report.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ === Reporte de Validación Cruzada (PyTorch vs ONNX) ===
2
+ Modelo: n_2025_W41_xaji0y
3
+ Fecha: 2025-10-12 20:41:58
4
+ =======================================================
5
+ Precisión del modelo PyTorch (Trainer): 0.9500
6
+ Precisión del modelo ONNX: 0.9500
7
+ Diferencia: 0.0000
8
+ =======================================================
9
+ Total de imágenes evaluadas: 300
10
+ ✅ La precisión se mantiene consistente.
n_2025_W41_xaji0y/train_report.txt CHANGED
@@ -1,23 +1,23 @@
1
  === Reporte de Entrenamiento ===
2
- Fecha y hora: 2025-10-12T07:51:07.728169
3
 
4
  >> Métricas iniciales (baseline)
5
  {
6
- "eval_loss": 1.0946319103240967,
7
- "eval_model_preparation_time": 0.0026,
8
- "eval_accuracy": 0.355,
9
- "eval_runtime": 2.8406,
10
- "eval_samples_per_second": 70.409,
11
- "eval_steps_per_second": 4.577
12
  }
13
 
14
  >> Métricas finales
15
  {
16
- "eval_loss": 0.3131794035434723,
17
- "eval_model_preparation_time": 0.0026,
18
- "eval_accuracy": 0.885,
19
- "eval_runtime": 2.7601,
20
- "eval_samples_per_second": 72.462,
21
- "eval_steps_per_second": 4.71,
22
- "epoch": 7.0
23
  }
 
1
  === Reporte de Entrenamiento ===
2
+ Fecha y hora: 2025-10-12T20:40:58.130278
3
 
4
  >> Métricas iniciales (baseline)
5
  {
6
+ "eval_loss": 1.0952550172805786,
7
+ "eval_model_preparation_time": 0.003,
8
+ "eval_accuracy": 0.3466666666666667,
9
+ "eval_runtime": 6.6998,
10
+ "eval_samples_per_second": 44.777,
11
+ "eval_steps_per_second": 2.836
12
  }
13
 
14
  >> Métricas finales
15
  {
16
+ "eval_loss": 0.16776444017887115,
17
+ "eval_model_preparation_time": 0.003,
18
+ "eval_accuracy": 0.95,
19
+ "eval_runtime": 4.258,
20
+ "eval_samples_per_second": 70.456,
21
+ "eval_steps_per_second": 4.462,
22
+ "epoch": 3.0
23
  }
n_2025_W41_xaji0y/training_summary.txt CHANGED
@@ -1,10 +1,11 @@
1
- === Datos de Entrenamiento ===
2
- Modelo base: df-vs-real
3
- Año-Mes: 2025-10
4
- Número total de imágenes: 60000
5
 
6
- Datasets utilizados:
7
- - Simulated/Local Dataset (config: N/A) -> etiqueta: All
 
8
 
9
  Distribución de etiquetas:
10
  - real: 20000
 
1
+ === Resumen de Entrenamiento ===
2
+ ID de ejecución: n_2025_W41_xaji0y
3
+ Modelo base: google/vit-base-patch16-224-in21k
4
+ Fecha: 2025-10-12 20:41:59
5
 
6
+ Total de imágenes en dataset: 60000
7
+ - Entrenamiento: 15000
8
+ - Prueba: 300
9
 
10
  Distribución de etiquetas:
11
  - real: 20000