Upload folder using huggingface_hub
Browse files- README.md +32 -0
- checkpoint-1/config.json +28 -0
- checkpoint-1/model.safetensors +3 -0
- checkpoint-1/optimizer.pt +3 -0
- checkpoint-1/rng_state.pth +3 -0
- checkpoint-1/scheduler.pt +3 -0
- checkpoint-1/trainer_state.json +41 -0
- checkpoint-1/training_args.bin +3 -0
- config.json +28 -0
- model.safetensors +3 -0
- preprocessor_config.json +26 -0
- training_args.bin +3 -0
- training_params.json +29 -0
README.md
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- image-classification
|
6 |
+
widget:
|
7 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
8 |
+
example_title: Tiger
|
9 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
10 |
+
example_title: Teapot
|
11 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
12 |
+
example_title: Palace
|
13 |
+
datasets:
|
14 |
+
- autotrain-6gama-idpx7/autotrain-data
|
15 |
+
---
|
16 |
+
|
17 |
+
# Model Trained Using AutoTrain
|
18 |
+
|
19 |
+
- Problem type: Image Classification
|
20 |
+
|
21 |
+
## Validation Metricsg
|
22 |
+
loss: 0.5906022787094116
|
23 |
+
|
24 |
+
f1: 0.0
|
25 |
+
|
26 |
+
precision: 0.0
|
27 |
+
|
28 |
+
recall: 0.0
|
29 |
+
|
30 |
+
auc: 1.0
|
31 |
+
|
32 |
+
accuracy: 0.5
|
checkpoint-1/config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/mobilenet_v1_0.75_192",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"architectures": [
|
5 |
+
"MobileNetV1ForImageClassification"
|
6 |
+
],
|
7 |
+
"classifier_dropout_prob": 0.001,
|
8 |
+
"depth_multiplier": 0.75,
|
9 |
+
"hidden_act": "relu6",
|
10 |
+
"id2label": {
|
11 |
+
"0": "jirafa",
|
12 |
+
"1": "leon"
|
13 |
+
},
|
14 |
+
"image_size": 192,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"label2id": {
|
17 |
+
"jirafa": 0,
|
18 |
+
"leon": 1
|
19 |
+
},
|
20 |
+
"layer_norm_eps": 0.001,
|
21 |
+
"min_depth": 8,
|
22 |
+
"model_type": "mobilenet_v1",
|
23 |
+
"num_channels": 3,
|
24 |
+
"problem_type": "single_label_classification",
|
25 |
+
"tf_padding": true,
|
26 |
+
"torch_dtype": "float32",
|
27 |
+
"transformers_version": "4.38.0"
|
28 |
+
}
|
checkpoint-1/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:34d12590d6dc16c1561af97278a665f378ec705b18d7353b10baa08e68e42102
|
3 |
+
size 7356136
|
checkpoint-1/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c172a478bda61e6138952577b455b78dde5f0d92e2917e6ef45f12cd515f59cc
|
3 |
+
size 14612026
|
checkpoint-1/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:211364c7f58b23b14c7288318c9e1c5d38a503a21c4792809e6b2c6731bf6744
|
3 |
+
size 13990
|
checkpoint-1/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a4322f26ea0a721a75cad99a3be7c263f63a603c913c7a935fc64da9f1ccf64
|
3 |
+
size 1064
|
checkpoint-1/trainer_state.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.5906022787094116,
|
3 |
+
"best_model_checkpoint": "autotrain-6gama-idpx7/checkpoint-1",
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 1.0,
|
13 |
+
"grad_norm": 8.309977531433105,
|
14 |
+
"learning_rate": 5e-05,
|
15 |
+
"loss": 0.708,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.5,
|
21 |
+
"eval_auc": 1.0,
|
22 |
+
"eval_f1": 0.0,
|
23 |
+
"eval_loss": 0.5906022787094116,
|
24 |
+
"eval_precision": 0.0,
|
25 |
+
"eval_recall": 0.0,
|
26 |
+
"eval_runtime": 0.2075,
|
27 |
+
"eval_samples_per_second": 9.638,
|
28 |
+
"eval_steps_per_second": 4.819,
|
29 |
+
"step": 1
|
30 |
+
}
|
31 |
+
],
|
32 |
+
"logging_steps": 1,
|
33 |
+
"max_steps": 3,
|
34 |
+
"num_input_tokens_seen": 0,
|
35 |
+
"num_train_epochs": 3,
|
36 |
+
"save_steps": 500,
|
37 |
+
"total_flos": 13136383475712.0,
|
38 |
+
"train_batch_size": 8,
|
39 |
+
"trial_name": null,
|
40 |
+
"trial_params": null
|
41 |
+
}
|
checkpoint-1/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d64ec4975843ef75d0a18281bf4a9272a746eb9619bb47ef7a3788364b899cc
|
3 |
+
size 4920
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/mobilenet_v1_0.75_192",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"architectures": [
|
5 |
+
"MobileNetV1ForImageClassification"
|
6 |
+
],
|
7 |
+
"classifier_dropout_prob": 0.001,
|
8 |
+
"depth_multiplier": 0.75,
|
9 |
+
"hidden_act": "relu6",
|
10 |
+
"id2label": {
|
11 |
+
"0": "jirafa",
|
12 |
+
"1": "leon"
|
13 |
+
},
|
14 |
+
"image_size": 192,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"label2id": {
|
17 |
+
"jirafa": 0,
|
18 |
+
"leon": 1
|
19 |
+
},
|
20 |
+
"layer_norm_eps": 0.001,
|
21 |
+
"min_depth": 8,
|
22 |
+
"model_type": "mobilenet_v1",
|
23 |
+
"num_channels": 3,
|
24 |
+
"problem_type": "single_label_classification",
|
25 |
+
"tf_padding": true,
|
26 |
+
"torch_dtype": "float32",
|
27 |
+
"transformers_version": "4.38.0"
|
28 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:34d12590d6dc16c1561af97278a665f378ec705b18d7353b10baa08e68e42102
|
3 |
+
size 7356136
|
preprocessor_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 192,
|
4 |
+
"width": 192
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_normalize": true,
|
8 |
+
"do_rescale": true,
|
9 |
+
"do_resize": true,
|
10 |
+
"image_mean": [
|
11 |
+
0.5,
|
12 |
+
0.5,
|
13 |
+
0.5
|
14 |
+
],
|
15 |
+
"image_processor_type": "MobileNetV1ImageProcessor",
|
16 |
+
"image_std": [
|
17 |
+
0.5,
|
18 |
+
0.5,
|
19 |
+
0.5
|
20 |
+
],
|
21 |
+
"resample": 2,
|
22 |
+
"rescale_factor": 0.00392156862745098,
|
23 |
+
"size": {
|
24 |
+
"shortest_edge": 224
|
25 |
+
}
|
26 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d64ec4975843ef75d0a18281bf4a9272a746eb9619bb47ef7a3788364b899cc
|
3 |
+
size 4920
|
training_params.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "autotrain-6gama-idpx7/autotrain-data",
|
3 |
+
"model": "google/mobilenet_v1_0.75_192",
|
4 |
+
"username": "yuleysi",
|
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": "validation",
|
17 |
+
"logging_steps": -1,
|
18 |
+
"project_name": "autotrain-6gama-idpx7",
|
19 |
+
"auto_find_batch_size": false,
|
20 |
+
"mixed_precision": null,
|
21 |
+
"save_total_limit": 1,
|
22 |
+
"save_strategy": "epoch",
|
23 |
+
"push_to_hub": true,
|
24 |
+
"repo_id": "yuleysi/autotrain-6gama-idpx7",
|
25 |
+
"evaluation_strategy": "epoch",
|
26 |
+
"image_column": "autotrain_image",
|
27 |
+
"target_column": "autotrain_label",
|
28 |
+
"log": "none"
|
29 |
+
}
|