I am trying to use the rasa paraphrasing experimental feature but I got this error.
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-4-155149dc867d> in <module>()
----> 1 from model import ParaphraseModel
2 model_path = 'package_models/lm_finetune_8/checkpoint-56000/'
3
4 complete_td = TrainingData()
5 model = ParaphraseModel(model_path)
1 frames
/content/model.py in <genexpr>(.0)
15 MAX_LENGTH = int(10000) # Hardcoded max length to avoid infinite loop
16
---> 17 ALL_MODELS = sum((tuple(conf.pretrained_config_archive_map.keys()) for conf in (GPT2Config, OpenAIGPTConfig)), ())
18
19 MODEL_CLASSES = {
AttributeError: type object 'GPT2Config' has no attribute 'pretrained_config_archive_map'