Instructions to use Tencent-Hunyuan/HunyuanDiT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- HunyuanDiT
How to use Tencent-Hunyuan/HunyuanDiT with HunyuanDiT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download t2i/mt5/config.json from Tencent-Hunyuan/HunyuanDiT: direct link, hf CLI and curl.
- Browser
- Download file 688 Bytes
-
https://huggingface.co/Tencent-Hunyuan/HunyuanDiT/resolve/main/t2i/mt5/config.json
- Command line
-
hf download hf://Tencent-Hunyuan/HunyuanDiT/t2i/mt5/config.json
-
curl -L -o config.json https://huggingface.co/Tencent-Hunyuan/HunyuanDiT/resolve/main/t2i/mt5/config.json
688 Bytes
| { | |
| "_name_or_path": "/home/patrick/t5/mt5-xl", | |
| "architectures": [ | |
| "MT5ForConditionalGeneration" | |
| ], | |
| "d_ff": 5120, | |
| "d_kv": 64, | |
| "d_model": 2048, | |
| "decoder_start_token_id": 0, | |
| "dropout_rate": 0.1, | |
| "eos_token_id": 1, | |
| "feed_forward_proj": "gated-gelu", | |
| "initializer_factor": 1.0, | |
| "is_encoder_decoder": true, | |
| "layer_norm_epsilon": 1e-06, | |
| "model_type": "mt5", | |
| "num_decoder_layers": 24, | |
| "num_heads": 32, | |
| "num_layers": 24, | |
| "output_past": true, | |
| "pad_token_id": 0, | |
| "relative_attention_num_buckets": 32, | |
| "tie_word_embeddings": false, | |
| "tokenizer_class": "T5Tokenizer", | |
| "transformers_version": "4.10.0.dev0", | |
| "use_cache": true, | |
| "vocab_size": 250112 | |
| } | |