ljcnju commited on
Commit
d181fe2
1 Parent(s): 9e5eca1

End of training

Browse files
Files changed (2) hide show
  1. README.md +62 -0
  2. generation_config.json +7 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/codebert-base
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: CodeBertForCodeCompletion
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # CodeBertForCodeCompletion
14
+
15
+ This model is a fine-tuned version of [microsoft/codebert-base](https://huggingface.co/microsoft/codebert-base) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 1.0893
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 5e-05
37
+ - train_batch_size: 16
38
+ - eval_batch_size: 16
39
+ - seed: 42
40
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
41
+ - lr_scheduler_type: linear
42
+ - lr_scheduler_warmup_steps: 32378.399999999998
43
+ - num_epochs: 5
44
+ - mixed_precision_training: Native AMP
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss |
49
+ |:-------------:|:-----:|:-----:|:---------------:|
50
+ | 1.4921 | 1.0 | 6746 | 1.8133 |
51
+ | 1.0589 | 2.0 | 13492 | 1.3247 |
52
+ | 0.9041 | 3.0 | 20238 | 1.2026 |
53
+ | 0.8231 | 4.0 | 26984 | 1.1378 |
54
+ | 0.7376 | 5.0 | 33730 | 1.0893 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.37.2
60
+ - Pytorch 2.1.2+cu121
61
+ - Datasets 2.15.0
62
+ - Tokenizers 0.15.0
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 1,
6
+ "transformers_version": "4.37.2"
7
+ }