tech-srl / code2seq

Code for the model presented in the paper: "code2seq: Generating Sequences from Structured Representations of Code"
http://code2seq.org
MIT License
548 stars 165 forks source link

code2seq for Python #116

Open alexkarargyris opened 2 years ago

alexkarargyris commented 2 years ago

Is there a pretrained model for Python language?

urialon commented 2 years ago

No, sorry, but contributions are welcome!

On Wed, Feb 23, 2022 at 8:40 AM Alexandros Karargyris < @.***> wrote:

Is there a pretrained model for Python language?

— Reply to this email directly, view it on GitHub https://github.com/tech-srl/code2seq/issues/116, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSOXMDZLRGF3HYVBUH64TDU4TPTBANCNFSM5PEMKDEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

Veeraraghavans commented 2 years ago

@urialon ,

Just a follow up on this question, Pythonextractor generates model/dictionary which still can be used only for test Java code?

urialon commented 2 years ago

Hi @Veeraraghavans ,

The PythonExtractor generates data and dictionaries which can be used to train a model on Python. Then, this model can be used to test only Python code (because it was trained on Python).

I hope it is clear? Also, check out this paper: https://arxiv.org/pdf/2202.13169.pdf and code: https://github.com/VHellendoorn/Code-LMs where we release a larger model that works for many languages.

Best, Uri