Mayank1309
commited on
Commit
·
55fb8dc
1
Parent(s):
8cc6e34
Training in progress
Browse files- config.json +46 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Salesforce/instructblip-vicuna-7b",
|
3 |
+
"architectures": [
|
4 |
+
"InstructBlipForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"initializer_factor": 1.0,
|
7 |
+
"initializer_range": 0.02,
|
8 |
+
"model_type": "instructblip",
|
9 |
+
"num_query_tokens": 32,
|
10 |
+
"qformer_config": {
|
11 |
+
"model_type": "instructblip_qformer",
|
12 |
+
"vocab_size": 30523
|
13 |
+
},
|
14 |
+
"text_config": {
|
15 |
+
"architectures": [
|
16 |
+
"LLaMAForCausalLM"
|
17 |
+
],
|
18 |
+
"attention_bias": false,
|
19 |
+
"bos_token_id": 0,
|
20 |
+
"eos_token_id": 1,
|
21 |
+
"hidden_act": "silu",
|
22 |
+
"hidden_size": 4096,
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 11008,
|
25 |
+
"max_sequence_length": 2048,
|
26 |
+
"model_type": "llama",
|
27 |
+
"num_attention_heads": 32,
|
28 |
+
"num_hidden_layers": 32,
|
29 |
+
"num_key_value_heads": 32,
|
30 |
+
"pad_token_id": -1,
|
31 |
+
"pretraining_tp": 1,
|
32 |
+
"rms_norm_eps": 1e-06,
|
33 |
+
"rope_scaling": null,
|
34 |
+
"rope_theta": 10000.0,
|
35 |
+
"tie_word_embeddings": false,
|
36 |
+
"torch_dtype": "float16",
|
37 |
+
"vocab_size": 32001
|
38 |
+
},
|
39 |
+
"tie_word_embeddings": false,
|
40 |
+
"torch_dtype": "float16",
|
41 |
+
"transformers_version": "4.36.0.dev0",
|
42 |
+
"use_decoder_only_language_model": true,
|
43 |
+
"vision_config": {
|
44 |
+
"model_type": "instructblip_vision_model"
|
45 |
+
}
|
46 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": -1,
|
6 |
+
"transformers_version": "4.36.0.dev0"
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:482dfc08b53b5a8938bea773381feb85e9ef522724e1416fa2bfbe6029de7448
|
3 |
+
size 104
|