Upload config.json with huggingface_hub
Browse files- config.json +54 -0
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
+
"_name_or_path": "/tmp/tmp7nwl42_l",
|
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 |
+
"pixel_values"
|
21 |
+
],
|
22 |
+
"model_type": "clip",
|
23 |
+
"optlevel": "2",
|
24 |
+
"output_attentions": false,
|
25 |
+
"output_hidden_states": false,
|
26 |
+
"output_names": [
|
27 |
+
"logits"
|
28 |
+
],
|
29 |
+
"static_height": 224,
|
30 |
+
"static_image_batch_size": 1,
|
31 |
+
"static_num_channels": 3,
|
32 |
+
"static_sequence_length": 77,
|
33 |
+
"static_text_batch_size": 2,
|
34 |
+
"static_width": 224,
|
35 |
+
"tensor_parallel_size": 1
|
36 |
+
},
|
37 |
+
"projection_dim": 512,
|
38 |
+
"task": "image-classification",
|
39 |
+
"text_config": {
|
40 |
+
"bos_token_id": 0,
|
41 |
+
"dropout": 0.0,
|
42 |
+
"eos_token_id": 2,
|
43 |
+
"model_type": "clip_text_model",
|
44 |
+
"torch_dtype": "float32"
|
45 |
+
},
|
46 |
+
"torch_dtype": "float32",
|
47 |
+
"torchscript": true,
|
48 |
+
"transformers_version": "4.49.0",
|
49 |
+
"vision_config": {
|
50 |
+
"dropout": 0.0,
|
51 |
+
"model_type": "clip_vision_model",
|
52 |
+
"torch_dtype": "float32"
|
53 |
+
}
|
54 |
+
}
|