Comments (3)
In the pre-training stage, we use NL-Code Pair to learn both NL and Code representation. Although we use bimodal data in the pre-training stage, you can obtain NL or Code representation by taking only unimodal data as the input on downstream tasks, which is similar as XLM.
from codebert.
thank you for your reply.
The following picture describes the difference between the input and output of the pre-training phase and the fine-tuning phase. Is this correct?
from codebert.
The input of pre-training phase is [<s>,nl,</s>,code,</s>]
. But in fine-tune phase, the input can be [<s>,nl,</s>,code,</s>]
, [<s>, nl, </s>]
, or [<s>, code,</s>]
, which depends on your downstream tasks. The output is representation of each token in both pre-training and fine-tune phases.
from codebert.
Related Issues (20)
- Code completion with >=2 masks
- 关于训练时模型的突然失效问题(training loss暴涨,training ppl暴涨)
- Question about CodeReviewer:Does the order of input diff-lines can influence the outcome?
- Questions about additional C/C++ training dataset HOT 1
- Request for Fine-Tuned GraphCodeBert Model for Code Clone Detection
- Questions about LCC dataset license
- Typo in readme of clonedetection
- Best way to finetune CodeReview Task HOT 1
- codesearch FIne-Tune Epoch卡在0%或者在saving cached文件后killed HOT 2
- GraphCodeBERT node vs. token level attention
- CodeReviewer fine-tuning time
- How to finetune CodeBERT to do a regression prediction task
- CodeReviewer Finetune Script Fails
- How is Input Structured for Comment Generation with CodeT5
- Where do you get the source code to include in jsonl?
- how can i use it for different project
- What can UniXcoder do HOT 2
- Unixcoder fine tune on POJ-104, how to use it for inference?
- Treesitter dependency HOT 3
- how to pre train my own unixcoder from the pre-train unixcoder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codebert.