[Help] Error in generation pipeline #110
-
Hi, Good day. I'm facing error below when trying to generate text with ara-gpt2: And here's the code:
Could you advise on any troubleshooting steps? At this point i'm quite clueless on the error. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
check this notebook with has the code running for all AraGPT2 models https://colab.research.google.com/drive/1T5xKRAtKeuUmmokyThvkK8pulHw02CoK?usp=sharing#scrollTo=hDeZLZxypXGQ I think the issue in the code above is that you are using the |
Beta Was this translation helpful? Give feedback.
check this notebook with has the code running for all AraGPT2 models https://colab.research.google.com/drive/1T5xKRAtKeuUmmokyThvkK8pulHw02CoK?usp=sharing#scrollTo=hDeZLZxypXGQ
I think the issue in the code above is that you are using the
GPT2LMHeadModel
class from our repository with thebase
model, instead of using the one provided by Huggingface