wasiahmad / PLBART

Official code of our work, Unified Pre-training for Program Understanding and Generation [NAACL 2021].
https://arxiv.org/abs/2103.06333
MIT License
187 stars 34 forks source link

Script for training PLBART #3

Closed tmarrakchi closed 3 years ago

tmarrakchi commented 3 years ago

Hi,

Thanks to the great contribution in code Generation. We would like to discover your PLBART model. Could you share with us the script for training PLBART for code generation?

Thank you so much

wasiahmad commented 3 years ago

Do you want to fine-tune PLBART for code generation? We didn't release the PLBART checkpoint yet. We hope to release it in ~2 weeks with all necessary documentation.

wasiahmad commented 3 years ago

PLBART is released with documentation.

tmarrakchi commented 3 years ago

Very good news! Thanks for your mail.

Cordialement, -- Tarik MARRAKCHI

Le mar. 8 juin 2021 à 17:26, Wasi Ahmad @.***> a écrit :

PLBART is released with documentation.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wasiahmad/PLBART/issues/3#issuecomment-856869237, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYMFOK45AH5DGSULSRB2ALTRYZB5ANCNFSM4Z3D4PQQ .

tmarrakchi commented 3 years ago

Hi Ahmed,

Firstly, I would like to thank you for your release and documentation. I am fine-tuning the text-to-code model and when I run the "scripts / text_to_code / prepare.sh" file I have the following error in the file "scripts/text_to_code/encode.py", line 30" :

AttributeError: module 'sentencepiece' has no attribute 'SentencePieceProcessor'

Any idea please ?

Best regards, -- Tarik MARRAKCHI

Le ven. 11 juin 2021 à 16:57, MARRAKCHI Tarik @.***> a écrit :

Very good news! Thanks for your mail.

Cordialement, -- Tarik MARRAKCHI

Le mar. 8 juin 2021 à 17:26, Wasi Ahmad @.***> a écrit :

PLBART is released with documentation.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wasiahmad/PLBART/issues/3#issuecomment-856869237, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYMFOK45AH5DGSULSRB2ALTRYZB5ANCNFSM4Z3D4PQQ .

tmarrakchi commented 3 years ago

Dear Ahmed,

I have a problem when I run the "/scripts/text_to_code/run.sh" file. here is the error: [image: image.png]

if it's still a problem with the packages. Can you send me your project requirements.txt file please?

Cordialement, -- Tarik MARRAKCHI

Le mer. 16 juin 2021 à 14:46, MARRAKCHI Tarik @.***> a écrit :

Hi Ahmed,

Firstly, I would like to thank you for your release and documentation. I am fine-tuning the text-to-code model and when I run the "scripts / text_to_code / prepare.sh" file I have the following error in the file "scripts/text_to_code/encode.py", line 30" :

AttributeError: module 'sentencepiece' has no attribute 'SentencePieceProcessor'

Any idea please ?

Best regards, -- Tarik MARRAKCHI

Le ven. 11 juin 2021 à 16:57, MARRAKCHI Tarik @.***> a écrit :

Very good news! Thanks for your mail.

Cordialement, -- Tarik MARRAKCHI

Le mar. 8 juin 2021 à 17:26, Wasi Ahmad @.***> a écrit :

PLBART is released with documentation.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wasiahmad/PLBART/issues/3#issuecomment-856869237, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYMFOK45AH5DGSULSRB2ALTRYZB5ANCNFSM4Z3D4PQQ .