Search Results for author: Chaofeng Sha

Found 3 papers, 2 papers with code

ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generation

1 code implementation3 Aug 2023 Xueying Du, Mingwei Liu, Kaixin Wang, Hanlin Wang, Junwei Liu, Yixuan Chen, Jiayi Feng, Chaofeng Sha, Xin Peng, Yiling Lou

Third, we find that generating the entire class all at once (i. e. holistic generation strategy) is the best generation strategy only for GPT-4 and GPT-3. 5, while method-by-method generation (i. e. incremental and compositional) is better strategies for the other models with limited ability of understanding long instructions and utilizing the middle information.

Class-level Code Generation

Reinforcement Learning Based Sparse Black-box Adversarial Attack on Video Recognition Models

no code implementations29 Aug 2021 Zeyuan Wang, Chaofeng Sha, Su Yang

Attacks are only performed on selected key regions and key frames to reduce the high computation cost of searching adversarial perturbations on a video due to its high dimensionality.

Adversarial Attack reinforcement-learning +3

Cannot find the paper you are looking for? You can Submit a new open access paper.