Error with config class
#1
by
alex-albu
- opened
I tried using the model with the code shown in the model card, but when I run it i get this error message:
ValueError: The model class you are passing has a config_class
attribute that is not consistent with the config class you passed
(model has <class 'transformers_modules.ltg.norbert3-base.fe70aec6f8581f0c373302ec0bb4608d5d435900.configuration_norbert.NorbertConfig'>
and you passed <class 'transformers_modules.ltg.norbert3-base_sentence-sentiment.e6dd33908d219f7552556f6ff97bd6b490318467.configuration_norbert.NorbertConfig'>. Fix one of those so they match!
An idea how to fix this?
Thank you! I have now cleaned up the config.json, and it works OK for me now. Make sure you are getting the newest version if you try again.
egilron
changed discussion status to
closed