Search Results for author: Weisong Sun

Found 8 papers, 7 papers with code

On the Effectiveness of Distillation in Mitigating Backdoors in Pre-trained Encoder

1 code implementation6 Mar 2024 Tingxu Han, Shenghan Huang, Ziqi Ding, Weisong Sun, Yebo Feng, Chunrong Fang, Jun Li, Hanwei Qian, Cong Wu, Quanjun Zhang, Yang Liu, Zhenyu Chen

Distillation aims to distill knowledge from a given model (a. k. a the teacher net) and transfer it to another (a. k. a the student net).

Image Classification

Machine Translation Testing via Syntactic Tree Pruning

1 code implementation1 Jan 2024 Quanjun Zhang, Juan Zhai, Chunrong Fang, Jiawei Liu, Weisong Sun, Haichuan Hu, Qingyu Wang

The results show that STP can accurately find 5, 073 unique erroneous translations in Google Translate and 5, 100 unique erroneous translations in Bing Microsoft Translator (400% more than state-of-the-art techniques), with 64. 5% and 65. 4% precision, respectively.

Machine Translation Sentence +1

Abstract Syntax Tree for Programming Language Understanding and Representation: How Far Are We?

1 code implementation1 Dec 2023 Weisong Sun, Chunrong Fang, Yun Miao, Yudu You, Mengzhe Yuan, Yuchen Chen, Quanjun Zhang, An Guo, Xiang Chen, Yang Liu, Zhenyu Chen

To do so, we compare the performance of models trained with code token sequence (Token for short) based code representation and AST-based code representation on three popular types of code-related tasks.

Representation Learning

Automatic Code Summarization via ChatGPT: How Far Are We?

no code implementations22 May 2023 Weisong Sun, Chunrong Fang, Yudu You, Yun Miao, Yi Liu, Yuekang Li, Gelei Deng, Shenghan Huang, Yuchen Chen, Quanjun Zhang, Hanwei Qian, Yang Liu, Zhenyu Chen

To support software developers in understanding and maintaining programs, various automatic code summarization techniques have been proposed to generate a concise natural language comment for a given code snippet.

Code Summarization

An Extractive-and-Abstractive Framework for Source Code Summarization

1 code implementation15 Jun 2022 Weisong Sun, Chunrong Fang, Yuchen Chen, Quanjun Zhang, Guanhong Tao, Tingxu Han, Yifei Ge, Yudu You, Bin Luo

The extractive module in the framework performs a task of extractive code summarization, which takes in the code snippet and predicts important statements containing key factual details.

Code Summarization Machine Translation +2

Code Search based on Context-aware Code Translation

1 code implementation16 Feb 2022 Weisong Sun, Chunrong Fang, Yuchen Chen, Guanhong Tao, Tingxu Han, Quanjun Zhang

We evaluate the effectiveness of our technique, called TranCS, on the CodeSearchNet corpus with 1, 000 queries.

Code Search Code Translation +1

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