import torch from transformers import PegasusForConditionalGeneration, PegasusTokenizer
2022-01-31 11:12:51.303973: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_100.dll Traceback (most recent call last): File "text_paraphraser.py", line 20, in <module> from transformers import PegasusForConditionalGeneration, PegasusTokenizer ImportError: cannot import name 'PegasusForConditionalGeneration' from 'transformers' (E:\Programming\envs\ANNA\lib\site-packages\transformers\__init__.py)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)