Skip to content

[Help] Error in generation pipeline #110

Answered by WissamAntoun
kwcckw asked this question in Q&A
Discussion options

You must be logged in to vote

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 the base model, instead of using the one provided by Huggingface

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kwcckw
Comment options

@WissamAntoun
Comment options

@kwcckw
Comment options

@kwcckw
Comment options

Answer selected by kwcckw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants