Update tiny models for Aimv2VisionModel
Browse files- config.json +25 -0
- model.safetensors +3 -0
- preprocessor_config.json +28 -0
- tokenizer.json +0 -0
- tokenizer_config.json +15 -0
config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Aimv2VisionModel"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.1,
|
| 6 |
+
"dropout": 0.1,
|
| 7 |
+
"dtype": "float32",
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 32,
|
| 10 |
+
"image_size": 30,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 37,
|
| 13 |
+
"is_native": false,
|
| 14 |
+
"mlp_bias": false,
|
| 15 |
+
"model_type": "aimv2_vision_model",
|
| 16 |
+
"num_attention_heads": 4,
|
| 17 |
+
"num_channels": 3,
|
| 18 |
+
"num_hidden_layers": 2,
|
| 19 |
+
"patch_size": 2,
|
| 20 |
+
"projection_dim": 32,
|
| 21 |
+
"qkv_bias": false,
|
| 22 |
+
"rms_norm_eps": 1e-05,
|
| 23 |
+
"transformers_version": "5.16.0.dev0",
|
| 24 |
+
"use_head": true
|
| 25 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a72be2f36c408ef6fd8a9737d6804d27c081dc379b7a4e1a159eeeb910c1867
|
| 3 |
+
size 107672
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"longest_edge": 30,
|
| 4 |
+
"shortest_edge": 30
|
| 5 |
+
},
|
| 6 |
+
"do_center_crop": true,
|
| 7 |
+
"do_convert_rgb": true,
|
| 8 |
+
"do_normalize": true,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"image_mean": [
|
| 12 |
+
0.48145466,
|
| 13 |
+
0.4578275,
|
| 14 |
+
0.40821073
|
| 15 |
+
],
|
| 16 |
+
"image_processor_type": "CLIPImageProcessor",
|
| 17 |
+
"image_std": [
|
| 18 |
+
0.26862954,
|
| 19 |
+
0.26130258,
|
| 20 |
+
0.27577711
|
| 21 |
+
],
|
| 22 |
+
"resample": 3,
|
| 23 |
+
"rescale_factor": 0.00392156862745098,
|
| 24 |
+
"size": {
|
| 25 |
+
"longest_edge": 30,
|
| 26 |
+
"shortest_edge": 30
|
| 27 |
+
}
|
| 28 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<start_of_text>",
|
| 4 |
+
"clean_up_tokenization_spaces": false,
|
| 5 |
+
"eos_token": "<end_of_text>",
|
| 6 |
+
"errors": "replace",
|
| 7 |
+
"is_local": true,
|
| 8 |
+
"local_files_only": false,
|
| 9 |
+
"model_max_length": 77,
|
| 10 |
+
"pad_token": "<end_of_text>",
|
| 11 |
+
"processor_class": "CLIPProcessor",
|
| 12 |
+
"tokenizer_class": "CLIPTokenizer",
|
| 13 |
+
"unk_token": "<end_of_text>",
|
| 14 |
+
"use_fast": true
|
| 15 |
+
}
|