torchscale/examples/fairseq/generate.py

12 lines
236 B
Python
Raw Permalink Normal View History

2022-11-23 16:36:55 +00:00
# Copyright (c) 2022 Microsoft
# Licensed under The MIT License [see LICENSE for details]
2022-11-26 16:10:15 +00:00
# flake8: noqa
2022-11-23 16:21:58 +00:00
import models
import tasks
2023-03-08 05:11:05 +00:00
import criterions
2022-11-23 16:21:58 +00:00
from fairseq_cli.generate import cli_main
if __name__ == "__main__":
2022-11-26 16:10:15 +00:00
cli_main()