Fara-7B-Onnx / cpu /model_config.json
Prince-1's picture
Add files using upload-large-folder tool
07167db verified
{
"type": "onnxmodel",
"config": {
"model_path": "/teamspace/studios/this_studio/olive-recipes/Fara-7b/builtin/cpu_and_mobile/models",
"onnx_file_name": "text.onnx",
"inference_settings": null,
"use_ort_extensions": false,
"external_initializers_file_name": null,
"constant_inputs_file_name": null,
"model_attributes": {
"transformers_version": "5.10.2",
"architectures": [
"Qwen2_5_VLForConditionalGeneration"
],
"output_hidden_states": false,
"return_dict": true,
"dtype": "bfloat16",
"chunk_size_feed_forward": 0,
"is_encoder_decoder": false,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"problem_type": null,
"text_config": {
"architectures": [
"Qwen2_5_VLForConditionalGeneration"
],
"output_hidden_states": false,
"return_dict": true,
"dtype": "bfloat16",
"chunk_size_feed_forward": 0,
"is_encoder_decoder": false,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"problem_type": null,
"vocab_size": 152064,
"hidden_size": 3584,
"intermediate_size": 18944,
"num_hidden_layers": 28,
"num_attention_heads": 28,
"num_key_value_heads": 4,
"hidden_act": "silu",
"max_position_embeddings": 128000,
"initializer_range": 0.02,
"rms_norm_eps": 1e-06,
"use_cache": true,
"use_sliding_window": false,
"sliding_window": null,
"max_window_layers": 28,
"layer_types": [
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention"
],
"attention_dropout": 0.0,
"rope_parameters": {
"mrope_section": [
16,
24,
24
],
"rope_type": "default",
"type": "default",
"rope_theta": 1000000.0
},
"bos_token_id": 151643,
"eos_token_id": 151645,
"pad_token_id": null,
"_name_or_path": "",
"image_token_id": null,
"model_type": "qwen2_5_vl_text",
"video_token_id": null,
"vision_end_token_id": 151653,
"vision_start_token_id": 151652,
"vision_token_id": 151654,
"output_attentions": false
},
"vision_config": {
"architectures": null,
"output_hidden_states": false,
"return_dict": true,
"dtype": null,
"chunk_size_feed_forward": 0,
"is_encoder_decoder": false,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"problem_type": null,
"depth": 32,
"hidden_size": 1280,
"hidden_act": "silu",
"intermediate_size": 3420,
"num_heads": 16,
"in_channels": 3,
"patch_size": 14,
"spatial_merge_size": 2,
"temporal_patch_size": 2,
"tokens_per_second": 2,
"window_size": 112,
"out_hidden_size": 3584,
"fullatt_block_indexes": [
7,
15,
23,
31
],
"initializer_range": 0.02,
"_name_or_path": "",
"in_chans": 3,
"model_type": "qwen2_5_vl_vision",
"spatial_patch_size": 14,
"output_attentions": false
},
"image_token_id": 151655,
"video_token_id": 151656,
"vision_start_token_id": 151652,
"vision_end_token_id": 151653,
"tie_word_embeddings": false,
"_name_or_path": "microsoft/Fara-7B",
"model_type": "qwen2_5_vl",
"vision_token_id": 151654,
"output_attentions": false,
"additional_files": [
"/teamspace/studios/this_studio/olive-recipes/Fara-7b/builtin/cpu_and_mobile/models/chat_template.jinja",
"/teamspace/studios/this_studio/olive-recipes/Fara-7b/builtin/cpu_and_mobile/models/config.json",
"/teamspace/studios/this_studio/olive-recipes/Fara-7b/builtin/cpu_and_mobile/models/genai_config.json",
"/teamspace/studios/this_studio/olive-recipes/Fara-7b/builtin/cpu_and_mobile/models/generation_config.json",
"/teamspace/studios/this_studio/olive-recipes/Fara-7b/builtin/cpu_and_mobile/models/tokenizer.json",
"/teamspace/studios/this_studio/olive-recipes/Fara-7b/builtin/cpu_and_mobile/models/tokenizer_config.json"
]
}
}
}