CoolFace
Modelpublic

lmeninato/bert-small-codesearchnet-python

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes14downloads
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. -->

bert-small-codesearchnet-python

This model is a fine-tuned version of [](https://huggingface.co/) on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 0.0582
  • Bleu: 0.0347
  • Rouge1: 0.6428
  • Rouge2: 0.6252
  • Avg Length: 17.891

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
  • gradientaccumulationsteps: 10
  • totaltrainbatch_size: 80
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • num_epochs: 15

Training results

Training LossEpochStepValidation LossBleuRouge1Rouge2Avg Length
No log1.03751.21510.00.09280.008310.684
1.93592.07501.02910.00320.17520.033815.0624
0.94223.011250.91730.00610.25060.071117.9358
0.7764.015000.80580.00880.33210.140918.3724
0.7765.018750.69150.01230.40440.226718.564
0.62186.022500.52810.01930.53820.409717.5586
0.43637.026250.18970.03330.63110.600217.8768
0.15188.030000.08340.03460.64130.62117.879
0.15189.033750.05870.03490.64390.626817.8886
0.057910.037500.05470.03480.64430.627617.885
0.043711.041250.05250.03480.64420.627817.8766
0.036512.045000.05500.03470.64360.626617.8876
0.036513.048750.05450.03470.64390.62717.876
0.03214.052500.05390.03470.6440.626817.8822
0.028815.056250.05820.03470.64280.625217.891

Framework versions

  • Transformers 4.28.1
  • Pytorch 2.0.0+cu118
  • Datasets 2.12.0
  • Tokenizers 0.13.3