Upload GitLlamaForCausalLM
Browse files- config.json +40 -0
- generation_config.json +10 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": null,
|
3 |
+
"_name_or_path": "./output/exp160_llama_llava/checkpoint-220/",
|
4 |
+
"architectures": [
|
5 |
+
"GitLlamaForCausalLM"
|
6 |
+
],
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 8192,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 28672,
|
13 |
+
"max_position_embeddings": 4096,
|
14 |
+
"model_type": "git_llama",
|
15 |
+
"num_attention_heads": 64,
|
16 |
+
"num_hidden_layers": 80,
|
17 |
+
"num_image_with_embedding": null,
|
18 |
+
"num_key_value_heads": 8,
|
19 |
+
"pretraining_tp": 1,
|
20 |
+
"rms_norm_eps": 1e-05,
|
21 |
+
"rope_scaling": null,
|
22 |
+
"rope_theta": 10000.0,
|
23 |
+
"tie_word_embeddings": false,
|
24 |
+
"torch_dtype": "float16",
|
25 |
+
"transformers_version": "4.31.0.dev0",
|
26 |
+
"use_cache": true,
|
27 |
+
"vision_config": {
|
28 |
+
"dropout": 0.0,
|
29 |
+
"hidden_size": 1024,
|
30 |
+
"image_size": 336,
|
31 |
+
"intermediate_size": 4096,
|
32 |
+
"model_type": "clip_vision_model",
|
33 |
+
"num_attention_heads": 16,
|
34 |
+
"num_hidden_layers": 24,
|
35 |
+
"patch_size": 14,
|
36 |
+
"projection_dim": 768
|
37 |
+
},
|
38 |
+
"vision_model_name": "openai/clip-vit-large-patch14-336",
|
39 |
+
"vocab_size": 32000
|
40 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 1,
|
3 |
+
"do_sample": true,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"max_length": 4096,
|
6 |
+
"pad_token_id": 0,
|
7 |
+
"temperature": 0.6,
|
8 |
+
"top_p": 0.9,
|
9 |
+
"transformers_version": "4.33.1"
|
10 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:73e5e6a9f07b67093d5495aedd3e82ed5f473e284609f4356e6610dfd858d2b6
|
3 |
+
size 309627
|