bdqnghi / infercode

[ICSE 2021] - InferCode: Self-Supervised Learning of Code Representations by Predicting Subtrees
89 stars 24 forks source link

pip infercode无法使用 #6

Closed ju-king closed 3 years ago

ju-king commented 3 years ago

after pip infercode,how to use?

yijunyu commented 3 years ago
pip install infercode

Then you need to run it using the example code:

cd infercode/tests
python test_infer.py
Avv22 commented 2 years ago

@yijunyu. Thank you. Is your infercode internally has pretrained models for Python and Java as I see in your old version you have separate pretrained model on small java dataset please?

yijunyu commented 2 years ago

My understanding, the "universal" model has been trained on several languages, it should work for python / java as well. @bdqnghi.

Avv22 commented 2 years ago

Yes! Thanks. Should we use paramster language=python for python for example? What we tags we should use for languages? The only example provided is for C on main repository.

On Fri, Dec 17, 2021, 2:58 AM Yijun Yu @.***> wrote:

My understanding, the "universal" model has been trained on several languages, it should work for python / java as well. @bdqnghi https://github.com/bdqnghi.

— Reply to this email directly, view it on GitHub https://github.com/bdqnghi/infercode/issues/6#issuecomment-996511725, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK5F26STM2KNJN6KOQRSBIDURLUQVANCNFSM5BBPEF4A . 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 commented.Message ID: @.***>