add model
Browse files- config.json +67 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "/content/mymodel",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"PerceiverForImageClassificationLearned"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"audio_samples_per_frame": 1920,
|
| 8 |
+
"cross_attention_shape_for_attention": "kv",
|
| 9 |
+
"cross_attention_widening_factor": 1,
|
| 10 |
+
"d_latents": 1024,
|
| 11 |
+
"d_model": 512,
|
| 12 |
+
"hidden_act": "gelu",
|
| 13 |
+
"id2label": {
|
| 14 |
+
"0": "airplane",
|
| 15 |
+
"1": "automobile",
|
| 16 |
+
"2": "bird",
|
| 17 |
+
"3": "cat",
|
| 18 |
+
"4": "deer",
|
| 19 |
+
"5": "dog",
|
| 20 |
+
"6": "frog",
|
| 21 |
+
"7": "horse",
|
| 22 |
+
"8": "ship",
|
| 23 |
+
"9": "truck"
|
| 24 |
+
},
|
| 25 |
+
"image_size": 224,
|
| 26 |
+
"initializer_range": 0.02,
|
| 27 |
+
"label2id": {
|
| 28 |
+
"airplane": 0,
|
| 29 |
+
"automobile": 1,
|
| 30 |
+
"bird": 2,
|
| 31 |
+
"cat": 3,
|
| 32 |
+
"deer": 4,
|
| 33 |
+
"dog": 5,
|
| 34 |
+
"frog": 6,
|
| 35 |
+
"horse": 7,
|
| 36 |
+
"ship": 8,
|
| 37 |
+
"truck": 9
|
| 38 |
+
},
|
| 39 |
+
"layer_norm_eps": 1e-12,
|
| 40 |
+
"max_position_embeddings": 2048,
|
| 41 |
+
"model_type": "perceiver",
|
| 42 |
+
"num_blocks": 8,
|
| 43 |
+
"num_cross_attention_heads": 1,
|
| 44 |
+
"num_frames": 16,
|
| 45 |
+
"num_latents": 512,
|
| 46 |
+
"num_self_attends_per_block": 6,
|
| 47 |
+
"num_self_attention_heads": 8,
|
| 48 |
+
"output_shape": [
|
| 49 |
+
1,
|
| 50 |
+
16,
|
| 51 |
+
224,
|
| 52 |
+
224
|
| 53 |
+
],
|
| 54 |
+
"problem_type": "single_label_classification",
|
| 55 |
+
"qk_channels": null,
|
| 56 |
+
"samples_per_patch": 16,
|
| 57 |
+
"self_attention_widening_factor": 1,
|
| 58 |
+
"torch_dtype": "float32",
|
| 59 |
+
"train_size": [
|
| 60 |
+
368,
|
| 61 |
+
496
|
| 62 |
+
],
|
| 63 |
+
"transformers_version": "4.15.0",
|
| 64 |
+
"use_query_residual": true,
|
| 65 |
+
"v_channels": null,
|
| 66 |
+
"vocab_size": 262
|
| 67 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f18e7e40540325f333416d062615ad5ad9bb90f8cc42376d0255c0734e481197
|
| 3 |
+
size 245020327
|