update weight and config to reflect latest changes from the pr
Browse filesUpdate configs and weight based on the latest updates from the pr: https://github.com/huggingface/transformers/pull/18908
- config.json +3 -4
- preprocessor_config.json +26 -0
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
{
|
2 |
"architectures": [
|
3 |
-
"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.0,
|
6 |
"attention_type": "divided_space_time",
|
7 |
-
"
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.0,
|
10 |
"hidden_size": 768,
|
@@ -1224,6 +1224,5 @@
|
|
1224 |
"patch_size": 16,
|
1225 |
"qkv_bias": true,
|
1226 |
"torch_dtype": "float32",
|
1227 |
-
"transformers_version": "4.
|
1228 |
-
"use_mean_pooling": false
|
1229 |
}
|
|
|
1 |
{
|
2 |
"architectures": [
|
3 |
+
"TimesformerForVideoClassification"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.0,
|
6 |
"attention_type": "divided_space_time",
|
7 |
+
"drop_path_rate": 0,
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.0,
|
10 |
"hidden_size": 768,
|
|
|
1224 |
"patch_size": 16,
|
1225 |
"qkv_bias": true,
|
1226 |
"torch_dtype": "float32",
|
1227 |
+
"transformers_version": "4.25.0.dev0"
|
|
|
1228 |
}
|
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.5,
|
12 |
+
0.5,
|
13 |
+
0.5
|
14 |
+
],
|
15 |
+
"image_processor_type": "VideoMAEImageProcessor",
|
16 |
+
"image_std": [
|
17 |
+
0.5,
|
18 |
+
0.5,
|
19 |
+
0.5
|
20 |
+
],
|
21 |
+
"resample": 2,
|
22 |
+
"rescale_factor": 0.00392156862745098,
|
23 |
+
"size": {
|
24 |
+
"shortest_edge": 224
|
25 |
+
}
|
26 |
+
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb24c09fa3d2f4cbf13ddd41a82397ac00ee471a6143d6541190601599d2ffdf
|
3 |
+
size 486963889
|