Download lecture_4/examples/classifier_exact.py from ChatterjeeLab/CIS6270: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/ChatterjeeLab/CIS6270/resolve/main/lecture_4/examples/classifier_exact.py
- Command line
-
hf download hf://ChatterjeeLab/CIS6270/lecture_4/examples/classifier_exact.py
-
curl -L -o classifier_exact.py https://huggingface.co/ChatterjeeLab/CIS6270/resolve/main/lecture_4/examples/classifier_exact.py
305 Bytes
| """Complete classifier-exact training and generation example.""" | |
| import sys | |
| from pathlib import Path | |
| sys.path.insert(0, str(Path(__file__).resolve().parents[1])) | |
| from run import main | |
| if __name__ == '__main__': | |
| main(['--method', 'classifier-exact', '--out', 'outputs/classifier-exact'] + sys.argv[1:]) | |