hezarai / hezar

The all-in-one AI library for Persian, supporting a wide variety of tasks and modalities!
https://hezarai.github.io/hezar/
Apache License 2.0
820 stars 45 forks source link

Issue in Loading text classification mdoel #67

Closed pooya-mohammadi closed 11 months ago

pooya-mohammadi commented 11 months ago

Screenshot from 2023-08-05 14-04-54

arxyzan commented 11 months ago

@pooya-mohammadi The name normalizer was changed to text_normalizer so that it wouldn't conflict with image or audio normalizers. I'll check if the latest changes are included in the latest release.

arxyzan commented 11 months ago

I pushed a new release (https://github.com/hezarai/hezar/releases/tag/0.20.1) and it should work fine now. @pooya-mohammadi

pooya-mohammadi commented 11 months ago

Screenshot from 2023-08-05 15-11-27 @arxyzan jan, the issue is not fixed!

arxyzan commented 11 months ago

Okay I got it. The problem was that the normalizer config on the hub was registered by the name normalizer. I changed it manually and it should work now. @pooya-mohammadi