Myaukko commited on
Commit
bd41df9
1 Parent(s): e53e0d6

Model save

Browse files
Files changed (5) hide show
  1. README.md +64 -0
  2. config.json +39 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +26 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ metrics:
5
+ - recall
6
+ - precision
7
+ - f1
8
+ model-index:
9
+ - name: checkpoint-126-5ep3bsfrmulti
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
+ # checkpoint-126-5ep3bsfrmulti
17
+
18
+ This model was trained from scratch on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.0412
21
+ - Recall: 1.0
22
+ - Precision: 0.9688
23
+ - F1: 0.9922
24
+ - Roc Auc: 0.9067
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 5e-05
44
+ - train_batch_size: 3
45
+ - eval_batch_size: 3
46
+ - seed: 42
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_ratio: 0.1
50
+ - training_steps: 97
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Recall | Precision | F1 | Roc Auc |
55
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:---------:|:------:|:-------:|
56
+ | 0.1227 | 1.0 | 97 | 0.0412 | 1.0 | 0.9688 | 0.9922 | 0.9067 |
57
+
58
+
59
+ ### Framework versions
60
+
61
+ - Transformers 4.37.2
62
+ - Pytorch 2.2.0+cu118
63
+ - Datasets 2.17.0
64
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "videomae-base-finetuned-fighting-subset-5ep-5ep3bs-1ep3bs-5ep3bs\\checkpoint-126",
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": "Fighting",
16
+ "1": "NormalEvents"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Fighting": 0,
23
+ "NormalEvents": 1
24
+ },
25
+ "layer_norm_eps": 1e-12,
26
+ "model_type": "videomae",
27
+ "norm_pix_loss": true,
28
+ "num_attention_heads": 12,
29
+ "num_channels": 3,
30
+ "num_frames": 16,
31
+ "num_hidden_layers": 12,
32
+ "patch_size": 16,
33
+ "problem_type": "single_label_classification",
34
+ "qkv_bias": true,
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.37.2",
37
+ "tubelet_size": 2,
38
+ "use_mean_pooling": false
39
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e55c29276462e64fd27725546f80eedb4de336b73730bc51a724ca105ef45b03
3
+ size 344937368
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:b7c8730d92a09b1d94a11e996953277fc8d74f1b18dbf0bc80ebb29d30401bca
3
+ size 4728