Download lecture_6/examples/fmlm.py from ChatterjeeLab/CIS6270: direct link, hf CLI and curl.
- Browser
- Download file 273 Bytes
-
https://huggingface.co/ChatterjeeLab/CIS6270/resolve/main/lecture_6/examples/fmlm.py
- Command line
-
hf download hf://ChatterjeeLab/CIS6270/lecture_6/examples/fmlm.py
-
curl -L -o fmlm.py https://huggingface.co/ChatterjeeLab/CIS6270/resolve/main/lecture_6/examples/fmlm.py
273 Bytes
| #!/usr/bin/env python3 | |
| """Run the complete fmlm training and sampling 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', 'fmlm', *sys.argv[1:]]) | |