Closed kakanixiya closed 2 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
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.
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.