Shawon16 commited on
Commit
18369ab
·
verified ·
1 Parent(s): fee7703

End of training

Browse files
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: cc-by-nc-4.0
4
+ base_model: MCG-NJU/videomae-base-finetuned-kinetics
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: VideoMAE_fixed_split_analysis_BDSLW60_3_CLASS
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # VideoMAE_fixed_split_analysis_BDSLW60_3_CLASS
18
+
19
+ This model is a fine-tuned version of [MCG-NJU/videomae-base-finetuned-kinetics](https://huggingface.co/MCG-NJU/videomae-base-finetuned-kinetics) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.0005
22
+ - Accuracy: 1.0
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 5e-05
42
+ - train_batch_size: 2
43
+ - eval_batch_size: 2
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 4
46
+ - total_train_batch_size: 8
47
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_ratio: 0.1
50
+ - training_steps: 88
51
+ - mixed_precision_training: Native AMP
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
56
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
57
+ | 1.065 | 0.5 | 44 | 0.0014 | 1.0 |
58
+ | 0.0019 | 1.4972 | 88 | 0.0005 | 1.0 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.46.1
64
+ - Pytorch 2.5.1+cu124
65
+ - Datasets 3.1.0
66
+ - Tokenizers 0.20.1
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "MCG-NJU/videomae-base-finetuned-kinetics",
3
+ "architectures": [
4
+ "VideoMAEForVideoClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "decoder_hidden_size": 384,
8
+ "decoder_intermediate_size": 1536,
9
+ "decoder_num_attention_heads": 6,
10
+ "decoder_num_hidden_layers": 4,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.0,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "ac",
16
+ "1": "aam",
17
+ "2": "aaple"
18
+ },
19
+ "image_size": 224,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "aam": 1,
24
+ "aaple": 2,
25
+ "ac": 0
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "model_type": "videomae",
29
+ "norm_pix_loss": false,
30
+ "num_attention_heads": 12,
31
+ "num_channels": 3,
32
+ "num_frames": 16,
33
+ "num_hidden_layers": 12,
34
+ "patch_size": 16,
35
+ "problem_type": "single_label_classification",
36
+ "qkv_bias": true,
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.46.1",
39
+ "tubelet_size": 2,
40
+ "use_mean_pooling": true
41
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:546c97938e4eeef9b0d6e843ea525cdd61277b4ba0969875647de4c9356c5b5a
3
+ size 344940412
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_normalize": true,
8
+ "do_rescale": true,
9
+ "do_resize": true,
10
+ "image_mean": [
11
+ 0.485,
12
+ 0.456,
13
+ 0.406
14
+ ],
15
+ "image_processor_type": "VideoMAEImageProcessor",
16
+ "image_std": [
17
+ 0.229,
18
+ 0.224,
19
+ 0.225
20
+ ],
21
+ "resample": 2,
22
+ "rescale_factor": 0.00392156862745098,
23
+ "size": {
24
+ "shortest_edge": 224
25
+ }
26
+ }
trainer_state.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.0,
3
+ "best_model_checkpoint": "/media/cse/HDD/Shawon/shawon/10 fold timesformer/VideoMAE_fixed_split_analysis_BDSLW60_3_CLASS/checkpoint-44",
4
+ "epoch": 1.4971590909090908,
5
+ "eval_steps": 500,
6
+ "global_step": 88,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.5,
13
+ "grad_norm": 0.7211317420005798,
14
+ "learning_rate": 2.848101265822785e-05,
15
+ "loss": 1.065,
16
+ "step": 44
17
+ },
18
+ {
19
+ "epoch": 0.5,
20
+ "eval_accuracy": 1.0,
21
+ "eval_loss": 0.0014007322024554014,
22
+ "eval_runtime": 17.0657,
23
+ "eval_samples_per_second": 1.817,
24
+ "eval_steps_per_second": 0.938,
25
+ "step": 44
26
+ },
27
+ {
28
+ "epoch": 1.4971590909090908,
29
+ "grad_norm": 0.02409316599369049,
30
+ "learning_rate": 6.329113924050633e-07,
31
+ "loss": 0.0019,
32
+ "step": 88
33
+ },
34
+ {
35
+ "epoch": 1.4971590909090908,
36
+ "eval_accuracy": 1.0,
37
+ "eval_loss": 0.0005012789042666554,
38
+ "eval_runtime": 17.1038,
39
+ "eval_samples_per_second": 1.812,
40
+ "eval_steps_per_second": 0.935,
41
+ "step": 88
42
+ },
43
+ {
44
+ "epoch": 1.4971590909090908,
45
+ "step": 88,
46
+ "total_flos": 8.759912185417236e+17,
47
+ "train_loss": 0.5334262637929483,
48
+ "train_runtime": 356.9505,
49
+ "train_samples_per_second": 1.972,
50
+ "train_steps_per_second": 0.247
51
+ }
52
+ ],
53
+ "logging_steps": 500,
54
+ "max_steps": 88,
55
+ "num_input_tokens_seen": 0,
56
+ "num_train_epochs": 9223372036854775807,
57
+ "save_steps": 500,
58
+ "stateful_callbacks": {
59
+ "EarlyStoppingCallback": {
60
+ "args": {
61
+ "early_stopping_patience": 5,
62
+ "early_stopping_threshold": 0.0
63
+ },
64
+ "attributes": {
65
+ "early_stopping_patience_counter": 1
66
+ }
67
+ },
68
+ "TrainerControl": {
69
+ "args": {
70
+ "should_epoch_stop": false,
71
+ "should_evaluate": false,
72
+ "should_log": false,
73
+ "should_save": true,
74
+ "should_training_stop": true
75
+ },
76
+ "attributes": {}
77
+ }
78
+ },
79
+ "total_flos": 8.759912185417236e+17,
80
+ "train_batch_size": 2,
81
+ "trial_name": null,
82
+ "trial_params": null
83
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4ba9d1be32755320296079466b228c3b37d06ca05106e71d9e4c2099dd415c4
3
+ size 5368