Skip to content

Commit

Permalink
Use small ELECTRA model for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldk committed Apr 8, 2024
1 parent c180a12 commit 2900ee4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions curated_transformers/tests/models/electra/test_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
@pytest.mark.parametrize("with_torch_sdp", [False, True])
@pytest.mark.parametrize(
"model_name",
[
"jonfd/electra-small-nordic",
"Maltehb/aelaectra-danish-electra-small-cased",
"google/electra-small-discriminator",
],
["explosion-testing/electra-test"],
)
def test_encoder(model_name: str, torch_device, with_torch_sdp):
assert_encoder_output_equals_hf(
Expand Down

0 comments on commit 2900ee4

Please sign in to comment.