"docs/source/en/run_scripts.md" did not exist on "8d1f9039d01f79bfef763dd349d9904c13550c9d"
Unverified Commit 0b2f46fa authored by Lysandre Debut's avatar Lysandre Debut Committed by GitHub
Browse files

Add large model config (#9140)

parent 2a7e8e16
......@@ -610,6 +610,9 @@ class T5EncoderOnlyModelTester:
self.scope = None
self.is_training = is_training
def get_large_model_config(self):
return T5Config.from_pretrained("t5-base")
def prepare_config_and_inputs(self):
input_ids = ids_tensor([self.batch_size, self.encoder_seq_length], self.vocab_size)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment