Spaces:
Runtime error
Runtime error
Download tests/test_classifier.py from NativeVex/large-language-models: direct link, hf CLI and curl.
- Browser
- Download file 211 Bytes
-
https://huggingface.co/spaces/NativeVex/large-language-models/resolve/main/tests/test_classifier.py
- Command line
-
hf download hf://spaces/NativeVex/large-language-models/tests/test_classifier.py
-
curl -L -o test_classifier.py https://huggingface.co/spaces/NativeVex/large-language-models/resolve/main/tests/test_classifier.py
211 Bytes
| from language_models_project.main import classify | |
| def testclassifier(): | |
| """ Tests that the classifier classifies as expected """ | |
| test_cases = ["This restaurant is awesome", "This restaurant is awful"] | |