Skip to content

Commit

Permalink
[ci, flax] non-existing models are unlikely to pass tests (#10409)
Browse files Browse the repository at this point in the history
馃槀
  • Loading branch information
julien-c committed Feb 26, 2021
1 parent 17b6e0d commit 83d2d55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_flax_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_bert_from_pretrained(self):

@slow
def test_roberta_from_pretrained(self):
for model_name in ["roberta-base-cased", "roberta-large-uncased"]:
for model_name in ["roberta-base", "roberta-large"]:
with self.subTest(model_name):
config = AutoConfig.from_pretrained(model_name)
self.assertIsNotNone(config)
Expand All @@ -66,7 +66,7 @@ def eval(**kwargs):

@slow
def test_roberta_jax_jit(self):
for model_name in ["roberta-base-cased", "roberta-large-uncased"]:
for model_name in ["roberta-base", "roberta-large"]:
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = FlaxRobertaModel.from_pretrained(model_name)
tokens = tokenizer("Do you support jax jitted function?", return_tensors=TensorType.JAX)
Expand Down

0 comments on commit 83d2d55

Please sign in to comment.