code2seq icon indicating copy to clipboard operation
code2seq copied to clipboard

code2seq for Python

Open alexkarargyris opened this issue 3 years ago • 3 comments
trafficstars

Is there a pretrained model for Python language?

alexkarargyris avatar Feb 23 '22 13:02 alexkarargyris

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: @.***>

urialon avatar Feb 23 '22 14:02 urialon

@urialon ,

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

Veeraraghavans avatar May 05 '22 14:05 Veeraraghavans

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

urialon avatar May 05 '22 15:05 urialon