AdnanRiaz107 commited on
Commit
3e36b93
1 Parent(s): 0cc420f

End of training

Browse files
Files changed (2) hide show
  1. README.md +65 -0
  2. generation_config.json +8 -0
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/codebert-base
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: santacoder-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
+ # santacoder-finetuned-the-stack-bash
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: 2.4920
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: 3500
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:-----:|:----:|:---------------:|
51
+ | 4.3682 | 0.14 | 500 | 4.6028 |
52
+ | 3.0913 | 0.29 | 1000 | 3.3129 |
53
+ | 3.0878 | 0.43 | 1500 | 2.8594 |
54
+ | 3.3334 | 0.57 | 2000 | 2.6359 |
55
+ | 3.1875 | 0.71 | 2500 | 2.5355 |
56
+ | 2.7736 | 0.86 | 3000 | 2.5017 |
57
+ | 3.152 | 1.0 | 3500 | 2.4920 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.35.0
63
+ - Pytorch 2.1.0+cu118
64
+ - Datasets 2.14.6
65
+ - 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
+ }