Team Ai
Modelpublic

Athipan01/codebert-model

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes6downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

codebert-model

This model is a fine-tuned version of microsoft/codebert-base on the codesearchnet dataset. It achieves the following results on the evaluation set:

  • —eval_loss: 0.8346
  • —evalmodelpreparation_time: 0.0057
  • —eval_accuracy: {'accuracy': 0.21967491508976225}
  • —eval_f1: {'f1': 0.0}
  • —eval_runtime: 9384.6382
  • —evalsamplesper_second: 0.878
  • —evalstepsper_second: 0.11
  • —step: 0

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
  • —trainbatchsize: 8
  • —evalbatchsize: 8
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —num_epochs: 3

Framework versions

  • —PEFT 0.15.2
  • —Transformers 4.51.3
  • —Pytorch 2.6.0+cu124
  • —Datasets 3.6.0
  • —Tokenizers 0.21.1