SPEV / config.json
spragian's picture
Publish standalone SPEV Transformers model
7381480 verified
Raw History Blame Contribute Delete
6.34 kB
{
"adapter_alpha": 64,
"adapter_rank": 32,
"architectures": [
"SPEVModel"
],
"auto_map": {
"AutoConfig": "configuration_spev.SPEVConfig",
"AutoModel": "modeling_spev.SPEVModel"
},
"dtype": "bfloat16",
"head_width": 256,
"max_tokens": 8192,
"model_type": "spev",
"temperature": 1.3234945284875692,
"thinker_config": {
"architectures": [
"Qwen3OmniMoeThinkerForConditionalGeneration"
],
"audio_config": {
"_name_or_path": "",
"activation_dropout": 0,
"activation_function": "gelu",
"add_cross_attention": false,
"architectures": null,
"attention_dropout": 0,
"bos_token_id": null,
"chunk_size_feed_forward": 0,
"conv_chunksize": 500,
"cross_attention_hidden_size": null,
"d_model": 1280,
"decoder_start_token_id": null,
"downsample_hidden_size": 480,
"dropout": 0,
"dtype": "bfloat16",
"encoder_attention_heads": 20,
"encoder_ffn_dim": 5120,
"encoder_layers": 32,
"eos_token_id": null,
"finetuning_task": null,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"initializer_range": 0.02,
"is_decoder": false,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"max_source_positions": 1500,
"model_type": "qwen3_omni_moe_audio_encoder",
"n_window": 50,
"n_window_infer": 800,
"num_mel_bins": 128,
"output_attentions": false,
"output_dim": 2048,
"output_hidden_states": false,
"pad_token_id": null,
"prefix": null,
"problem_type": null,
"pruned_heads": {},
"return_dict": true,
"scale_embedding": false,
"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
},
"audio_end_token_id": 151670,
"audio_start_token_id": 151669,
"audio_token_id": 151675,
"dtype": "bfloat16",
"image_token_id": 151655,
"initializer_range": 0.02,
"model_type": "qwen3_omni_moe_thinker",
"position_id_per_seconds": 13,
"seconds_per_chunk": 2,
"text_config": {
"_name_or_path": "",
"add_cross_attention": false,
"architectures": null,
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": null,
"chunk_size_feed_forward": 0,
"cross_attention_hidden_size": null,
"decoder_sparse_step": 1,
"decoder_start_token_id": null,
"dtype": "bfloat16",
"eos_token_id": null,
"finetuning_task": null,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 2048,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"initializer_range": 0.02,
"intermediate_size": 768,
"is_decoder": false,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"max_position_embeddings": 65536,
"mlp_only_layers": [],
"model_type": "qwen3_omni_moe_text",
"moe_intermediate_size": 768,
"norm_topk_prob": true,
"num_attention_heads": 32,
"num_experts": 128,
"num_experts_per_tok": 8,
"num_hidden_layers": 48,
"num_key_value_heads": 4,
"output_attentions": false,
"output_hidden_states": false,
"output_router_logits": false,
"pad_token_id": null,
"prefix": null,
"problem_type": null,
"pruned_heads": {},
"return_dict": true,
"rms_norm_eps": 1e-06,
"rope_parameters": {
"interleaved": true,
"mrope_interleaved": true,
"mrope_section": [
24,
20,
20
],
"rope_theta": 1000000,
"rope_type": "default",
"type": "default"
},
"router_aux_loss_coef": 0.001,
"sep_token_id": null,
"shared_expert_intermediate_size": 0,
"sliding_window": null,
"task_specific_params": null,
"tf_legacy_loss": false,
"tie_encoder_decoder": false,
"tie_word_embeddings": false,
"tokenizer_class": null,
"torchscript": false,
"use_bfloat16": false,
"use_cache": true,
"use_qk_norm": true,
"use_sliding_window": false,
"vocab_size": 152064
},
"tie_word_embeddings": false,
"user_token_id": 872,
"video_token_id": 151656,
"vision_config": {
"_name_or_path": "",
"add_cross_attention": false,
"apply_vit_abs_pos_embed": true,
"architectures": null,
"bos_token_id": null,
"chunk_size_feed_forward": 0,
"cross_attention_hidden_size": null,
"decoder_start_token_id": null,
"deepstack_visual_indexes": [
8,
16,
24
],
"depth": 27,
"dtype": "bfloat16",
"eos_token_id": null,
"finetuning_task": null,
"hidden_act": "gelu_pytorch_tanh",
"hidden_size": 1152,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"image_size": 768,
"in_channels": 3,
"in_chans": 3,
"initializer_range": 0.02,
"intermediate_size": 4304,
"is_decoder": false,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"model_type": "qwen3_omni_moe_vision_encoder",
"num_heads": 16,
"num_position_embeddings": 2304,
"out_hidden_size": 2048,
"output_attentions": false,
"output_hidden_states": false,
"pad_token_id": null,
"patch_size": 16,
"prefix": null,
"problem_type": null,
"pruned_heads": {},
"return_dict": true,
"sep_token_id": null,
"spatial_merge_size": 2,
"spatial_patch_size": 16,
"task_specific_params": null,
"temporal_patch_size": 2,
"tf_legacy_loss": false,
"tie_encoder_decoder": false,
"tie_word_embeddings": true,
"tokenizer_class": null,
"tokens_per_second": 2,
"torchscript": false,
"use_bfloat16": false
},
"vision_end_token_id": 151653,
"vision_start_token_id": 151652
},
"tie_word_embeddings": false,
"transformers_version": "5.14.1"
}