We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4eee694 commit 34116dbCopy full SHA for 34116db
tests/test_text_cross_encoder.py
@@ -40,7 +40,11 @@ def test_rerank():
40
41
@pytest.mark.parametrize(
42
"model_name",
43
- [model_name for model_name in CANONICAL_SCORE_VALUES.keys()],
+ [
44
+ model_desc["model"]
45
+ for model_desc in TextCrossEncoder.list_supported_models()
46
+ if model_desc["size_in_GB"] < 1 and model_desc["model"] in CANONICAL_SCORE_VALUES.keys()
47
+ ],
48
)
49
def test_batch_rerank(model_name):
50
is_ci = os.getenv("CI")
0 commit comments