Skip to content

Commit

Permalink
Correct model import name in test
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAfonsoValente committed Jan 30, 2024
1 parent 00139d5 commit 90107b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/models/xlm_roberta/test_modeling_xlm_roberta.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def test_for_multiple_choice(self):

@slow
def test_model_from_pretrained(self):
for model_name in XLMROBERTA_PRETRAINED_MODEL_ARCHIVE_LIST[:1]:
for model_name in XLM_ROBERTA_PRETRAINED_MODEL_ARCHIVE_LIST[:1]:
model = XLMRobertaModel.from_pretrained(model_name)
self.assertIsNotNone(model)

Expand Down

0 comments on commit 90107b7

Please sign in to comment.