Spaces:
Build error
Build error
Update config.json
Browse files- config.json +31 -31
config.json
CHANGED
@@ -1,34 +1,34 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"GitForCausalLM"
|
5 |
-
|
6 |
-
"attention_probs_dropout_prob": 0.1,
|
7 |
-
"bos_token_id": 101,
|
8 |
-
"classifier_dropout": null,
|
9 |
-
"eos_token_id": 102,
|
10 |
-
"hidden_act": "gelu",
|
11 |
-
"hidden_dropout_prob": 0.1,
|
12 |
-
"hidden_size": 768,
|
13 |
-
"initializer_range": 0.02,
|
14 |
-
"intermediate_size": 3072,
|
15 |
-
"layer_norm_eps": 1e-12,
|
16 |
-
"max_position_embeddings": 1024,
|
17 |
-
"model_type": "git",
|
18 |
-
"num_attention_heads": 12,
|
19 |
-
"num_hidden_layers": 6,
|
20 |
-
"num_image_with_embedding": null,
|
21 |
-
"pad_token_id": 0,
|
22 |
-
"position_embedding_type": "absolute",
|
23 |
-
"tie_word_embeddings": false,
|
24 |
-
"torch_dtype": "float32",
|
25 |
-
"transformers_version": "4.44.2",
|
26 |
-
"use_cache": true,
|
27 |
-
"vision_config": {
|
28 |
-
"dropout": 0.0,
|
29 |
-
"initializer_factor": 1.0,
|
30 |
-
"model_type": "git_vision_model",
|
31 |
-
"projection_dim": 512
|
32 |
},
|
33 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
}
|
|
|
1 |
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": {
|
4 |
+
"base_model_class": "GitForCausalLM",
|
5 |
+
"parent_library": "transformers.models.git.modeling_git"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
},
|
7 |
+
"base_model_name_or_path": "microsoft/git-base",
|
8 |
+
"bias": "none",
|
9 |
+
"fan_in_fan_out": false,
|
10 |
+
"inference_mode": true,
|
11 |
+
"init_lora_weights": true,
|
12 |
+
"layer_replication": null,
|
13 |
+
"layers_pattern": null,
|
14 |
+
"layers_to_transform": null,
|
15 |
+
"loftq_config": {},
|
16 |
+
"lora_alpha": 8,
|
17 |
+
"lora_dropout": 0.0,
|
18 |
+
"megatron_config": null,
|
19 |
+
"megatron_core": "megatron.core",
|
20 |
+
"modules_to_save": [
|
21 |
+
"classifier"
|
22 |
+
],
|
23 |
+
"peft_type": "LORA",
|
24 |
+
"r": 8,
|
25 |
+
"rank_pattern": {},
|
26 |
+
"revision": null,
|
27 |
+
"target_modules": [
|
28 |
+
"value",
|
29 |
+
"query"
|
30 |
+
],
|
31 |
+
"task_type": null,
|
32 |
+
"use_dora": false,
|
33 |
+
"use_rslora": false
|
34 |
}
|