Spaces:
Sleeping
Sleeping
Download tests/test_train.py from vorddd/GSLC-MLOps: direct link, hf CLI and curl.
- Browser
- Download file 117 Bytes
-
https://huggingface.co/spaces/vorddd/GSLC-MLOps/resolve/main/tests/test_train.py
- Command line
-
hf download hf://spaces/vorddd/GSLC-MLOps/tests/test_train.py
-
curl -L -o test_train.py https://huggingface.co/spaces/vorddd/GSLC-MLOps/resolve/main/tests/test_train.py
117 Bytes
| from src.train import train | |
| def test_smoke_train_runs_fast(): | |
| r = train(smoke=True) | |
| assert 0.5 <= r <= 1.0 | |