metadata
base_model: microsoft/codebert-base
tags:
- generated_from_trainer
model-index:
- name: CodeBertForCodeCompletion
results: []
CodeBertForCodeCompletion
This model is a fine-tuned version of microsoft/codebert-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 1.0893
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 32378.399999999998
- num_epochs: 5
- mixed_precision_training: Native AMP
Training results
Training Loss | Epoch | Step | Validation Loss |
---|---|---|---|
1.4921 | 1.0 | 6746 | 1.8133 |
1.0589 | 2.0 | 13492 | 1.3247 |
0.9041 | 3.0 | 20238 | 1.2026 |
0.8231 | 4.0 | 26984 | 1.1378 |
0.7376 | 5.0 | 33730 | 1.0893 |
Framework versions
- Transformers 4.37.2
- Pytorch 2.1.2+cu121
- Datasets 2.15.0
- Tokenizers 0.15.0