Train and generate with Chinese tokenizer
mainTo support Chinese text, use the --chinese flag during both training and generation. This utilizes a pretrained Chinese tokenizer from Huggingface.
# Training
python train_dalle.py --chinese --image_text_folder ./path/to/data
# Generation
python generate.py --chinese --text '追老鼠的猫'