AdnanRiaz107 commited on
Commit
3a45365
1 Parent(s): 0ef15d1

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: huggingface/CodeBERTa-small-v1
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: huggingfaceCodeBerta-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
+ # huggingfaceCodeBerta-finetuned-the-stack-bash
14
+
15
+ This model is a fine-tuned version of [huggingface/CodeBERTa-small-v1](https://huggingface.co/huggingface/CodeBERTa-small-v1) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 2.4191
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
+ | 3.3233 | 0.05 | 500 | 3.4143 |
52
+ | 3.2135 | 0.1 | 1000 | 3.0184 |
53
+ | 3.1977 | 0.15 | 1500 | 2.8537 |
54
+ | 2.9303 | 0.2 | 2000 | 2.7396 |
55
+ | 3.1618 | 0.25 | 2500 | 2.6954 |
56
+ | 2.9122 | 0.3 | 3000 | 2.6338 |
57
+ | 2.8965 | 0.35 | 3500 | 2.5881 |
58
+ | 2.599 | 0.4 | 4000 | 2.5677 |
59
+ | 2.8213 | 0.45 | 4500 | 2.5247 |
60
+ | 2.516 | 0.5 | 5000 | 2.5118 |
61
+ | 2.8975 | 0.55 | 5500 | 2.4817 |
62
+ | 2.3503 | 0.6 | 6000 | 2.4803 |
63
+ | 2.1736 | 0.65 | 6500 | 2.4650 |
64
+ | 2.8777 | 0.7 | 7000 | 2.4394 |
65
+ | 2.5809 | 0.75 | 7500 | 2.4391 |
66
+ | 2.6986 | 0.8 | 8000 | 2.4199 |
67
+ | 3.2199 | 0.85 | 8500 | 2.4354 |
68
+ | 2.3214 | 0.9 | 9000 | 2.4174 |
69
+ | 0.7788 | 0.95 | 9500 | 2.4156 |
70
+ | 2.6361 | 1.0 | 10000 | 2.4191 |
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
+ }