m2m模型翻译
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
496 B

# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# --------------------------------------------------------------------------
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), "models", "gpt2"))
import convert_to_onnx
# added for backward compatible
import gpt2_helper
sys.path.append(os.path.join(os.path.dirname(__file__), "models", "t5"))