t5-v1_1-xxl-torch / README.md
ariG23498's picture
ariG23498 HF staff
Update README.md
d75724f verified
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")```