LSummer commited on
Commit
74f1e36
·
verified ·
1 Parent(s): fa7fc20

LSummer/my_awesome_video_cls_model

Browse files
Files changed (5) hide show
  1. README.md +51 -0
  2. config.json +54 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +26 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: cc-by-nc-4.0
4
+ base_model: MCG-NJU/videomae-base
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: my_awesome_video_cls_model
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # my_awesome_video_cls_model
16
+
17
+ This model is a fine-tuned version of [MCG-NJU/videomae-base](https://huggingface.co/MCG-NJU/videomae-base) on an unknown dataset.
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 5e-05
37
+ - train_batch_size: 1
38
+ - eval_batch_size: 1
39
+ - seed: 42
40
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
41
+ - lr_scheduler_type: linear
42
+ - lr_scheduler_warmup_ratio: 0.1
43
+ - training_steps: 300
44
+ - mixed_precision_training: Native AMP
45
+
46
+ ### Framework versions
47
+
48
+ - Transformers 4.55.2
49
+ - Pytorch 2.8.0+cu126
50
+ - Datasets 4.0.0
51
+ - Tokenizers 0.21.4
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "VideoMAEForVideoClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "decoder_hidden_size": 384,
7
+ "decoder_intermediate_size": 1536,
8
+ "decoder_num_attention_heads": 6,
9
+ "decoder_num_hidden_layers": 4,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.0,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "ApplyEyeMakeup",
15
+ "1": "ApplyLipstick",
16
+ "2": "Archery",
17
+ "3": "BabyCrawling",
18
+ "4": "BalanceBeam",
19
+ "5": "BandMarching",
20
+ "6": "BaseballPitch",
21
+ "7": "Basketball",
22
+ "8": "BasketballDunk",
23
+ "9": "BenchPress"
24
+ },
25
+ "image_size": 224,
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "label2id": {
29
+ "ApplyEyeMakeup": 0,
30
+ "ApplyLipstick": 1,
31
+ "Archery": 2,
32
+ "BabyCrawling": 3,
33
+ "BalanceBeam": 4,
34
+ "BandMarching": 5,
35
+ "BaseballPitch": 6,
36
+ "Basketball": 7,
37
+ "BasketballDunk": 8,
38
+ "BenchPress": 9
39
+ },
40
+ "layer_norm_eps": 1e-12,
41
+ "model_type": "videomae",
42
+ "norm_pix_loss": true,
43
+ "num_attention_heads": 12,
44
+ "num_channels": 3,
45
+ "num_frames": 16,
46
+ "num_hidden_layers": 12,
47
+ "patch_size": 16,
48
+ "problem_type": "single_label_classification",
49
+ "qkv_bias": true,
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.55.2",
52
+ "tubelet_size": 2,
53
+ "use_mean_pooling": false
54
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4d6048d4c6c8627b991fda7d92c0deb8ec129c5b608a4945cfedd6e8e79c9bb
3
+ size 344961984
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:365e870b3ab3893353ea11ed1479a443ee42bc6dc72afdaf3bbbc087e6e2dfd6
3
+ size 5777