End of training
Browse files- README.md +80 -0
- config.json +115 -0
- model.safetensors +3 -0
- preprocessor_config.json +27 -0
- runs/Nov30_19-00-09_c532803dfe77/events.out.tfevents.1701370834.c532803dfe77.353.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-4.0
|
3 |
+
base_model: MCG-NJU/videomae-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: videomae-base-finetuned-slrbd002
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# videomae-base-finetuned-slrbd002
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [MCG-NJU/videomae-base](https://huggingface.co/MCG-NJU/videomae-base) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.4824
|
21 |
+
- Accuracy: 0.875
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 5e-05
|
41 |
+
- train_batch_size: 4
|
42 |
+
- eval_batch_size: 4
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- lr_scheduler_warmup_ratio: 0.1
|
47 |
+
- training_steps: 1800
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
53 |
+
| 3.6684 | 0.05 | 90 | 3.6696 | 0.025 |
|
54 |
+
| 3.4781 | 1.05 | 180 | 3.3494 | 0.1313 |
|
55 |
+
| 3.2885 | 2.05 | 270 | 3.1702 | 0.125 |
|
56 |
+
| 2.7847 | 3.05 | 360 | 2.7654 | 0.2562 |
|
57 |
+
| 2.4107 | 4.05 | 450 | 2.6756 | 0.2437 |
|
58 |
+
| 1.7783 | 5.05 | 540 | 1.9950 | 0.4813 |
|
59 |
+
| 1.3054 | 6.05 | 630 | 1.4908 | 0.6188 |
|
60 |
+
| 0.5868 | 7.05 | 720 | 1.4568 | 0.6188 |
|
61 |
+
| 0.4388 | 8.05 | 810 | 0.9511 | 0.7312 |
|
62 |
+
| 0.2187 | 9.05 | 900 | 1.1580 | 0.65 |
|
63 |
+
| 0.1665 | 10.05 | 990 | 0.6565 | 0.8313 |
|
64 |
+
| 0.0959 | 11.05 | 1080 | 0.5731 | 0.8562 |
|
65 |
+
| 0.0273 | 12.05 | 1170 | 0.6637 | 0.8063 |
|
66 |
+
| 0.02 | 13.05 | 1260 | 0.5048 | 0.875 |
|
67 |
+
| 0.0137 | 14.05 | 1350 | 0.4815 | 0.8688 |
|
68 |
+
| 0.0261 | 15.05 | 1440 | 0.5649 | 0.8438 |
|
69 |
+
| 0.013 | 16.05 | 1530 | 0.5419 | 0.8375 |
|
70 |
+
| 0.0123 | 17.05 | 1620 | 0.4864 | 0.8812 |
|
71 |
+
| 0.0527 | 18.05 | 1710 | 0.4725 | 0.8875 |
|
72 |
+
| 0.011 | 19.05 | 1800 | 0.4824 | 0.875 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- Transformers 4.35.2
|
78 |
+
- Pytorch 2.1.0+cu118
|
79 |
+
- Datasets 2.15.0
|
80 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "MCG-NJU/videomae-base",
|
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": "Reject",
|
16 |
+
"1": "Pass",
|
17 |
+
"2": "Invisible",
|
18 |
+
"3": "Absent",
|
19 |
+
"4": "Torture",
|
20 |
+
"5": "Permission",
|
21 |
+
"6": "Dishonest",
|
22 |
+
"7": "Insult",
|
23 |
+
"8": "Complain",
|
24 |
+
"9": "Hit",
|
25 |
+
"10": "Save",
|
26 |
+
"11": "Bring",
|
27 |
+
"12": "Request",
|
28 |
+
"13": "Start",
|
29 |
+
"14": "Seperate",
|
30 |
+
"15": "Talk",
|
31 |
+
"16": "Turn off the light",
|
32 |
+
"17": "Come",
|
33 |
+
"18": "Lift",
|
34 |
+
"19": "Advise",
|
35 |
+
"20": "Encourage",
|
36 |
+
"21": "Welding",
|
37 |
+
"22": "Trouble",
|
38 |
+
"23": "Crying",
|
39 |
+
"24": "Whisper",
|
40 |
+
"25": "Shave",
|
41 |
+
"26": "Qurbani",
|
42 |
+
"27": "Embrace",
|
43 |
+
"28": "Dig",
|
44 |
+
"29": "Making Noise",
|
45 |
+
"30": "Bath",
|
46 |
+
"31": "Hate",
|
47 |
+
"32": "Sleep",
|
48 |
+
"33": "Rotate",
|
49 |
+
"34": "want",
|
50 |
+
"35": "think",
|
51 |
+
"36": "kiss",
|
52 |
+
"37": "steal",
|
53 |
+
"38": "try",
|
54 |
+
"39": "tear"
|
55 |
+
},
|
56 |
+
"image_size": 224,
|
57 |
+
"initializer_range": 0.02,
|
58 |
+
"intermediate_size": 3072,
|
59 |
+
"label2id": {
|
60 |
+
"Absent": 3,
|
61 |
+
"Advise": 19,
|
62 |
+
"Bath": 30,
|
63 |
+
"Bring": 11,
|
64 |
+
"Come": 17,
|
65 |
+
"Complain": 8,
|
66 |
+
"Crying": 23,
|
67 |
+
"Dig": 28,
|
68 |
+
"Dishonest": 6,
|
69 |
+
"Embrace": 27,
|
70 |
+
"Encourage": 20,
|
71 |
+
"Hate": 31,
|
72 |
+
"Hit": 9,
|
73 |
+
"Insult": 7,
|
74 |
+
"Invisible": 2,
|
75 |
+
"Lift": 18,
|
76 |
+
"Making Noise": 29,
|
77 |
+
"Pass": 1,
|
78 |
+
"Permission": 5,
|
79 |
+
"Qurbani": 26,
|
80 |
+
"Reject": 0,
|
81 |
+
"Request": 12,
|
82 |
+
"Rotate": 33,
|
83 |
+
"Save": 10,
|
84 |
+
"Seperate": 14,
|
85 |
+
"Shave": 25,
|
86 |
+
"Sleep": 32,
|
87 |
+
"Start": 13,
|
88 |
+
"Talk": 15,
|
89 |
+
"Torture": 4,
|
90 |
+
"Trouble": 22,
|
91 |
+
"Turn off the light": 16,
|
92 |
+
"Welding": 21,
|
93 |
+
"Whisper": 24,
|
94 |
+
"kiss": 36,
|
95 |
+
"steal": 37,
|
96 |
+
"tear": 39,
|
97 |
+
"think": 35,
|
98 |
+
"try": 38,
|
99 |
+
"want": 34
|
100 |
+
},
|
101 |
+
"layer_norm_eps": 1e-12,
|
102 |
+
"model_type": "videomae",
|
103 |
+
"norm_pix_loss": true,
|
104 |
+
"num_attention_heads": 12,
|
105 |
+
"num_channels": 3,
|
106 |
+
"num_frames": 16,
|
107 |
+
"num_hidden_layers": 12,
|
108 |
+
"patch_size": 16,
|
109 |
+
"problem_type": "single_label_classification",
|
110 |
+
"qkv_bias": true,
|
111 |
+
"torch_dtype": "float32",
|
112 |
+
"transformers_version": "4.35.2",
|
113 |
+
"tubelet_size": 2,
|
114 |
+
"use_mean_pooling": false
|
115 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:493a1c344674240bc53614445d53a684f48e7e71b0c63482ba2b481ba7781277
|
3 |
+
size 345054272
|
preprocessor_config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"feature_extractor_type": "VideoMAEFeatureExtractor",
|
11 |
+
"image_mean": [
|
12 |
+
0.485,
|
13 |
+
0.456,
|
14 |
+
0.406
|
15 |
+
],
|
16 |
+
"image_processor_type": "VideoMAEImageProcessor",
|
17 |
+
"image_std": [
|
18 |
+
0.229,
|
19 |
+
0.224,
|
20 |
+
0.225
|
21 |
+
],
|
22 |
+
"resample": 2,
|
23 |
+
"rescale_factor": 0.00392156862745098,
|
24 |
+
"size": {
|
25 |
+
"shortest_edge": 224
|
26 |
+
}
|
27 |
+
}
|
runs/Nov30_19-00-09_c532803dfe77/events.out.tfevents.1701370834.c532803dfe77.353.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d500e53c4f9b20bd4334daf57fb92c129e86c92636ec255f9f27c0a118094e5
|
3 |
+
size 40972
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f4c346463b9e27a68968b27a30fd4eaa034cc097d21ec00f22444443c322e02b
|
3 |
+
size 4600
|