[Question] Can not import BERT model because config lacks Task
field
#29
Labels
question
Further information is requested
Task
field
#29
What is your question?
I need Chinese BERT-like classifier to split Chinese sentence into separate words on the mobile client. Mobile client allows to use custom models, but only in the tensorflow lite format. It is possible to convert pytorch models into tensorflow lite format, but I have to know input shape of the model.
I wrote a simple python script to do this, but faced with several issues I haven't solved yet.
How can I get shape for
SequenceLabelingModel
? SeemsSequenceLabelingModel
is used for this babert modelWhat have you tried?
Model.from_config()
factory method:Code (if necessary)
No response
What's your environment?
Code of Conduct
The text was updated successfully, but these errors were encountered: