tomaarsen's picture
tomaarsen HF Staff
Add new MultiVectorEncoder model
ffd2587 verified
Raw
History Blame Contribute Delete
4.75 kB
{
"architectures": [
"ColQwen2ForRetrieval"
],
"dtype": "bfloat16",
"embedding_dim": 128,
"eos_token_id": 151645,
"initializer_range": 0.02,
"is_composition": false,
"model_type": "colqwen2",
"pad_token_id": 151643,
"transformers_version": "5.14.1",
"use_cache": false,
"vlm_config": {
"_name_or_path": "Qwen/Qwen2-VL-2B-Instruct",
"dtype": "bfloat16",
"image_token_id": 151655,
"model_type": "qwen2_vl",
"text_config": {
"_name_or_path": "vidore/colqwen2-base",
"add_cross_attention": false,
"architectures": [
"ColQwen2"
],
"attention_dropout": 0.0,
"bos_token_id": 151643,
"chunk_size_feed_forward": 0,
"cross_attention_hidden_size": null,
"decoder_start_token_id": null,
"dtype": "bfloat16",
"eos_token_id": 151645,
"finetuning_task": null,
"hidden_act": "silu",
"hidden_size": 1536,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"image_token_id": null,
"initializer_range": 0.02,
"intermediate_size": 8960,
"is_decoder": false,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"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"
],
"max_position_embeddings": 32768,
"max_window_layers": 28,
"model_type": "qwen2_vl_text",
"num_attention_heads": 12,
"num_hidden_layers": 28,
"num_key_value_heads": 2,
"output_attentions": false,
"output_hidden_states": false,
"pad_token_id": null,
"prefix": null,
"problem_type": null,
"pruned_heads": {},
"return_dict": true,
"rms_norm_eps": 1e-06,
"rope_parameters": {
"mrope_section": [
16,
24,
24
],
"rope_theta": 1000000.0,
"rope_type": "default",
"type": "default"
},
"sep_token_id": null,
"sliding_window": null,
"task_specific_params": null,
"tf_legacy_loss": false,
"tie_encoder_decoder": false,
"tie_word_embeddings": true,
"tokenizer_class": null,
"torchscript": false,
"use_bfloat16": false,
"use_cache": true,
"use_sliding_window": false,
"video_token_id": null,
"vision_end_token_id": 151653,
"vision_start_token_id": 151652,
"vision_token_id": 151654,
"vocab_size": 151936
},
"tie_word_embeddings": false,
"video_token_id": 151656,
"vision_config": {
"_name_or_path": "",
"add_cross_attention": false,
"architectures": null,
"bos_token_id": null,
"chunk_size_feed_forward": 0,
"cross_attention_hidden_size": null,
"decoder_start_token_id": null,
"depth": 32,
"dtype": "bfloat16",
"embed_dim": 1280,
"eos_token_id": null,
"finetuning_task": null,
"hidden_act": "quick_gelu",
"hidden_size": 1536,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"in_channels": 3,
"in_chans": 3,
"initializer_range": 0.02,
"is_decoder": false,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"mlp_ratio": 4,
"model_type": "qwen2_vl_vision",
"num_heads": 16,
"output_attentions": false,
"output_hidden_states": false,
"pad_token_id": null,
"patch_size": 14,
"prefix": null,
"problem_type": null,
"pruned_heads": {},
"return_dict": true,
"sep_token_id": null,
"spatial_merge_size": 2,
"spatial_patch_size": 14,
"task_specific_params": null,
"temporal_patch_size": 2,
"tf_legacy_loss": false,
"tie_encoder_decoder": false,
"tie_word_embeddings": true,
"tokenizer_class": null,
"torchscript": false,
"use_bfloat16": false
},
"vision_end_token_id": 151653,
"vision_start_token_id": 151652,
"vision_token_id": 151654,
"vocab_size": 151936
}
}