Integrate dit config
Browse files- config.json +58 -1
config.json
CHANGED
@@ -1,14 +1,68 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"CamembertForMaskedLM"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
"bos_token_id": 5,
|
7 |
"channel_shrink_ratio": 4,
|
|
|
8 |
"eos_token_id": 6,
|
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
|
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 3072,
|
14 |
"layer_norm_eps": 1e-05,
|
@@ -19,6 +73,9 @@
|
|
19 |
"num_hidden_layers": 12,
|
20 |
"output_past": true,
|
21 |
"pad_token_id": 1,
|
|
|
|
|
22 |
"type_vocab_size": 1,
|
|
|
23 |
"vocab_size": 32005
|
24 |
-
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "manu/lilt-camembert-dit-base-hf-latest",
|
3 |
"architectures": [
|
4 |
"CamembertForMaskedLM"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"beit_config_dict": {
|
8 |
+
"architectures": [
|
9 |
+
"BeitForMaskedImageModeling"
|
10 |
+
],
|
11 |
+
"attention_probs_dropout_prob": 0.0,
|
12 |
+
"auxiliary_channels": 256,
|
13 |
+
"auxiliary_concat_input": false,
|
14 |
+
"auxiliary_loss_weight": 0.4,
|
15 |
+
"auxiliary_num_convs": 1,
|
16 |
+
"drop_path_rate": 0.1,
|
17 |
+
"hidden_act": "gelu",
|
18 |
+
"hidden_dropout_prob": 0.0,
|
19 |
+
"hidden_size": 768,
|
20 |
+
"image_size": 224,
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"layer_norm_eps": 1e-12,
|
24 |
+
"layer_scale_init_value": 0.1,
|
25 |
+
"model_type": "beit",
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_channels": 3,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"out_indices": [
|
30 |
+
3,
|
31 |
+
5,
|
32 |
+
7,
|
33 |
+
11
|
34 |
+
],
|
35 |
+
"patch_size": 16,
|
36 |
+
"pool_scales": [
|
37 |
+
1,
|
38 |
+
2,
|
39 |
+
3,
|
40 |
+
6
|
41 |
+
],
|
42 |
+
"semantic_loss_ignore_index": 255,
|
43 |
+
"torch_dtype": "float32",
|
44 |
+
"transformers_version": "4.18.0.dev0",
|
45 |
+
"use_absolute_position_embeddings": true,
|
46 |
+
"use_auxiliary_head": true,
|
47 |
+
"use_mask_token": true,
|
48 |
+
"use_mean_pooling": true,
|
49 |
+
"use_relative_position_bias": false,
|
50 |
+
"use_shared_relative_position_bias": false,
|
51 |
+
"vocab_size": 8192
|
52 |
+
},
|
53 |
"bos_token_id": 5,
|
54 |
"channel_shrink_ratio": 4,
|
55 |
+
"classifier_dropout": null,
|
56 |
"eos_token_id": 6,
|
57 |
+
"has_visual_segment_embedding": true,
|
58 |
"hidden_act": "gelu",
|
59 |
"hidden_dropout_prob": 0.1,
|
60 |
"hidden_size": 768,
|
61 |
+
"image_feature_pool_shape": [
|
62 |
+
14,
|
63 |
+
14,
|
64 |
+
768
|
65 |
+
],
|
66 |
"initializer_range": 0.02,
|
67 |
"intermediate_size": 3072,
|
68 |
"layer_norm_eps": 1e-05,
|
|
|
73 |
"num_hidden_layers": 12,
|
74 |
"output_past": true,
|
75 |
"pad_token_id": 1,
|
76 |
+
"position_embedding_type": "absolute",
|
77 |
+
"transformers_version": "4.17.0",
|
78 |
"type_vocab_size": 1,
|
79 |
+
"use_cache": true,
|
80 |
"vocab_size": 32005
|
81 |
+
}
|