Vamsi995 / Paraphrase-Generator

A paraphrase generator built using the T5 model which produces paraphrased English sentences.
MIT License
310 stars 66 forks source link

Major Bug while importing Huggingface locally model in VS code #46

Open ZwChiew opened 1 year ago

ZwChiew commented 1 year ago

Was trying to implement a simple paraphrasing tool but unable to import / download the library Vamsi/T5_Paraphrase_Paws due to this error: Symbol Zeros is already exposed as (). Was working fine on google colab / anaconda but not on vs code All required libraries and dependencies installed

Boiler code: from transformers import AutoModelForSeq2SeqLM

model = AutoModelForSeq2SeqLM.from_pretrained( "Vamsi/T5_Paraphrase_Paws").to('cuda')

Vamsi995 commented 1 year ago

Hey @ZwChiew can you paste a screenshot of the error, and which statement is causing it?