Spaces:
Running
Running
Download fairseq/train.py from koajoel/PolyFormer: direct link, hf CLI and curl.
- Browser
- Download file 366 Bytes
-
https://huggingface.co/spaces/koajoel/PolyFormer/resolve/main/fairseq/train.py
- Command line
-
hf download hf://spaces/koajoel/PolyFormer/fairseq/train.py
-
curl -L -o train.py https://huggingface.co/spaces/koajoel/PolyFormer/resolve/main/fairseq/train.py
366 Bytes
| #!/usr/bin/env python3 -u | |
| # Copyright (c) Facebook, Inc. and its affiliates. | |
| # | |
| # This source code is licensed under the MIT license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| """ | |
| Legacy entry point. Use fairseq_cli/train.py or fairseq-train instead. | |
| """ | |
| from fairseq_cli.train import cli_main | |
| if __name__ == "__main__": | |
| cli_main() | |