colinhwang commited on
Commit
9f4774e
·
verified ·
1 Parent(s): 2a1fb51

Model save

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: baseball-videomae
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
+ # baseball-videomae
18
+
19
+ This model is a fine-tuned version of [MCG-NJU/videomae-base](https://huggingface.co/MCG-NJU/videomae-base) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 2.4185
22
+ - Accuracy: 0.0463
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
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
46
+ - lr_scheduler_type: linear
47
+ - lr_scheduler_warmup_ratio: 0.1
48
+ - num_epochs: 1
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
54
+ | 2.4685 | 1.0 | 218 | 2.4185 | 0.0463 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.47.1
60
+ - Pytorch 2.7.0.dev20250109
61
+ - Datasets 3.2.0
62
+ - Tokenizers 0.21.0
config.json CHANGED
@@ -12,21 +12,33 @@
12
  "hidden_dropout_prob": 0.0,
13
  "hidden_size": 768,
14
  "id2label": {
15
- "0": "bunt",
16
- "1": "fly_ball",
17
- "2": "ground_ball",
18
- "3": "line_drive",
19
- "4": "popup"
 
 
 
 
 
 
20
  },
21
  "image_size": 224,
22
  "initializer_range": 0.02,
23
  "intermediate_size": 3072,
24
  "label2id": {
25
- "bunt": 0,
26
- "fly_ball": 1,
27
- "ground_ball": 2,
28
- "line_drive": 3,
29
- "popup": 4
 
 
 
 
 
 
30
  },
31
  "layer_norm_eps": 1e-12,
32
  "model_type": "videomae",
 
12
  "hidden_dropout_prob": 0.0,
13
  "hidden_size": 768,
14
  "id2label": {
15
+ "0": "CH",
16
+ "1": "CU",
17
+ "2": "EP",
18
+ "3": "FC",
19
+ "4": "FF",
20
+ "5": "FS",
21
+ "6": "KC",
22
+ "7": "KN",
23
+ "8": "SI",
24
+ "9": "SL",
25
+ "10": "ST"
26
  },
27
  "image_size": 224,
28
  "initializer_range": 0.02,
29
  "intermediate_size": 3072,
30
  "label2id": {
31
+ "CH": 0,
32
+ "CU": 1,
33
+ "EP": 2,
34
+ "FC": 3,
35
+ "FF": 4,
36
+ "FS": 5,
37
+ "KC": 6,
38
+ "KN": 7,
39
+ "SI": 8,
40
+ "SL": 9,
41
+ "ST": 10
42
  },
43
  "layer_norm_eps": 1e-12,
44
  "model_type": "videomae",
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ab7b59f7daf41a106ad26eee94c709f1cdc968f2cf99f0aa4b52787c6ff3b2d2
3
- size 344946604
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6afaeaac0abf5a271cb25294403459dace9e0c869bbac92c9be0a2e7d408f148
3
+ size 344965060
pitch_type/config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "CH",
16
+ "1": "CU",
17
+ "2": "EP",
18
+ "3": "FC",
19
+ "4": "FF",
20
+ "5": "FS",
21
+ "6": "KC",
22
+ "7": "KN",
23
+ "8": "SI",
24
+ "9": "SL",
25
+ "10": "ST"
26
+ },
27
+ "image_size": 224,
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 3072,
30
+ "label2id": {
31
+ "CH": 0,
32
+ "CU": 1,
33
+ "EP": 2,
34
+ "FC": 3,
35
+ "FF": 4,
36
+ "FS": 5,
37
+ "KC": 6,
38
+ "KN": 7,
39
+ "SI": 8,
40
+ "SL": 9,
41
+ "ST": 10
42
+ },
43
+ "layer_norm_eps": 1e-12,
44
+ "model_type": "videomae",
45
+ "norm_pix_loss": true,
46
+ "num_attention_heads": 12,
47
+ "num_channels": 3,
48
+ "num_frames": 16,
49
+ "num_hidden_layers": 12,
50
+ "patch_size": 16,
51
+ "problem_type": "single_label_classification",
52
+ "qkv_bias": true,
53
+ "torch_dtype": "float32",
54
+ "transformers_version": "4.47.1",
55
+ "tubelet_size": 2,
56
+ "use_mean_pooling": false
57
+ }
pitch_type/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6afaeaac0abf5a271cb25294403459dace9e0c869bbac92c9be0a2e7d408f148
3
+ size 344965060
pitch_type/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
+ }
pitch_type/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dfb6a96bd4770516fbe664ee849635a567a07863a62aac1f73f935621e63c61
3
+ size 5304