You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there,
I have trained a trans model. When I want to run bert_nlu_basic_api.py file, it does not work. Then, I realized that the Trans model classes are not imported in the file. I have imported the JointTransBertModel class and loaded the model with JointTransBertModel.load(load_folder_path) in bert_nlu_basic_api.py At the end, I have got following error:
Hi @redrussianarmy
Since Trans models is a new feature, it is not supported in bert_nlu_basic_api.py till now.
I added a new feature request #20 to add support for joint trans models in the basic api script.
Please, note that bert_nlu_basic_api.py is just a maple basic api that wraps the model. In the production you may need to do more than the basic api.
I'll close the issue and please watch the dedicated feature request #20 for the status.
Hello there,
I have trained a trans model. When I want to run bert_nlu_basic_api.py file, it does not work. Then, I realized that the Trans model classes are not imported in the file. I have imported the
JointTransBertModel
class and loaded the model withJointTransBertModel.load(load_folder_path)
in bert_nlu_basic_api.py At the end, I have got following error:Traceback (most recent call last):
The text was updated successfully, but these errors were encountered: