Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ZwChiew opened this issue Aug 27, 2023 · 1 comment
Open

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

ZwChiew opened this issue Aug 27, 2023 · 1 comment

Comments

@ZwChiew
Copy link

ZwChiew commented Aug 27, 2023

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants