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
885 stars 53 forks source link

Issue in Loading text classification mdoel #67

Closed pooya-mohammadi closed 1 year ago

pooya-mohammadi commented 1 year ago

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

arxyzan commented 1 year 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 1 year 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 1 year ago

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

arxyzan commented 1 year 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