File size: 148 Bytes
fdc4101
 
 
 
 
 
1
2
3
4
5
6
7
from transformers import T5Config

model_dir = "./"  # ${MODEL_DIR}

config = T5Config.from_pretrained("t5-base")
config.save_pretrained(model_dir)