ljcnju commited on
Commit
fdd5709
1 Parent(s): 2555e4d

End of training

Browse files
Files changed (3) hide show
  1. README.md +77 -0
  2. generation_config.json +7 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/codebert-base
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: CodeBertForCodeSummary
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
+ # CodeBertForCodeSummary
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.3533
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: 14400.0
43
+ - num_epochs: 20
44
+ - mixed_precision_training: Native AMP
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss |
49
+ |:-------------:|:-----:|:-----:|:---------------:|
50
+ | 5.051 | 1.0 | 750 | 4.6658 |
51
+ | 3.7963 | 2.0 | 1500 | 3.6102 |
52
+ | 3.2207 | 3.0 | 2250 | 2.9757 |
53
+ | 2.7558 | 4.0 | 3000 | 2.5950 |
54
+ | 2.4409 | 5.0 | 3750 | 2.3054 |
55
+ | 2.188 | 6.0 | 4500 | 2.0653 |
56
+ | 1.9616 | 7.0 | 5250 | 1.8439 |
57
+ | 1.7515 | 8.0 | 6000 | 1.6953 |
58
+ | 1.6408 | 9.0 | 6750 | 1.5872 |
59
+ | 1.4843 | 10.0 | 7500 | 1.5153 |
60
+ | 1.4453 | 11.0 | 8250 | 1.4662 |
61
+ | 1.3443 | 12.0 | 9000 | 1.4222 |
62
+ | 1.2826 | 13.0 | 9750 | 1.3990 |
63
+ | 1.2005 | 14.0 | 10500 | 1.3829 |
64
+ | 1.1559 | 15.0 | 11250 | 1.3678 |
65
+ | 1.0938 | 16.0 | 12000 | 1.3504 |
66
+ | 1.0285 | 17.0 | 12750 | 1.3493 |
67
+ | 0.9802 | 18.0 | 13500 | 1.3568 |
68
+ | 0.9333 | 19.0 | 14250 | 1.3549 |
69
+ | 0.8453 | 20.0 | 15000 | 1.3533 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - Transformers 4.37.2
75
+ - Pytorch 2.1.2+cu121
76
+ - Datasets 2.15.0
77
+ - 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
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2ed535ce852ac90997baf411b7d8d3b49f0d2caea1023512cfc7091857159b58
3
  size 498826252
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:079672c400357f8ce023c15793fbd3ac16c55d71000f269195d7d7dbcadd4e7c
3
  size 498826252