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
186 stars 34 forks source link

Code Summarization using Hugging Face Checkpoints #54

Closed ztw33 closed 2 months ago

ztw33 commented 6 months ago

I'm attempting to use the checkpoints released on the Hugging Face for code summarization. However, when I utilize the Inference API provided by Hugging Face to generate summaries, the generated summaries are either meaningless or result in "No text was generated".

py java1 java2

Is there something wrong with my input? Really appreciate your help!

wasiahmad commented 2 months ago

Can you post this in HF? I am not sure what is causing this issue.