deepset-ai / FARM

:house_with_garden: Fast & easy transfer learning for NLP. Harvesting language models for the industry. Focus on Question Answering.

Home Page:https://farm.deepset.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error reporting using other pre training models

kakanixiya opened this issue · comments

Hello!
I will make some mistakes after modifying the training model

For example, xlnet model: AttributeError: 'XLNetModel' object has no attribute 'output_hidden_states'

And tinybert model: ValueError: Unrecognized model in huawei-noah/TinyBERT_4L_zh. Should have a model_type key in its config.json, or contain one ...

I didn't find out how to solve it by consulting the data. Please know how to solve it. Friends can help me. Thank you.

The xlnet model is loading 'question'_ Answering ',' embeddings', 'ner' can be used, but in 'text_ The error "attributeerror: 'xlnetforsequenceclassification' object has no attribute 'classifier' will appear in the classification 'task

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 21 days if no further activity occurs.