alexrs's picture
Add files using upload-large-folder tool
e949b16 verified
{
"adapter_layer_norm_eps": 1e-06,
"alignment_activation_fn": "swiglu",
"alignment_intermediate_size": 12288,
"architectures": [
"Cohere2VisionForConditionalGeneration"
],
"downsample_factor": 2,
"dtype": "bfloat16",
"enable_adapter_layer_norm": false,
"image_token": 255031,
"image_token_id": 255031,
"max_splits_per_img": 12,
"model_type": "cohere2_vision",
"text_config": {
"_sliding_window_pattern": 4,
"add_cross_attention": false,
"architectures": [
"Cohere2MoeForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 2,
"cross_attention_hidden_size": null,
"decoder_start_token_id": null,
"dtype": "bfloat16",
"eos_token_id": 255001,
"expert_selection_fn": "sigmoid",
"finetuning_task": null,
"first_k_dense_replace": 0,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 4096,
"initializer_range": 0.02,
"intermediate_size": 4096,
"is_decoder": false,
"layer_norm_eps": 1e-05,
"layer_switch": 4,
"layer_types": [
"sliding_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"sliding_attention",
"full_attention"
],
"logit_scale": 1.0,
"max_position_embeddings": 5000000,
"model_type": "cohere2_moe",
"norm_topk_prob": true,
"num_attention_heads": 128,
"num_experts": 128,
"num_experts_per_tok": 8,
"num_hidden_layers": 32,
"num_key_value_heads": 8,
"num_shared_experts": 4,
"order_of_interleaved_layers": "local_attn_first",
"pad_token_id": 0,
"position_embedding_type": "rope_gptj",
"prefix": null,
"prefix_dense_intermediate_size": 16384,
"prefix_dense_sliding_window_pattern": 1,
"pruned_heads": {},
"rms_norm_eps": null,
"rope_parameters": {
"rope_theta": 50000,
"rope_type": "default"
},
"rope_theta": 50000,
"rotary_pct": 1.0,
"sep_token_id": null,
"shared_expert_combination_strategy": "average",
"sliding_window": 4096,
"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_embedding_sharing": true,
"use_gated_activation": true,
"use_parallel_block": true,
"use_parallel_embedding": false,
"use_qk_norm": false,
"vocab_size": 262144
},
"tie_word_embeddings": true,
"transformers_version": "5.8.0.dev0",
"vision_config": {
"add_cross_attention": false,
"attention_dropout": 0.0,
"bos_token_id": null,
"cross_attention_hidden_size": null,
"decoder_start_token_id": null,
"dtype": "bfloat16",
"eos_token_id": null,
"finetuning_task": null,
"hidden_act": "gelu_pytorch_tanh",
"hidden_size": 1152,
"image_size": 512,
"intermediate_size": 4304,
"is_decoder": false,
"layer_norm_eps": 1e-06,
"model_type": "siglip_vision_model",
"num_attention_heads": 16,
"num_channels": 3,
"num_hidden_layers": 27,
"pad_token_id": null,
"patch_size": 16,
"prefix": null,
"pruned_heads": {},
"sep_token_id": 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,
"vision_use_head": false
},
"vision_feature_layer": -1,
"vision_feature_select_strategy": "full"
}