Closed Matt52 closed 4 years ago
Right now only simple_cnn
is supported for textcat
, sorry. But you can build your own TextCategorizer
if you have a look at #3320
Thank you, I will check it.
Hi @Matt52, I tried your code and it works just fine for me, both with "architecture": "simple_cnn"
and "architecture": "ensemble"
. Could you try with the latest version of spaCy, 2.1.8
? If the error still occurs, could you paste the entire stack trace?
This issue has been automatically closed because there has been no response to a request for more information from the original author. With only the information that is currently in the issue, there's not enough information to take action. If you're the original author, feel free to reopen the issue if you have or find the answers needed to investigate further.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hi everyone! When training a text classification model, I was trying to alter model architecture. However, once I use anything else than
simple_cnn
, I will get error message:AttributeError: '_finish_linear_update' object has no attribute 'nO'
How to reproduce the behaviour
Everything works when I change
ensemble
tosimple_cnn
. I even tried using blank en model instead ofen_core_web_md
but that is not affecting it. How exactly can be used different architecture thansimple_cnn
?Thank you in advance.
My Environment