Instructions to use CVPROJ25/FINETUNED with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CVPROJ25/FINETUNED with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="CVPROJ25/FINETUNED") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("CVPROJ25/FINETUNED") model = AutoModelForImageClassification.from_pretrained("CVPROJ25/FINETUNED", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 2, checkpoint
Browse files
last-checkpoint/model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 346293856
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8361afeef393c81a02086ba51c86073ac81e86c12bc7610d2c6bdda710514d48
|
| 3 |
size 346293856
|
last-checkpoint/trainer_state.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
"best_global_step": 16,
|
| 3 |
"best_metric": 0.8921805620193481,
|
| 4 |
"best_model_checkpoint": "./finetuning/checkpoint-16",
|
| 5 |
-
"epoch":
|
| 6 |
"eval_steps": 500,
|
| 7 |
-
"global_step":
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
@@ -24,6 +24,29 @@
|
|
| 24 |
"eval_samples_per_second": 18.432,
|
| 25 |
"eval_steps_per_second": 1.152,
|
| 26 |
"step": 16
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
}
|
| 28 |
],
|
| 29 |
"logging_steps": 10,
|
|
@@ -38,7 +61,7 @@
|
|
| 38 |
"early_stopping_threshold": 0.0
|
| 39 |
},
|
| 40 |
"attributes": {
|
| 41 |
-
"early_stopping_patience_counter":
|
| 42 |
}
|
| 43 |
},
|
| 44 |
"TrainerControl": {
|
|
@@ -52,7 +75,7 @@
|
|
| 52 |
"attributes": {}
|
| 53 |
}
|
| 54 |
},
|
| 55 |
-
"total_flos":
|
| 56 |
"train_batch_size": 512,
|
| 57 |
"trial_name": null,
|
| 58 |
"trial_params": null
|
|
|
|
| 2 |
"best_global_step": 16,
|
| 3 |
"best_metric": 0.8921805620193481,
|
| 4 |
"best_model_checkpoint": "./finetuning/checkpoint-16",
|
| 5 |
+
"epoch": 2.0,
|
| 6 |
"eval_steps": 500,
|
| 7 |
+
"global_step": 32,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 24 |
"eval_samples_per_second": 18.432,
|
| 25 |
"eval_steps_per_second": 1.152,
|
| 26 |
"step": 16
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"epoch": 1.25,
|
| 30 |
+
"grad_norm": 1.3452868461608887,
|
| 31 |
+
"learning_rate": 4.40625e-05,
|
| 32 |
+
"loss": 0.6379053115844726,
|
| 33 |
+
"step": 20
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"epoch": 1.875,
|
| 37 |
+
"grad_norm": 1.4145034551620483,
|
| 38 |
+
"learning_rate": 4.09375e-05,
|
| 39 |
+
"loss": 0.39968080520629884,
|
| 40 |
+
"step": 30
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"epoch": 2.0,
|
| 44 |
+
"eval_accuracy": 0.7705,
|
| 45 |
+
"eval_loss": 0.9019250273704529,
|
| 46 |
+
"eval_runtime": 102.1072,
|
| 47 |
+
"eval_samples_per_second": 19.587,
|
| 48 |
+
"eval_steps_per_second": 1.224,
|
| 49 |
+
"step": 32
|
| 50 |
}
|
| 51 |
],
|
| 52 |
"logging_steps": 10,
|
|
|
|
| 61 |
"early_stopping_threshold": 0.0
|
| 62 |
},
|
| 63 |
"attributes": {
|
| 64 |
+
"early_stopping_patience_counter": 1
|
| 65 |
}
|
| 66 |
},
|
| 67 |
"TrainerControl": {
|
|
|
|
| 75 |
"attributes": {}
|
| 76 |
}
|
| 77 |
},
|
| 78 |
+
"total_flos": 1.250962187747328e+18,
|
| 79 |
"train_batch_size": 512,
|
| 80 |
"trial_name": null,
|
| 81 |
"trial_params": null
|