| { |
| "architectures": [ |
| "Qwen2_5OmniForConditionalGeneration" |
| ], |
| "dtype": "float32", |
| "enable_audio_output": true, |
| "model_type": "qwen2_5_omni", |
| "talker_config": { |
| "attention_dropout": 0.0, |
| "audio_end_token_id": 23, |
| "audio_start_token_id": 22, |
| "audio_token_index": 10, |
| "embedding_size": 32, |
| "head_dim": 8, |
| "hidden_act": "silu", |
| "hidden_size": 32, |
| "image_token_index": 11, |
| "initializer_range": 0.02, |
| "intermediate_size": 37, |
| "layer_types": [ |
| "full_attention", |
| "full_attention" |
| ], |
| "max_position_embeddings": 32768, |
| "max_window_layers": 28, |
| "model_type": "qwen2_5_omni_talker", |
| "num_attention_heads": 4, |
| "num_hidden_layers": 2, |
| "num_key_value_heads": 4, |
| "position_id_per_seconds": 25, |
| "rms_norm_eps": 1e-06, |
| "rope_scaling": { |
| "mrope_section": [ |
| 1, |
| 1, |
| 2 |
| ], |
| "rope_type": "default", |
| "type": "default" |
| }, |
| "rope_theta": 1000000.0, |
| "seconds_per_chunk": 2, |
| "sliding_window": null, |
| "spatial_merge_size": 2, |
| "tts_codec_end_token_id": 17, |
| "tts_codec_mask_token_id": 19, |
| "tts_codec_pad_token_id": 18, |
| "tts_codec_start_token_id": 16, |
| "tts_text_end_token_id": 14, |
| "tts_text_pad_token_id": 50, |
| "tts_text_start_token_id": 13, |
| "use_cache": true, |
| "use_sliding_window": false, |
| "video_token_index": 12, |
| "vision_end_token_id": 21, |
| "vision_start_token_id": 20, |
| "vocab_size": 99 |
| }, |
| "thinker_config": { |
| "audio_config": { |
| "_name_or_path": "", |
| "activation_dropout": 0, |
| "activation_function": "gelu", |
| "add_cross_attention": false, |
| "architectures": null, |
| "attention_dropout": 0, |
| "bad_words_ids": null, |
| "begin_suppress_tokens": null, |
| "bos_token_id": null, |
| "chunk_size_feed_forward": 0, |
| "cross_attention_hidden_size": null, |
| "d_model": 32, |
| "decoder_start_token_id": null, |
| "diversity_penalty": 0.0, |
| "do_sample": false, |
| "dropout": 0, |
| "dtype": null, |
| "early_stopping": false, |
| "encoder_attention_heads": 4, |
| "encoder_ffn_dim": 32, |
| "encoder_layers": 2, |
| "encoder_no_repeat_ngram_size": 0, |
| "eos_token_id": null, |
| "exponential_decay_length_penalty": null, |
| "finetuning_task": null, |
| "forced_bos_token_id": null, |
| "forced_eos_token_id": 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 |
| }, |
| "length_penalty": 1.0, |
| "max_length": 20, |
| "max_source_positions": 1500, |
| "min_length": 0, |
| "model_type": "qwen2_5_omni_audio_encoder", |
| "n_window": 100, |
| "no_repeat_ngram_size": 0, |
| "num_beam_groups": 1, |
| "num_beams": 1, |
| "num_hidden_layers": 2, |
| "num_mel_bins": 20, |
| "num_return_sequences": 1, |
| "output_attentions": false, |
| "output_dim": 32, |
| "output_hidden_states": false, |
| "output_scores": false, |
| "pad_token_id": null, |
| "prefix": null, |
| "problem_type": null, |
| "pruned_heads": {}, |
| "remove_invalid_values": false, |
| "repetition_penalty": 1.0, |
| "return_dict": true, |
| "return_dict_in_generate": false, |
| "scale_embedding": false, |
| "sep_token_id": null, |
| "suppress_tokens": null, |
| "task_specific_params": null, |
| "temperature": 1.0, |
| "tf_legacy_loss": false, |
| "tie_encoder_decoder": false, |
| "tie_word_embeddings": true, |
| "tokenizer_class": null, |
| "top_k": 50, |
| "top_p": 1.0, |
| "torchscript": false, |
| "typical_p": 1.0, |
| "use_bfloat16": false |
| }, |
| "audio_end_token_id": 151648, |
| "audio_start_token_id": 151647, |
| "audio_token_index": 151646, |
| "image_token_index": 151655, |
| "initializer_range": 0.02, |
| "model_type": "qwen2_5_omni_thinker", |
| "position_id_per_seconds": 25, |
| "seconds_per_chunk": 2, |
| "text_config": { |
| "_name_or_path": "", |
| "add_cross_attention": false, |
| "architectures": null, |
| "attention_dropout": 0.0, |
| "bad_words_ids": null, |
| "begin_suppress_tokens": null, |
| "bos_token_id": null, |
| "chunk_size_feed_forward": 0, |
| "cross_attention_hidden_size": null, |
| "decoder_start_token_id": null, |
| "diversity_penalty": 0.0, |
| "do_sample": false, |
| "dtype": null, |
| "early_stopping": false, |
| "encoder_no_repeat_ngram_size": 0, |
| "eos_token_id": null, |
| "exponential_decay_length_penalty": null, |
| "finetuning_task": null, |
| "forced_bos_token_id": null, |
| "forced_eos_token_id": null, |
| "hidden_act": "silu", |
| "hidden_size": 32, |
| "id2label": { |
| "0": "LABEL_0", |
| "1": "LABEL_1" |
| }, |
| "initializer_range": 0.02, |
| "intermediate_size": 37, |
| "is_decoder": false, |
| "is_encoder_decoder": false, |
| "label2id": { |
| "LABEL_0": 0, |
| "LABEL_1": 1 |
| }, |
| "layer_types": [ |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention" |
| ], |
| "length_penalty": 1.0, |
| "max_length": 20, |
| "max_position_embeddings": 1024, |
| "max_window_layers": 3, |
| "min_length": 0, |
| "model_type": "qwen2_5_omni_text", |
| "no_repeat_ngram_size": 0, |
| "num_attention_heads": 4, |
| "num_beam_groups": 1, |
| "num_beams": 1, |
| "num_hidden_layers": 4, |
| "num_key_value_heads": 2, |
| "num_return_sequences": 1, |
| "output_attentions": false, |
| "output_hidden_states": false, |
| "output_scores": false, |
| "pad_token_id": 0, |
| "prefix": null, |
| "problem_type": null, |
| "pruned_heads": {}, |
| "remove_invalid_values": false, |
| "repetition_penalty": 1.0, |
| "return_dict": true, |
| "return_dict_in_generate": false, |
| "rms_norm_eps": 1e-06, |
| "rope_scaling": { |
| "mrope_section": [ |
| 1, |
| 1, |
| 2 |
| ], |
| "rope_type": "default", |
| "type": "default" |
| }, |
| "rope_theta": 1000000.0, |
| "sep_token_id": null, |
| "sliding_window": null, |
| "suppress_tokens": null, |
| "task_specific_params": null, |
| "temperature": 1.0, |
| "tf_legacy_loss": false, |
| "tie_encoder_decoder": false, |
| "tie_word_embeddings": false, |
| "tokenizer_class": null, |
| "top_k": 50, |
| "top_p": 1.0, |
| "torchscript": false, |
| "typical_p": 1.0, |
| "use_bfloat16": false, |
| "use_cache": true, |
| "use_sliding_window": false, |
| "vocab_size": 152064 |
| }, |
| "user_token_id": 872, |
| "video_token_index": 151656, |
| "vision_config": { |
| "_name_or_path": "", |
| "add_cross_attention": false, |
| "architectures": null, |
| "bad_words_ids": null, |
| "begin_suppress_tokens": null, |
| "bos_token_id": null, |
| "chunk_size_feed_forward": 0, |
| "cross_attention_hidden_size": null, |
| "decoder_start_token_id": null, |
| "depth": 2, |
| "diversity_penalty": 0.0, |
| "do_sample": false, |
| "dtype": null, |
| "early_stopping": false, |
| "embed_dim": 32, |
| "encoder_no_repeat_ngram_size": 0, |
| "eos_token_id": null, |
| "exponential_decay_length_penalty": null, |
| "finetuning_task": null, |
| "forced_bos_token_id": null, |
| "forced_eos_token_id": null, |
| "fullatt_block_indexes": [ |
| 0 |
| ], |
| "hidden_act": "quick_gelu", |
| "hidden_size": 32, |
| "id2label": { |
| "0": "LABEL_0", |
| "1": "LABEL_1" |
| }, |
| "in_channels": 3, |
| "initializer_range": 0.02, |
| "intermediate_size": 24, |
| "is_decoder": false, |
| "is_encoder_decoder": false, |
| "label2id": { |
| "LABEL_0": 0, |
| "LABEL_1": 1 |
| }, |
| "length_penalty": 1.0, |
| "max_length": 20, |
| "min_length": 0, |
| "mlp_ratio": 4, |
| "model_type": "qwen2_5_omni_vision_encoder", |
| "no_repeat_ngram_size": 0, |
| "num_beam_groups": 1, |
| "num_beams": 1, |
| "num_heads": 4, |
| "num_return_sequences": 1, |
| "out_hidden_size": 32, |
| "output_attentions": false, |
| "output_hidden_states": false, |
| "output_scores": false, |
| "pad_token_id": null, |
| "patch_size": 14, |
| "prefix": null, |
| "problem_type": null, |
| "pruned_heads": {}, |
| "remove_invalid_values": false, |
| "repetition_penalty": 1.0, |
| "return_dict": true, |
| "return_dict_in_generate": false, |
| "sep_token_id": null, |
| "spatial_merge_size": 2, |
| "suppress_tokens": null, |
| "task_specific_params": null, |
| "temperature": 1.0, |
| "temporal_patch_size": 2, |
| "tf_legacy_loss": false, |
| "tie_encoder_decoder": false, |
| "tie_word_embeddings": true, |
| "tokenizer_class": null, |
| "top_k": 50, |
| "top_p": 1.0, |
| "torchscript": false, |
| "typical_p": 1.0, |
| "use_bfloat16": false, |
| "window_size": 112 |
| }, |
| "vision_end_token_id": 151653, |
| "vision_start_token_id": 151652 |
| }, |
| "token2wav_config": { |
| "bigvgan_config": { |
| "_name_or_path": "", |
| "add_cross_attention": false, |
| "architectures": null, |
| "bad_words_ids": null, |
| "begin_suppress_tokens": null, |
| "bos_token_id": null, |
| "chunk_size_feed_forward": 0, |
| "cross_attention_hidden_size": null, |
| "decoder_start_token_id": null, |
| "diversity_penalty": 0.0, |
| "do_sample": false, |
| "dtype": null, |
| "early_stopping": false, |
| "encoder_no_repeat_ngram_size": 0, |
| "eos_token_id": null, |
| "exponential_decay_length_penalty": null, |
| "finetuning_task": null, |
| "forced_bos_token_id": null, |
| "forced_eos_token_id": null, |
| "id2label": { |
| "0": "LABEL_0", |
| "1": "LABEL_1" |
| }, |
| "is_decoder": false, |
| "is_encoder_decoder": false, |
| "label2id": { |
| "LABEL_0": 0, |
| "LABEL_1": 1 |
| }, |
| "length_penalty": 1.0, |
| "max_length": 20, |
| "mel_dim": 80, |
| "min_length": 0, |
| "model_type": "qwen2_5_omni_bigvgan", |
| "no_repeat_ngram_size": 0, |
| "num_beam_groups": 1, |
| "num_beams": 1, |
| "num_return_sequences": 1, |
| "output_attentions": false, |
| "output_hidden_states": false, |
| "output_scores": false, |
| "pad_token_id": null, |
| "prefix": null, |
| "problem_type": null, |
| "pruned_heads": {}, |
| "remove_invalid_values": false, |
| "repetition_penalty": 1.0, |
| "resblock_dilation_sizes": [ |
| [ |
| 1, |
| 3, |
| 5 |
| ], |
| [ |
| 1, |
| 3, |
| 5 |
| ] |
| ], |
| "resblock_kernel_sizes": [ |
| 3, |
| 7 |
| ], |
| "return_dict": true, |
| "return_dict_in_generate": false, |
| "sep_token_id": null, |
| "suppress_tokens": null, |
| "task_specific_params": null, |
| "temperature": 1.0, |
| "tf_legacy_loss": false, |
| "tie_encoder_decoder": false, |
| "tie_word_embeddings": true, |
| "tokenizer_class": null, |
| "top_k": 50, |
| "top_p": 1.0, |
| "torchscript": false, |
| "typical_p": 1.0, |
| "upsample_initial_channel": 8, |
| "upsample_kernel_sizes": [ |
| 4, |
| 4 |
| ], |
| "upsample_rates": [ |
| 2, |
| 2 |
| ], |
| "use_bfloat16": false |
| }, |
| "dit_config": { |
| "_name_or_path": "", |
| "add_cross_attention": false, |
| "architectures": null, |
| "bad_words_ids": null, |
| "begin_suppress_tokens": null, |
| "block_size": 24, |
| "bos_token_id": null, |
| "chunk_size_feed_forward": 0, |
| "cross_attention_hidden_size": null, |
| "decoder_start_token_id": null, |
| "diversity_penalty": 0.0, |
| "do_sample": false, |
| "dropout": 0.1, |
| "dtype": null, |
| "early_stopping": false, |
| "emb_dim": 32, |
| "enc_attention_channels": 8, |
| "enc_channels": [ |
| 8, |
| 8, |
| 8 |
| ], |
| "enc_dilations": [ |
| 1, |
| 1, |
| 1 |
| ], |
| "enc_dim": 64, |
| "enc_emb_dim": 192, |
| "enc_kernel_sizes": [ |
| 3, |
| 3, |
| 1 |
| ], |
| "enc_res2net_scale": 2, |
| "enc_se_channels": 8, |
| "encoder_no_repeat_ngram_size": 0, |
| "eos_token_id": null, |
| "exponential_decay_length_penalty": null, |
| "ff_mult": 1, |
| "finetuning_task": null, |
| "forced_bos_token_id": null, |
| "forced_eos_token_id": null, |
| "head_dim": 8, |
| "hidden_size": 32, |
| "id2label": { |
| "0": "LABEL_0", |
| "1": "LABEL_1" |
| }, |
| "is_decoder": false, |
| "is_encoder_decoder": false, |
| "label2id": { |
| "LABEL_0": 0, |
| "LABEL_1": 1 |
| }, |
| "length_penalty": 1.0, |
| "look_ahead_layers": [ |
| 1 |
| ], |
| "look_backward_layers": [ |
| 0 |
| ], |
| "max_length": 20, |
| "max_position_embeddings": 32768, |
| "mel_dim": 80, |
| "min_length": 0, |
| "model_type": "qwen2_5_omni_dit", |
| "no_repeat_ngram_size": 0, |
| "num_attention_heads": 4, |
| "num_beam_groups": 1, |
| "num_beams": 1, |
| "num_embeds": 99, |
| "num_hidden_layers": 23, |
| "num_return_sequences": 1, |
| "output_attentions": false, |
| "output_hidden_states": false, |
| "output_scores": false, |
| "pad_token_id": null, |
| "prefix": null, |
| "problem_type": null, |
| "pruned_heads": {}, |
| "remove_invalid_values": false, |
| "repeats": 1, |
| "repetition_penalty": 1.0, |
| "return_dict": true, |
| "return_dict_in_generate": false, |
| "rope_theta": 10000.0, |
| "sep_token_id": null, |
| "suppress_tokens": null, |
| "task_specific_params": null, |
| "temperature": 1.0, |
| "tf_legacy_loss": false, |
| "tie_encoder_decoder": false, |
| "tie_word_embeddings": true, |
| "tokenizer_class": null, |
| "top_k": 50, |
| "top_p": 1.0, |
| "torchscript": false, |
| "typical_p": 1.0, |
| "use_bfloat16": false |
| }, |
| "model_type": "qwen2_5_omni_token2wav" |
| }, |
| "transformers_version": "4.57.0.dev0" |
| } |
|
|