Closed AtheerAlgherairy closed 1 year ago
Have you installed spacy==2.1.9
?
Yes.
On Mon, Oct 17, 2022 at 1:42 PM zhuqi @.***> wrote:
Have you installed spacy==2.1.9?
— Reply to this email directly, view it on GitHub https://github.com/thu-coai/ConvLab-2/issues/237#issuecomment-1280656440, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYTZCOJVOJ7IVDFGPMWBDTWDUUQTANCNFSM6AAAAAARGZOMME . You are receiving this because you authored the thread.Message ID: @.***>
I have tried Google Colab with this (spacy==2.1.9 and en_core_web_sm==2.1.0)
I think it is probably a version issue. Could you re-install spacy and install en_core_web_sm?
Yes it was a version issue. Thanks for your prompt response.
I am trying to run ConvLab2 but this line has an error: self.nlp.tokenizer.add_special_case(token, [{ORTH: token, LEMMA: token, POS: u'NOUN'}])
Error message: ValueError: [E1005] Unable to set attribute 'LEMMA' in tokenizer exception for 'cb58nt'. Tokenizer exceptions are only allowed to specify ORTH and NORM.