ejschwartz commited on
Commit
1a51549
1 Parent(s): 6775fac

End of training

Browse files
Files changed (3) hide show
  1. README.md +13 -74
  2. pytorch_model.bin +1 -1
  3. training_args.bin +2 -2
README.md CHANGED
@@ -4,70 +4,9 @@ tags:
4
  - generated_from_trainer
5
  metrics:
6
  - accuracy
7
- datasets:
8
- - ejschwartz/oo-method-test-split
9
- widget:
10
- - text: ' L1: 55 ?? push ebp 8b ec ?? mov ebp, esp 5d ?? pop ebp c3 ?? ret '
11
- example_title: Function 1
12
- - text: >2
13
- L1: 55 ?? push ebp 8b ec ?? mov ebp, esp 51 ?? push ecx a1 b0 5d 43 00 ?? mov eax, dword ds:[0x00435db0] 83 f8 fe ?? cmp eax, 0xfe<254,-2> 75 0a ?? jne basic block L4
14
- L2: e8 4e 17 00 00 ?? call function 0x00415d25
15
-
16
- L3: a1 b0 5d 43 00 ?? mov eax, dword ds:[0x00435db0]
17
-
18
- L4: 83 f8 ff ?? cmp eax, 0xff<255,-1> 75 07 ?? jne basic block L6
19
-
20
- L5: b8 ff ff 00 00 ?? mov eax, 0x0000ffff eb 1b ?? jmp basic block L9
21
-
22
- L6: 6a 00 ?? push 0 8d 4d fc ?? lea ecx, ss:[ebp + 0xfc<252,-4>] 51 ??
23
- push ecx 6a 01 ?? push 1 8d 4d 08 ?? lea ecx, ss:[ebp + 8] 51 ?? push ecx
24
- 50 ?? push eax ff 15 28 91 43 00 ?? call dword ds:[0x00439128]
25
-
26
- L7: 85 c0 ?? test eax, eax 74 e2 ?? je basic block L5
27
-
28
- L8: 66 8b 45 08 ?? mov ax, word ss:[ebp + 8]
29
-
30
- L9: 8b e5 ?? mov esp, ebp 5d ?? pop ebp c3 ?? ret
31
- example_title: Function 2
32
- - text: >2
33
- L1: 0f b7 41 32 ?? movzx eax, word ds:[ecx + 0x32<50>] 83 e8 20 ?? sub eax, 0x20<32> 74 2d ?? je basic block L10
34
- L2: 83 e8 03 ?? sub eax, 3 74 22 ?? je basic block L9
35
-
36
- L3: 83 e8 08 ?? sub eax, 8 74 17 ?? je basic block L8
37
-
38
- L4: 48 ?? dec eax 83 e8 01 ?? sub eax, 1 74 0b ?? je basic block L7
39
-
40
- L5: 83 e8 03 ?? sub eax, 3 75 1c ?? jne basic block L11
41
-
42
- L6: 83 49 20 08 ?? or dword ds:[ecx + 0x20<32>], 8 eb 16 ?? jmp basic
43
- block L11
44
-
45
- L7: 83 49 20 04 ?? or dword ds:[ecx + 0x20<32>], 4 eb 10 ?? jmp basic
46
- block L11
47
-
48
- L8: 83 49 20 01 ?? or dword ds:[ecx + 0x20<32>], 1 eb 0a ?? jmp basic
49
- block L11
50
-
51
- L9: 83 49 20 20 ?? or dword ds:[ecx + 0x20<32>], 0x20<32> eb 04 ?? jmp
52
- basic block L11
53
-
54
- L10: 83 49 20 02 ?? or dword ds:[ecx + 0x20<32>], 2
55
-
56
- L11: b0 01 ?? mov al, 1 c3 ?? ret
57
- example_title: Method 1
58
- - text: >2
59
- L1: 8b ff ?? mov edi, edi 55 ?? push ebp 8b ec ?? mov ebp, esp 83 ec 08 ?? sub esp, 8 89 4d f8 ?? mov dword ss:[ebp + 0xf8<248,-8>], ecx 8b 4d f8 ?? mov ecx, dword ss:[ebp + 0xf8<248,-8>] e8 e6 ac f9 ff ?? call function 0x00401569
60
- L2: 23 45 08 ?? and eax, dword ss:[ebp + 8] 3b 45 08 ?? cmp eax, dword
61
- ss:[ebp + 8] 75 09 ?? jne basic block L4
62
-
63
- L3: c7 45 fc 01 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 1 eb 07 ??
64
- jmp basic block L5
65
-
66
- L4: c7 45 fc 00 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 0
67
-
68
- L5: 8a 45 fc ?? mov al, byte ss:[ebp + 0xfc<252,-4>] 8b e5 ?? mov esp, ebp
69
- 5d ?? pop ebp c2 04 00 ?? ret 4
70
- example_title: Method 2
71
  ---
72
 
73
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -75,11 +14,11 @@ should probably proofread and complete it, then remove this comment. -->
75
 
76
  # oo-method-test-model-bylibrary
77
 
78
- This model is a fine-tuned version of [huggingface/CodeBERTa-small-v1](https://huggingface.co/huggingface/CodeBERTa-small-v1) on the ejschwartz/oo-method-test-split dataset.
79
  It achieves the following results on the evaluation set:
80
- - Loss: 0.3303
81
- - Accuracy: 0.9161
82
- - Best Accuracy: 0.9161
83
 
84
  ## Model description
85
 
@@ -98,23 +37,23 @@ More information needed
98
  ### Training hyperparameters
99
 
100
  The following hyperparameters were used during training:
101
- - learning_rate: 2.386135927313411e-05
102
  - train_batch_size: 8
103
  - eval_batch_size: 8
104
  - seed: 42
105
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
106
  - lr_scheduler_type: cosine
107
  - lr_scheduler_warmup_ratio: 0.05
108
- - training_steps: 887
109
 
110
  ### Training results
111
 
112
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | Best Accuracy |
113
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:-------------:|
114
- | 0.3788 | 0.02 | 178 | 0.6188 | 0.8470 | 0.8470 |
115
- | 0.1456 | 0.04 | 356 | 0.6572 | 0.8519 | 0.8519 |
116
- | 0.17 | 0.05 | 534 | 0.4926 | 0.8798 | 0.8798 |
117
- | 0.1162 | 0.07 | 712 | 0.3303 | 0.9161 | 0.9161 |
118
 
119
 
120
  ### Framework versions
 
4
  - generated_from_trainer
5
  metrics:
6
  - accuracy
7
+ model-index:
8
+ - name: oo-method-test-model-bylibrary
9
+ results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  ---
11
 
12
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
14
 
15
  # oo-method-test-model-bylibrary
16
 
17
+ This model is a fine-tuned version of [huggingface/CodeBERTa-small-v1](https://huggingface.co/huggingface/CodeBERTa-small-v1) on the None dataset.
18
  It achieves the following results on the evaluation set:
19
+ - Loss: 0.3131
20
+ - Accuracy: 0.9207
21
+ - Best Accuracy: 0.9207
22
 
23
  ## Model description
24
 
 
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
+ - learning_rate: 2.34314e-05
41
  - train_batch_size: 8
42
  - eval_batch_size: 8
43
  - seed: 42
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: cosine
46
  - lr_scheduler_warmup_ratio: 0.05
47
+ - training_steps: 813
48
 
49
  ### Training results
50
 
51
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | Best Accuracy |
52
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:-------------:|
53
+ | 0.4448 | 0.17 | 163 | 0.2735 | 0.9066 | 0.9066 |
54
+ | 0.2779 | 0.33 | 326 | 0.2817 | 0.9185 | 0.9185 |
55
+ | 0.1733 | 0.5 | 489 | 0.3446 | 0.9027 | 0.9185 |
56
+ | 0.1861 | 0.66 | 652 | 0.3131 | 0.9207 | 0.9207 |
57
 
58
 
59
  ### Framework versions
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8379e67bf218d52f71799276defd4f263219efff6d29366b8b944aa9605e39c5
3
  size 333845425
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8605aa8aa017aae2740943265024a5813e46886d23949fed28928a7f1d0482ec
3
  size 333845425
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f8b5cd15cbd8fdedc70e5e5de02e0de1d3cba005faf96a1a3b1f2d826be6404c
3
- size 4155
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bf67dcb71ffa11c78c64dc3957dd33ed75fac61ffd16a42836d64dc8b9cca85
3
+ size 4091