This model is fine-tuned on a code-completion dataset collected from the open-source
Code4Me
plugin. The training objective is to have a small, lightweight transformer model to filter out unnecessary and unhelpful code completions. To this end, we leverage the in-IDE telemetry data, and integrate it with the textual code data in the transformer's attention module.
e.g.
JonBERTa-head-ft-dense-proj
, where all have
2e-05
learning rate, but may differ in the head layer in which the telemetry features are introduced (either
head
or
proj
, with optional
reinit
ialisation of all its weights).
JonBERTa-attn
→
JonBERTa-attn-ft-[0,1,2,3,4,5]L
e.g.
JonBERTa-attn-ft-012L
, where all have
2e-05
learning rate, but may differ in the attention layer(s) in which the telemetry features are introduced (either
0
,
1
,
2
,
3
,
4
, or
5L
).
Other hyperparameters may be found in the paper or the replication package (see below).
@misc{de_moor_smart_invocation_2024,
title = {A {Transformer}-{Based} {Approach} for {Smart} {Invocation} of {Automatic} {Code} {Completion}},
url = {http://arxiv.org/abs/2405.14753},
doi = {10.1145/3664646.3664760},
author = {de Moor, Aral and van Deursen, Arie and Izadi, Maliheh},
month = may,
year = {2024},
}
Training Details
This model was trained with the following hyperparameters, everything else being
TrainingArguments
' default. The dataset was prepared identically across all models as detailed in the paper.
num_train_epochs : int = 6
learning_rate : float = search([2e-5, 1e-5, 5e-5])
batch_size : int = 16
Runs of AISE-TUDelft CodeBERTa-ft-coco-5e-05lr on huggingface.co
23
Total runs
0
24-hour runs
1
3-day runs
4
7-day runs
13
30-day runs
More Information About CodeBERTa-ft-coco-5e-05lr huggingface.co Model
More CodeBERTa-ft-coco-5e-05lr license Visit here:
CodeBERTa-ft-coco-5e-05lr huggingface.co is an AI model on huggingface.co that provides CodeBERTa-ft-coco-5e-05lr's model effect (), which can be used instantly with this AISE-TUDelft CodeBERTa-ft-coco-5e-05lr model. huggingface.co supports a free trial of the CodeBERTa-ft-coco-5e-05lr model, and also provides paid use of the CodeBERTa-ft-coco-5e-05lr. Support call CodeBERTa-ft-coco-5e-05lr model through api, including Node.js, Python, http.
CodeBERTa-ft-coco-5e-05lr huggingface.co is an online trial and call api platform, which integrates CodeBERTa-ft-coco-5e-05lr's modeling effects, including api services, and provides a free online trial of CodeBERTa-ft-coco-5e-05lr, you can try CodeBERTa-ft-coco-5e-05lr online for free by clicking the link below.
AISE-TUDelft CodeBERTa-ft-coco-5e-05lr online free url in huggingface.co:
CodeBERTa-ft-coco-5e-05lr is an open source model from GitHub that offers a free installation service, and any user can find CodeBERTa-ft-coco-5e-05lr on GitHub to install. At the same time, huggingface.co provides the effect of CodeBERTa-ft-coco-5e-05lr install, users can directly use CodeBERTa-ft-coco-5e-05lr installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
CodeBERTa-ft-coco-5e-05lr install url in huggingface.co: