AdnanRiaz107
commited on
Commit
•
9304bcb
1
Parent(s):
c42232f
End of training
Browse files- README.md +77 -0
- generation_config.json +8 -0
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: microsoft/codebert-base-mlm
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: huggingfacecodebert-base-mlm-finetuned-st
|
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-st
|
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: 0.9298
|
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 |
+
| 1.761 | 0.05 | 500 | 1.6477 |
|
52 |
+
| 1.2184 | 0.1 | 1000 | 1.2377 |
|
53 |
+
| 0.9962 | 0.15 | 1500 | 1.1013 |
|
54 |
+
| 0.026 | 0.2 | 2000 | 1.0762 |
|
55 |
+
| 0.0266 | 0.25 | 2500 | 1.0639 |
|
56 |
+
| 0.6503 | 0.3 | 3000 | 0.9464 |
|
57 |
+
| 0.382 | 0.35 | 3500 | 0.9406 |
|
58 |
+
| 0.6019 | 0.4 | 4000 | 0.9027 |
|
59 |
+
| 0.39 | 0.45 | 4500 | 0.8842 |
|
60 |
+
| 0.0243 | 0.5 | 5000 | 0.9107 |
|
61 |
+
| 0.0238 | 0.55 | 5500 | 0.9165 |
|
62 |
+
| 0.205 | 0.6 | 6000 | 0.9304 |
|
63 |
+
| 0.4026 | 0.65 | 6500 | 0.9098 |
|
64 |
+
| 0.334 | 0.7 | 7000 | 0.9271 |
|
65 |
+
| 0.2539 | 0.75 | 7500 | 0.9402 |
|
66 |
+
| 0.1819 | 0.8 | 8000 | 0.9272 |
|
67 |
+
| 0.5093 | 0.85 | 8500 | 0.9314 |
|
68 |
+
| 0.0882 | 0.9 | 9000 | 0.9259 |
|
69 |
+
| 0.3341 | 0.95 | 9500 | 0.9275 |
|
70 |
+
| 0.0233 | 1.0 | 10000 | 0.9298 |
|
71 |
+
|
72 |
+
|
73 |
+
### Framework versions
|
74 |
+
|
75 |
+
- Transformers 4.35.2
|
76 |
+
- Pytorch 2.1.0+cu121
|
77 |
+
- Tokenizers 0.15.0
|
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.2",
|
7 |
+
"use_cache": false
|
8 |
+
}
|