Instructions to use tencent/HunyuanImage-3.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tencent/HunyuanImage-3.0 with Transformers:
# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("tencent/HunyuanImage-3.0", trust_remote_code=True, device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token": "<|startoftext|>", | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "<|endoftext|>", | |
| "model_max_length": 1048576, | |
| "pad_token": "<pad>", | |
| "tokenizer_class": "PreTrainedTokenizerFast" | |
| } |