Skip to content

[Help] Getting embeddings of ara-gpt2 #112

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

You must be logged in to vote

check the following notebook https://colab.research.google.com/drive/17B3bY38CW5VeWkfJsLOaxq6pzHtHKc5W?usp=sharing for how to extract embeddings from GPT2 models. Also please be careful from where are you import the GPT2Model class (use the huggingface library for aragpt2-base and medium, and from arabert.grover... for large and mega)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@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