Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What can UniXcoder do #321

Open
LO-FANG opened this issue May 20, 2024 · 2 comments
Open

What can UniXcoder do #321

LO-FANG opened this issue May 20, 2024 · 2 comments

Comments

@LO-FANG
Copy link

LO-FANG commented May 20, 2024

Hi,every one. Can UniXcoder do vulnerability detection tasks?
What's the format of the datasets should I process.

@Tamal-Mondal
Copy link

Yes, I have used it before for defect detection like tasks.

You can refer to the defect detection pipeline in CodeXglue (https://github.com/microsoft/CodeXGLUE/tree/main/Code-Code/Defect-detection). Here CodeBERT is used as an encoder and mostly just the encoder needs to be replaced with UnixCoder and rest of the setup you can follow.

@LO-FANG
Copy link
Author

LO-FANG commented May 20, 2024

是的,我以前曾将它用于任务等缺陷检测。

您可以参考 CodeXglue (https://github.com/microsoft/CodeXGLUE/tree/main/Code-Code/Defect-detection) 中的缺陷检测管道。在这里,CodeBERT 被用作编码器,大多数情况下,只有编码器需要替换为 UnixCoder 和您可以遵循的其余设置。

Hug,Thanks for the information, have a god day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants