Esempio n. 1
0
def start_server():
    from bert_base.server import BertServer
    from bert_base.server.helper import get_run_args

    args = get_run_args()
    server = BertServer(args)
    server.start()
    server.join()
Esempio n. 2
0
def start_server():
    from bert_base.server import BertServer
    from bert_base.server.helper import get_run_args

    args = get_run_args()
    print(args)
    import ipdb
    #ipdb.set_trace()
    server = BertServer(args)
    server.start()
    server.join()