Exemplo n.º 1
0
def get_pretrainxlnet_model(model_config, run_config):
    model = modeling.PretrainingXLNetModel(model_config,
                                           run_config,
                                           name="model")
    return model
Exemplo n.º 2
0
def get_pretrainxlnet_model(model_config, run_config):
    return modeling.PretrainingXLNetModel(use_proj=True,
                                          xlnet_config=model_config,
                                          run_config=run_config,
                                          name="model")