scimeatlas

Research map / Large language models / Language, safety and interpretability

Code Needs Comments: Enhancing Code LLMs with Comment Augmentation

Demin Song, Honglin Guo, Yunhua Zhou, Shuhao Xing, Yudong Wang, Zifan Song, Wenwei Zhang, Qipeng Guo, Hang Yan, Xipeng Qiu, Dahua Lin

ACL 2024Large language models › Language, safety and interpretabilityapproach: Multilingual LLM data and cultureopen problems in this approach26 citations (OpenAlex)

Shanghai AI Laboratory · Fudan University · The Chinese University of Hong Kong

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
8improved
1no clear effect
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add generated comments (CP/Remove vs SP/Absent data, density 38.23% vs 0) (ablation)Llama2-7b further training · HumanEvalpass@1: 16.46 -> 23.17Improved
add generated comments (CP/Restore vs SP/Absent) (ablation)Llama2-7b further training · MBPPpass@1: 19.00 -> 29.20Improved
remove filtered samples instead of restoring original code (SP vs SP/Remove) (ablation)CodeLlama-7b further training · HumanEvalpass@1: 32.32 -> 33.54Improved
add comments with filtering removal (CP/Remove vs CP/Restore) (ablation)CodeLlama-7b further training · HumanEvalpass@1: 32.32 -> 39.02Improved
add comments (CP/Remove vs SP)CodeLlama-7b further training · MBPPpass@1: 45.00 -> 43.00No clear effect
add comments (CP/Remove vs SP)InternLM2-7b-base further training · HumanEvalpass@1: 35.98 -> 40.20Improved
add comments (CP/Remove vs SP)InternLM2-7b further training · HumanEvalpass@1: 42.70 -> 49.39Improved
add comments (CP/Remove vs SP)InternLM2-7b further training · MBPPpass@1: 42.60 -> 47.80Improved
add comment-augmented further training before instruction tuning (CP/Remove vs none)CodeLlama-7b instruction tuning · MBPPpass@1: 53.20 -> 58.60Improved
CP/Remove vs SP before instruction tuningCodeLlama-7b instruction tuning · HumanEvalpass@1: 66.46 -> 65.85Hurt
further training on original SP dataCodeLlama-7b · HumanEvalpass@5: 45.75 -> 43.70Hurt

Open problems in multilingual LLM data and culture

Which languages, model sizes and evaluation methods are still missing from multilingual LLM and translation studies?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy