glyce icon indicating copy to clipboard operation
glyce copied to clipboard

What's the bert_model in glyph_config

Open vikotse opened this issue 5 years ago • 3 comments

I am confused that what should I write in "bert_model" item. When I use vocab.txt of bert pretraining model, error occurs. When I use the path of bert pretraining model, error occurs too.

glyce/configs/glyce_bert.json

"glyph_config":{
         "hidden_dropout_prob": 0.5,
          "max_position_embeddings": 512,
          "bert_model": "/home/ubuntu/nieping/train_logs/models/bq",

vikotse avatar Sep 08 '19 11:09 vikotse

thank you for following our work! i suppose your problem is due to the improper settings of the config file, for which we will add more detailed instructions for this soon. if you have any other problem, feel free to inform us!

littlesulley avatar Sep 15 '19 02:09 littlesulley

thank you for following our work! i suppose your problem is due to the improper settings of the config file, for which we will add more detailed instructions for this soon. if you have any other problem, feel free to inform us!

It seems like no newer progress?

vikotse avatar Oct 09 '19 03:10 vikotse

Could you please add more details to the error? "bert_model" is the path to the folder that contains four files: [bert_config.json], [vocab.txt], [config.json], [pytorch_model.bin]. Or you can get the latest code by "git pull" and try again.

ghost avatar Feb 09 '20 14:02 ghost