Upload folder using huggingface_hub
Browse files- config.json +47 -0
- model.safetensors +3 -0
- preprocessor_config.json +31 -0
config.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"DINOv3ViTModel"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"drop_path_rate": 0.0,
|
| 7 |
+
"hidden_act": "silu",
|
| 8 |
+
"hidden_size": 1280,
|
| 9 |
+
"image_size": 224,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 5120,
|
| 12 |
+
"key_bias": false,
|
| 13 |
+
"layer_norm_eps": 1e-05,
|
| 14 |
+
"layerscale_value": 1.0,
|
| 15 |
+
"mlp_bias": true,
|
| 16 |
+
"model_type": "dinov3_vit",
|
| 17 |
+
"num_attention_heads": 20,
|
| 18 |
+
"num_channels": 3,
|
| 19 |
+
"num_hidden_layers": 32,
|
| 20 |
+
"num_register_tokens": 4,
|
| 21 |
+
"patch_size": 16,
|
| 22 |
+
"pos_embed_jitter": null,
|
| 23 |
+
"pos_embed_rescale": 2.0,
|
| 24 |
+
"pos_embed_shift": null,
|
| 25 |
+
"proj_bias": true,
|
| 26 |
+
"quantization_config": {
|
| 27 |
+
"_load_in_4bit": false,
|
| 28 |
+
"_load_in_8bit": true,
|
| 29 |
+
"bnb_4bit_compute_dtype": "float32",
|
| 30 |
+
"bnb_4bit_quant_storage": "uint8",
|
| 31 |
+
"bnb_4bit_quant_type": "fp4",
|
| 32 |
+
"bnb_4bit_use_double_quant": false,
|
| 33 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
| 34 |
+
"llm_int8_has_fp16_weight": false,
|
| 35 |
+
"llm_int8_skip_modules": null,
|
| 36 |
+
"llm_int8_threshold": 6.0,
|
| 37 |
+
"load_in_4bit": false,
|
| 38 |
+
"load_in_8bit": true,
|
| 39 |
+
"quant_method": "bitsandbytes"
|
| 40 |
+
},
|
| 41 |
+
"query_bias": true,
|
| 42 |
+
"rope_theta": 100.0,
|
| 43 |
+
"torch_dtype": "float16",
|
| 44 |
+
"transformers_version": "4.56.0.dev0",
|
| 45 |
+
"use_gated_mlp": true,
|
| 46 |
+
"value_bias": true
|
| 47 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:717cda2277ce1bb3e4f8463a5c8f9e88908eaea3872d3360a4aae74e6e96f961
|
| 3 |
+
size 844558168
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": null,
|
| 3 |
+
"data_format": "channels_first",
|
| 4 |
+
"default_to_square": true,
|
| 5 |
+
"device": null,
|
| 6 |
+
"disable_grouping": null,
|
| 7 |
+
"do_center_crop": null,
|
| 8 |
+
"do_convert_rgb": null,
|
| 9 |
+
"do_normalize": true,
|
| 10 |
+
"do_rescale": true,
|
| 11 |
+
"do_resize": true,
|
| 12 |
+
"image_mean": [
|
| 13 |
+
0.485,
|
| 14 |
+
0.456,
|
| 15 |
+
0.406
|
| 16 |
+
],
|
| 17 |
+
"image_processor_type": "DINOv3ViTImageProcessorFast",
|
| 18 |
+
"image_std": [
|
| 19 |
+
0.229,
|
| 20 |
+
0.224,
|
| 21 |
+
0.225
|
| 22 |
+
],
|
| 23 |
+
"input_data_format": null,
|
| 24 |
+
"resample": 2,
|
| 25 |
+
"rescale_factor": 0.00392156862745098,
|
| 26 |
+
"return_tensors": null,
|
| 27 |
+
"size": {
|
| 28 |
+
"height": 224,
|
| 29 |
+
"width": 224
|
| 30 |
+
}
|
| 31 |
+
}
|