Upload folder using huggingface_hub
Browse files- latest/chat_template.jinja +6 -0
- latest/config.json +80 -0
- latest/generation_config.json +8 -0
- latest/model.safetensors +3 -0
- latest/tokenizer.json +3 -0
- latest/tokenizer_config.json +16 -0
- latest/trainer_state.pt +3 -0
latest/chat_template.jinja
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system
|
| 2 |
+
You are a helpful assistant.<|im_end|>
|
| 3 |
+
' }}{% endif %}{{'<|im_start|>' + message['role'] + '
|
| 4 |
+
' + message['content'] + '<|im_end|>' + '
|
| 5 |
+
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
| 6 |
+
' }}{% endif %}
|
latest/config.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_attn_implementation_autoset": true,
|
| 3 |
+
"architectures": [
|
| 4 |
+
"mobileoUnderstandingForTraining"
|
| 5 |
+
],
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 151643,
|
| 8 |
+
"diffusion_name_or_path": "Efficient-Large-Model/Sana_600M_512px_diffusers",
|
| 9 |
+
"dtype": "bfloat16",
|
| 10 |
+
"eos_token_id": 151645,
|
| 11 |
+
"freeze_mm_mlp_adapter": false,
|
| 12 |
+
"gen_pooling": "early_pool2d_4",
|
| 13 |
+
"hidden_act": "silu",
|
| 14 |
+
"hidden_size": 896,
|
| 15 |
+
"image_aspect_ratio": "pad",
|
| 16 |
+
"image_grid_pinpoints": null,
|
| 17 |
+
"initializer_range": 0.02,
|
| 18 |
+
"intermediate_size": 4864,
|
| 19 |
+
"is_train": false,
|
| 20 |
+
"layer_types": [
|
| 21 |
+
"full_attention",
|
| 22 |
+
"full_attention",
|
| 23 |
+
"full_attention",
|
| 24 |
+
"full_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"full_attention",
|
| 27 |
+
"full_attention",
|
| 28 |
+
"full_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"full_attention",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"full_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"full_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"full_attention",
|
| 41 |
+
"full_attention",
|
| 42 |
+
"full_attention",
|
| 43 |
+
"full_attention",
|
| 44 |
+
"full_attention"
|
| 45 |
+
],
|
| 46 |
+
"max_position_embeddings": 32768,
|
| 47 |
+
"max_window_layers": 24,
|
| 48 |
+
"mm_hidden_size": 3072,
|
| 49 |
+
"mm_patch_merge_type": "flat",
|
| 50 |
+
"mm_projector_lr": null,
|
| 51 |
+
"mm_projector_type": "mlp2x_gelu",
|
| 52 |
+
"mm_use_im_patch_token": false,
|
| 53 |
+
"mm_use_im_start_end": false,
|
| 54 |
+
"mm_vision_select_feature": "patch",
|
| 55 |
+
"mm_vision_select_layer": -2,
|
| 56 |
+
"mm_vision_tower": "mobileclip_l_1024",
|
| 57 |
+
"model_type": "mobileo_inference",
|
| 58 |
+
"num_attention_heads": 14,
|
| 59 |
+
"num_hidden_layers": 24,
|
| 60 |
+
"num_key_value_heads": 2,
|
| 61 |
+
"pad_token_id": 151643,
|
| 62 |
+
"rms_norm_eps": 1e-06,
|
| 63 |
+
"rope_parameters": {
|
| 64 |
+
"rope_theta": 1000000.0,
|
| 65 |
+
"rope_type": "default"
|
| 66 |
+
},
|
| 67 |
+
"sliding_window": null,
|
| 68 |
+
"tie_word_embeddings": false,
|
| 69 |
+
"tokenizer_model_max_length": 512,
|
| 70 |
+
"tokenizer_padding_side": "right",
|
| 71 |
+
"transformers_version": "5.12.1",
|
| 72 |
+
"tune_mm_mlp_adapter": false,
|
| 73 |
+
"unfreeze_mm_vision_tower": true,
|
| 74 |
+
"use_cache": true,
|
| 75 |
+
"use_mm_proj": true,
|
| 76 |
+
"use_sliding_window": false,
|
| 77 |
+
"vision_tower_pretrained": null,
|
| 78 |
+
"vlm_num_layers": 4,
|
| 79 |
+
"vocab_size": 151649
|
| 80 |
+
}
|
latest/generation_config.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 151643,
|
| 4 |
+
"eos_token_id": 151645,
|
| 5 |
+
"pad_token_id": 151643,
|
| 6 |
+
"transformers_version": "5.12.1",
|
| 7 |
+
"use_cache": true
|
| 8 |
+
}
|
latest/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a10e8aea2bc5056f260c3f317afab13f5ec0a00e188edcca592305002ea06058
|
| 3 |
+
size 3329762632
|
latest/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fdd99b646b9315f486441715cc3dc39f4d3175b45b1bcc05c9aa6642b92b690a
|
| 3 |
+
size 11413649
|
latest/tokenizer_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"is_local": true,
|
| 9 |
+
"local_files_only": false,
|
| 10 |
+
"model_max_length": 512,
|
| 11 |
+
"pad_token": "<|endoftext|>",
|
| 12 |
+
"padding_side": "right",
|
| 13 |
+
"split_special_tokens": false,
|
| 14 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 15 |
+
"unk_token": null
|
| 16 |
+
}
|
latest/trainer_state.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae57c6be6a540eefd3d5171e592be45e4d4d3e4ea67653906087f78c5c8368ab
|
| 3 |
+
size 3024376212
|