clip
Jingya HF Staff commited on
Commit
a9ce085
·
verified ·
1 Parent(s): b1c030b

Upload config.json with huggingface_hub

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