Jingya HF Staff commited on
Commit
c74507b
·
verified ·
1 Parent(s): a581929

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +61 -0
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "/tmp/tmptlh0zdli",
4
+ "architectures": [
5
+ "CLIPModel"
6
+ ],
7
+ "initializer_factor": 1.0,
8
+ "logit_scale_init_value": 2.6592,
9
+ "model_type": "clip",
10
+ "neuron": {
11
+ "auto_cast": "matmul",
12
+ "auto_cast_type": "bf16",
13
+ "compiler_type": "neuronx-cc",
14
+ "compiler_version": "2.16.372.0+4a9b2326",
15
+ "disable_fallback": false,
16
+ "disable_fast_relayout": false,
17
+ "dynamic_batch_size": false,
18
+ "inline_weights_to_neff": true,
19
+ "input_names": [
20
+ "input_ids",
21
+ "pixel_values",
22
+ "attention_mask"
23
+ ],
24
+ "model_type": "clip",
25
+ "optlevel": "2",
26
+ "output_attentions": false,
27
+ "output_hidden_states": false,
28
+ "output_names": [
29
+ "logits_per_image",
30
+ "logits_per_text",
31
+ "text_embeds",
32
+ "image_embeds",
33
+ "text_model_output",
34
+ "vision_model_output"
35
+ ],
36
+ "static_height": 224,
37
+ "static_image_batch_size": 1,
38
+ "static_num_channels": 3,
39
+ "static_sequence_length": 77,
40
+ "static_text_batch_size": 2,
41
+ "static_width": 224,
42
+ "tensor_parallel_size": 1
43
+ },
44
+ "projection_dim": 512,
45
+ "task": "feature-extraction",
46
+ "text_config": {
47
+ "bos_token_id": 0,
48
+ "dropout": 0.0,
49
+ "eos_token_id": 2,
50
+ "model_type": "clip_text_model",
51
+ "torch_dtype": "float32"
52
+ },
53
+ "torch_dtype": "float32",
54
+ "torchscript": true,
55
+ "transformers_version": "4.49.0",
56
+ "vision_config": {
57
+ "dropout": 0.0,
58
+ "model_type": "clip_vision_model",
59
+ "torch_dtype": "float32"
60
+ }
61
+ }