Closed rmarcacini closed 5 years ago
The 'infer_example.py' does not work for bert models because different preparation of input data (tokenization) is required. Here, I wrote a prediction example for bert models and tested for bert_spc.
resolve #55
@all-contributors please add @rmarcacini for code
@songyouwei
I've put up a pull request to add @rmarcacini! :tada:
The 'infer_example.py' does not work for bert models because different preparation of input data (tokenization) is required. Here, I wrote a prediction example for bert models and tested for bert_spc.