Commit
·
52a2d67
1
Parent(s):
561544e
Upload tiny models for BitModel
Browse files- config.json +53 -0
- preprocessor_config.json +27 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"BitModel"
|
| 4 |
+
],
|
| 5 |
+
"depths": [
|
| 6 |
+
1,
|
| 7 |
+
1,
|
| 8 |
+
2,
|
| 9 |
+
1
|
| 10 |
+
],
|
| 11 |
+
"drop_path_rate": 0.0,
|
| 12 |
+
"embedding_dynamic_padding": false,
|
| 13 |
+
"embedding_size": 64,
|
| 14 |
+
"embeddings_size": 10,
|
| 15 |
+
"global_padding": null,
|
| 16 |
+
"hidden_act": "relu",
|
| 17 |
+
"hidden_sizes": [
|
| 18 |
+
8,
|
| 19 |
+
16,
|
| 20 |
+
32,
|
| 21 |
+
64
|
| 22 |
+
],
|
| 23 |
+
"id2label": {
|
| 24 |
+
"0": "LABEL_0",
|
| 25 |
+
"1": "LABEL_1",
|
| 26 |
+
"2": "LABEL_2"
|
| 27 |
+
},
|
| 28 |
+
"label2id": {
|
| 29 |
+
"LABEL_0": 0,
|
| 30 |
+
"LABEL_1": 1,
|
| 31 |
+
"LABEL_2": 2
|
| 32 |
+
},
|
| 33 |
+
"layer_type": "preactivation",
|
| 34 |
+
"model_type": "bit",
|
| 35 |
+
"num_channels": 3,
|
| 36 |
+
"num_groups": 1,
|
| 37 |
+
"out_features": [
|
| 38 |
+
"stage2",
|
| 39 |
+
"stage3",
|
| 40 |
+
"stage4"
|
| 41 |
+
],
|
| 42 |
+
"output_stride": 32,
|
| 43 |
+
"stage_names": [
|
| 44 |
+
"stem",
|
| 45 |
+
"stage1",
|
| 46 |
+
"stage2",
|
| 47 |
+
"stage3",
|
| 48 |
+
"stage4"
|
| 49 |
+
],
|
| 50 |
+
"torch_dtype": "float32",
|
| 51 |
+
"transformers_version": "4.28.0.dev0",
|
| 52 |
+
"width_factor": 1
|
| 53 |
+
}
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 448,
|
| 4 |
+
"width": 448
|
| 5 |
+
},
|
| 6 |
+
"do_center_crop": true,
|
| 7 |
+
"do_convert_rgb": true,
|
| 8 |
+
"do_normalize": true,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"image_mean": [
|
| 12 |
+
0.5,
|
| 13 |
+
0.5,
|
| 14 |
+
0.5
|
| 15 |
+
],
|
| 16 |
+
"image_processor_type": "BitImageProcessor",
|
| 17 |
+
"image_std": [
|
| 18 |
+
0.5,
|
| 19 |
+
0.5,
|
| 20 |
+
0.5
|
| 21 |
+
],
|
| 22 |
+
"resample": 2,
|
| 23 |
+
"rescale_factor": 0.00392156862745098,
|
| 24 |
+
"size": {
|
| 25 |
+
"shortest_edge": 448
|
| 26 |
+
}
|
| 27 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2fb3d399dfdda56dda1a557fa628224d4e594eee3f72d32e0bdcf3c881ca0a2e
|
| 3 |
+
size 99917
|