AdnanRiaz107 commited on
Commit
81fac4a
·
1 Parent(s): 56e7dac

End of training

Browse files
Files changed (2) hide show
  1. README.md +78 -0
  2. generation_config.json +8 -0
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/codebert-base-mlm
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: huggingfacecodebert-base-mlm-finetuned-the-stack-bash
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
+ # huggingfacecodebert-base-mlm-finetuned-the-stack-bash
14
+
15
+ This model is a fine-tuned version of [microsoft/codebert-base-mlm](https://huggingface.co/microsoft/codebert-base-mlm) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 1.8719
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: 1
38
+ - eval_batch_size: 1
39
+ - seed: 42
40
+ - gradient_accumulation_steps: 4
41
+ - total_train_batch_size: 4
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: cosine
44
+ - lr_scheduler_warmup_steps: 100
45
+ - training_steps: 10000
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:-----:|:-----:|:---------------:|
51
+ | 2.8761 | 0.05 | 500 | 3.0629 |
52
+ | 2.3622 | 0.1 | 1000 | 2.5288 |
53
+ | 2.5797 | 0.15 | 1500 | 2.3437 |
54
+ | 2.7985 | 0.2 | 2000 | 2.1884 |
55
+ | 2.6333 | 0.25 | 2500 | 2.1099 |
56
+ | 2.2955 | 0.3 | 3000 | 2.0732 |
57
+ | 2.4228 | 0.35 | 3500 | 2.0343 |
58
+ | 2.3224 | 0.4 | 4000 | 2.0015 |
59
+ | 2.1669 | 0.45 | 4500 | 1.9659 |
60
+ | 1.98 | 0.5 | 5000 | 1.9458 |
61
+ | 2.1847 | 0.55 | 5500 | 1.9258 |
62
+ | 2.1145 | 0.6 | 6000 | 1.9235 |
63
+ | 2.2392 | 0.65 | 6500 | 1.9019 |
64
+ | 2.1206 | 0.7 | 7000 | 1.9106 |
65
+ | 2.1796 | 0.75 | 7500 | 1.8852 |
66
+ | 2.5239 | 0.8 | 8000 | 1.8781 |
67
+ | 1.4346 | 0.85 | 8500 | 1.8754 |
68
+ | 2.3741 | 0.9 | 9000 | 1.8704 |
69
+ | 1.904 | 0.95 | 9500 | 1.8679 |
70
+ | 2.4298 | 1.0 | 10000 | 1.8719 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.35.0
76
+ - Pytorch 2.1.0+cu118
77
+ - Datasets 2.14.6
78
+ - Tokenizers 0.14.1
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
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.35.0",
7
+ "use_cache": false
8
+ }