deepset-ai / FARM

:house_with_garden: Fast & easy transfer learning for NLP. Harvesting language models for the industry. Focus on Question Answering.
https://farm.deepset.ai
Apache License 2.0
1.74k stars 247 forks source link

Error reporting using other pre training models #849

Closed kakanixiya closed 2 years ago

kakanixiya commented 3 years ago

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.

kakanixiya commented 3 years ago

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

stale[bot] commented 2 years ago

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.