FLUX utilities
Collection
4 items • Updated • 1
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
checkpoint = "google/t5-v1_1-xxl"
model = T5EncoderModel.from_pretrained(
checkpoint, torch_dtype=torch.bfloat16
)
tokenizer = T5Tokenizer.from_pretrained(
checkpoint
)
model.push_to_hub("ariG23498/t5-v1_1-xxl-torch")
tokenizer.push_to_hub("ariG23498/t5-v1_1-xxl-torch")```