Text-to-Speech
Transformers
Safetensors
audiodit
feature-extraction
audio
tts
environmental-tts
flow-matching
dit
custom_code
Instructions to use humanify/LongCat-AudioDiT-Env-TTS-1B-5000Step with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use humanify/LongCat-AudioDiT-Env-TTS-1B-5000Step with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="humanify/LongCat-AudioDiT-Env-TTS-1B-5000Step", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("humanify/LongCat-AudioDiT-Env-TTS-1B-5000Step", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 2,199 Bytes
720ba81 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | {
"architectures": [
"AudioDiTModel"
],
"dit_adaln_type": "global",
"dit_adaln_use_text_cond": true,
"dit_bias": true,
"dit_cross_attn": true,
"dit_cross_attn_norm": false,
"dit_depth": 24,
"dit_dim": 1536,
"dit_dropout": 0.0,
"dit_eps": 1e-06,
"dit_ff_mult": 4,
"dit_heads": 24,
"dit_long_skip": true,
"dit_qk_norm": true,
"dit_text_conv": true,
"dit_text_dim": 768,
"dit_use_latent_condition": true,
"dtype": "float32",
"latent_dim": 64,
"latent_hop": 2048,
"max_wav_duration": 30,
"model_type": "audiodit",
"repa_dit_layer": 8,
"sampling_rate": 24000,
"sigma": 0.0,
"text_add_embed": true,
"text_encoder_config": {
"_name_or_path": "ArthurZ/umt5-base",
"architectures": [
"UMT5ForConditionalGeneration"
],
"classifier_dropout": 0.0,
"d_ff": 2048,
"d_kv": 64,
"d_model": 768,
"dense_act_fn": "gelu_new",
"dropout_rate": 0.1,
"dtype": "float32",
"feed_forward_proj": "gated-gelu",
"initializer_factor": 1.0,
"is_gated_act": true,
"layer_norm_epsilon": 1e-06,
"model_type": "umt5",
"num_decoder_layers": 12,
"num_heads": 12,
"num_layers": 12,
"output_past": true,
"relative_attention_max_distance": 128,
"relative_attention_num_buckets": 32,
"scalable_attention": true,
"use_cache": true,
"vocab_size": 256384
},
"text_encoder_model": "google/umt5-base",
"text_norm_feat": true,
"transformers_version": "4.57.0",
"vae_config": {
"c_mults": [
1,
2,
4,
8,
16
],
"channels": 128,
"downsample_shortcut": "averaging",
"downsampling_ratio": 2048,
"dtype": "float32",
"encoder_latent_dim": 128,
"final_tanh": false,
"in_channels": 1,
"in_shortcut": "duplicating",
"latent_dim": 64,
"model_type": "audiodit_vae",
"out_shortcut": "averaging",
"sample_rate": 24000,
"scale": 0.71,
"strides": [
2,
4,
4,
8,
8
],
"upsample_shortcut": "duplicating",
"use_snake": true
},
"auto_map": {
"AutoConfig": "configuration_audiodit.AudioDiTConfig",
"AutoModel": "modeling_audiodit.AudioDiTModel"
}
} |