torchscale/examples/fairseq/generate.py

7 lines
112 B
Python
Raw Normal View History

2022-11-23 16:21:58 +00:00
import models
import tasks
from fairseq_cli.generate import cli_main
if __name__ == "__main__":
cli_main()