-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c004af
commit 6d3ba6d
Showing
2 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from seb.cli import run_benchmark_cli | ||
|
||
|
||
def test_run_some_models(): | ||
"""Runs all sorts of models on a small task to see if they can run without breaking. | ||
Cache is ignored so that the models are actually run. | ||
""" | ||
models = [ | ||
"sentence-transformers/all-MiniLM-L6-v2", | ||
"intfloat/e5-small", | ||
"translate-e5-small", | ||
"fasttext-cc-da-300", | ||
] | ||
tasks = ["LCC"] | ||
run_benchmark_cli(models=models, tasks=tasks, ignore_cache=True) |