| 1 | from transformers import T5Model, T5ForConditionalGeneration, T5Tokenizer |
| 2 | device = 'cuda:1' |
| 3 | tokenizer = T5Tokenizer.from_pretrained("t5-large") |
| 4 | model = T5ForConditionalGeneration.from_pretrained("/dataset/fd5061f6/yanan/huggingface_models/t5-xl-lm-adapt") |
nothing calls this directly
no test coverage detected