Update README.md
Browse files
README.md
CHANGED
|
@@ -25,17 +25,18 @@ TODO: calver of new release
|
|
| 25 |
TODO: do we refer to the inference file of our repo?
|
| 26 |
|
| 27 |
# Intended use
|
| 28 |
-
The model has been trained and tested to be used for similarity search of assembly code. It has not been trained/tested on any other languages than
|
| 29 |
nor has it been tested on other downstream tasks.
|
| 30 |
|
| 31 |
# Architecture description
|
| 32 |
|
| 33 |
-
This model has been trained similarly to [Wang et al.](https://arxiv.org/pdf/2205.12713).
|
|
|
|
| 34 |
--mlm-prob parameter to 0.4 in accordance to [Wettig et al., 2023](https://aclanthology.org/2023.eacl-main.217.pdf). We have done some experiments with different mlm-probs
|
| 35 |
-
(namely
|
| 36 |
|
| 37 |
One remarkable aspect of [Wang et al.](https://arxiv.org/pdf/2205.12713)'s paper, was that they came up with the concept of "Jump target prediction". As part of the
|
| 38 |
-
|
| 39 |
jump instruction, but it should also predict to which line of code it's supposed to jump. The idea is that this leads to better understanding of the long-term relations
|
| 40 |
in the code, and as Wang et al yielded good results, we have adopted it.
|
| 41 |
|
|
|
|
| 25 |
TODO: do we refer to the inference file of our repo?
|
| 26 |
|
| 27 |
# Intended use
|
| 28 |
+
The model has been trained and tested to be used for similarity search of assembly code. It has not been trained/tested on any other languages than arm64, amd64, risc-v or i386,
|
| 29 |
nor has it been tested on other downstream tasks.
|
| 30 |
|
| 31 |
# Architecture description
|
| 32 |
|
| 33 |
+
This model has been trained similarly to [Wang et al.](https://arxiv.org/pdf/2205.12713). We did diverge somewhat from Wang et al. their approach, since our BERT model is trained multilingual.
|
| 34 |
+
We also experimented with different training parameters during the Masked Language Modelling (MLM). For example, we set the
|
| 35 |
--mlm-prob parameter to 0.4 in accordance to [Wettig et al., 2023](https://aclanthology.org/2023.eacl-main.217.pdf). We have done some experiments with different mlm-probs
|
| 36 |
+
(namely 0.15, 0.3 and 0.4) and found that 0.4 yielded the best results.
|
| 37 |
|
| 38 |
One remarkable aspect of [Wang et al.](https://arxiv.org/pdf/2205.12713)'s paper, was that they came up with the concept of "Jump target prediction". As part of the
|
| 39 |
+
MLM procedure, the model also has to predict jump targets: whenever there is a jump in the code, the model shouldn't only predict it to be a
|
| 40 |
jump instruction, but it should also predict to which line of code it's supposed to jump. The idea is that this leads to better understanding of the long-term relations
|
| 41 |
in the code, and as Wang et al yielded good results, we have adopted it.
|
| 42 |
|