File size: 1,471 Bytes
d564ab2
0f2d77c
d564ab2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71fc32b
 
12c689d
 
d564ab2
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
  "_name_or_path": "StanfordAIMI/CheXagent-8b",
  "architectures": [
    "CheXagentForConditionalGeneration"
  ],
  "initializer_factor": 1.0,
  "initializer_range": 0.02,
  "model_type": "chexagent",
  "num_max_images": 2,
  "num_query_tokens": 128,
  "qformer_config": {
    "model_type": "chexagent_qformer",
    "vocab_size": 30523
  },
  "text_config": {
    "_name_or_path": "mistralai/Mistral-7B-v0.1",
    "architectures": [
      "MistralForCausalLM"
    ],
    "attention_bias": false,
    "bos_token_id": 1,
    "hidden_act": "silu",
    "hidden_size": 4096,
    "initializer_range": 0.02,
    "intermediate_size": 14336,
    "max_position_embeddings": 32768,
    "model_type": "mistral",
    "num_attention_heads": 32,
    "num_hidden_layers": 32,
    "num_key_value_heads": 8,
    "pad_token_id": null,
    "pretraining_tp": 1,
    "rms_norm_eps": 1e-05,
    "rope_scaling": null,
    "rope_theta": 10000.0,
    "sliding_window": 4096,
    "tie_word_embeddings": false,
    "torch_dtype": "bfloat16",
    "vocab_size": 32000
  },
  "tie_word_embeddings": false,
  "torch_dtype": "float32",
  "transformers_version": "4.35.2",
  "use_decoder_only_language_model": true,
  "vision_config": {
    "image_size": 448,
    "model_type": "chexagent_vision_model",
    "num_hidden_layers": 40
  },
  "auto_map": {
    "AutoModelForCausalLM": "modeling_chexagent.CheXagentForConditionalGeneration",
    "AutoConfig": "configuration_chexagent.CheXagentConfig"
  }
}