UER-py
UER-py copied to clipboard
convert_bert_from_uer_to_huggingface script does not generate config.json file
I use convert_bert_from_uer_to_huggingface to convert pre-trained model bin file to huggingface model bin file. But it does not generate a directory which can be used in transformers. When loading it, it prints errors with config file not found.
So how to generate config file for huggingface model?
The config file cannot be automatically generated. You can modify it based on the config file we uploaded. https://huggingface.co/uer/chinese_roberta_L-12_H-768/blob/main/config.json