Upload folder using huggingface_hub
Browse files- config.json +20 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "checkpoints/siglip2-so400m-patch16-naflex",
|
3 |
+
"architectures": [
|
4 |
+
"NamoSiglip2VisionModel"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"hidden_act": "gelu_pytorch_tanh",
|
8 |
+
"hidden_size": 1152,
|
9 |
+
"intermediate_size": 4304,
|
10 |
+
"layer_norm_eps": 1e-06,
|
11 |
+
"model_type": "siglip2_vision_model",
|
12 |
+
"num_attention_heads": 16,
|
13 |
+
"num_channels": 3,
|
14 |
+
"num_hidden_layers": 27,
|
15 |
+
"num_patches": 256,
|
16 |
+
"num_visual_tokens": 578,
|
17 |
+
"patch_size": 16,
|
18 |
+
"torch_dtype": "bfloat16",
|
19 |
+
"transformers_version": "4.50.0.dev0"
|
20 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9c181b51f01466724cad441a480d80092302b29ce9da3884bf2ea7b814bd90a
|
3 |
+
size 857543244
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_convert_rgb": null,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.5,
|
8 |
+
0.5,
|
9 |
+
0.5
|
10 |
+
],
|
11 |
+
"image_processor_type": "Siglip2ImageProcessorFast",
|
12 |
+
"image_std": [
|
13 |
+
0.5,
|
14 |
+
0.5,
|
15 |
+
0.5
|
16 |
+
],
|
17 |
+
"max_num_patches": 256,
|
18 |
+
"patch_size": 16,
|
19 |
+
"processor_class": "Siglip2Processor",
|
20 |
+
"resample": 2,
|
21 |
+
"rescale_factor": 0.00392156862745098
|
22 |
+
}
|