Update README.md
Browse files
README.md
CHANGED
|
@@ -31,9 +31,60 @@ nor has it been tested on other downstream tasks.
|
|
| 31 |
# Architecture description
|
| 32 |
TODO: get model architecture like on the model card of the previous model
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
Estimated time it has cost to train:
|
| 39 |
pretraining: 33 hours on TODO!
|
|
@@ -110,3 +161,4 @@ but it's also very strict, which is why we used it combined with MRR.
|
|
| 110 |
|
| 111 |
|model|ARM64 mrr|ARM64 acc|AMD64 mrr|AMD64 acc|RISC-V mrr|RISC-V acc|I386 mrr|I386 acc|crosslingual mrr|crosslingual acc|
|
| 112 |
|-----|---------|---------|---------|---------|----------|----------|--------|--------|----------------|----------------|
|
|
|
|
|
|
| 31 |
# Architecture description
|
| 32 |
TODO: get model architecture like on the model card of the previous model
|
| 33 |
|
| 34 |
+
Full architecture:
|
| 35 |
+
`[
|
| 36 |
+
{
|
| 37 |
+
"idx": 0,
|
| 38 |
+
"name": "0",
|
| 39 |
+
"path": "0_ASMTransformerModule",
|
| 40 |
+
"type": "asmtransformers.models.asmsentencebert.ASMTransformerModule"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"idx": 1,
|
| 44 |
+
"name": "1",
|
| 45 |
+
"path": "1_Pooling",
|
| 46 |
+
"type": "sentence_transformers.sentence_transformer.modules.pooling.Pooling"
|
| 47 |
+
}
|
| 48 |
+
]`
|
| 49 |
+
|
| 50 |
+
Parameters used:
|
| 51 |
+
`{
|
| 52 |
+
"architectures": [
|
| 53 |
+
"BertForMaskedLM"
|
| 54 |
+
],
|
| 55 |
+
"attention_probs_dropout_prob": 0.1,
|
| 56 |
+
"classifier_dropout": null,
|
| 57 |
+
"hidden_act": "gelu",
|
| 58 |
+
"hidden_dropout_prob": 0.1,
|
| 59 |
+
"hidden_size": 768,
|
| 60 |
+
"initializer_range": 0.02,
|
| 61 |
+
"intermediate_size": 3072,
|
| 62 |
+
"layer_norm_eps": 1e-12,
|
| 63 |
+
"max_position_embeddings": 512,
|
| 64 |
+
"model_type": "bert",
|
| 65 |
+
"num_attention_heads": 12,
|
| 66 |
+
"num_hidden_layers": 12,
|
| 67 |
+
"pad_token_id": 0,
|
| 68 |
+
"position_embedding_type": "absolute",
|
| 69 |
+
"torch_dtype": "float32",
|
| 70 |
+
"transformers_version": "4.12.5",
|
| 71 |
+
"type_vocab_size": 2,
|
| 72 |
+
"use_cache": true,
|
| 73 |
+
"vocab_size": 6161
|
| 74 |
+
}`
|
| 75 |
+
|
| 76 |
+
Preraining parameters used:
|
| 77 |
+
`{
|
| 78 |
+
"epochs"=19,
|
| 79 |
+
"eval_steps"=10000,
|
| 80 |
+
"batch_size"=512,
|
| 81 |
+
"gradient_accumulation_steps"=1,
|
| 82 |
+
"mlm_prob"=0.4,
|
| 83 |
+
"bf16"=True,
|
| 84 |
+
"tf32"=True
|
| 85 |
+
}`
|
| 86 |
+
|
| 87 |
+
Note that during pretraining, the --mlm-prob parameter has been set to 0.4, in accordance to [paper](INSERT LINK)
|
| 88 |
|
| 89 |
Estimated time it has cost to train:
|
| 90 |
pretraining: 33 hours on TODO!
|
|
|
|
| 161 |
|
| 162 |
|model|ARM64 mrr|ARM64 acc|AMD64 mrr|AMD64 acc|RISC-V mrr|RISC-V acc|I386 mrr|I386 acc|crosslingual mrr|crosslingual acc|
|
| 163 |
|-----|---------|---------|---------|---------|----------|----------|--------|--------|----------------|----------------|
|
| 164 |
+
|Multilingual-ASMBERT|0.761845832197267| 0.685 |0.8481566008780298 |0.803 |0.6150729328823104 |0.514 |0.6600633426585386 |0.575 |0.6314267393170043 |0.53|
|