sandspeare commited on
Commit
2e74abf
·
1 Parent(s): 4984693

decoder 1.0

Browse files
README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+
5
+ <h1 align="center">llasm: Naming Functions in Binaries by Fusing Encoder-only and Decoder-only LLMs</h1>
6
+
7
+
8
+ ## About
9
+
10
+ llasm, is a novel framework that fuses encoder-only and decoder-only LLMs, which utilizes their capabilities to better comprehend assembly language and have better generalizability at function naming.
11
+
12
+
13
+ This is the decoder of llasm. The upload model is a lora adapter, the base model is Vicuna-13B.
adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "/mnt/data/szh/models/vicuna-13b-v1.5",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 128,
11
+ "lora_dropout": 0.05,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 64,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "up_proj",
18
+ "o_proj",
19
+ "q_proj",
20
+ "gate_proj",
21
+ "k_proj",
22
+ "v_proj",
23
+ "down_proj"
24
+ ],
25
+ "task_type": "CAUSAL_LM"
26
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:401cfa3382d1470fb0d9cd765bb895750d0d6d0443bf340d8b33e24d0e6dea56
3
+ size 500889293
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/mnt/data/szh/models/vicuna-13b-v1.5",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "freeze_mm_mlp_adapter": false,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 5120,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 13824,
13
+ "max_length": 4096,
14
+ "max_position_embeddings": 4096,
15
+ "mm_hidden_size": 1024,
16
+ "mm_use_im_start_end": true,
17
+ "mm_vision_select_layer": -2,
18
+ "mm_vision_tower": "/mnt/data/szh/models/clap/clap-asm-encoder",
19
+ "model_type": "llava",
20
+ "num_attention_heads": 40,
21
+ "num_hidden_layers": 40,
22
+ "num_key_value_heads": 40,
23
+ "pad_token_id": 0,
24
+ "pretraining_tp": 1,
25
+ "rms_norm_eps": 1e-05,
26
+ "rope_scaling": null,
27
+ "sep_image_conv_front": false,
28
+ "tie_word_embeddings": false,
29
+ "torch_dtype": "float16",
30
+ "transformers_version": "4.31.0",
31
+ "tune_mm_mlp_adapter": false,
32
+ "use_cache": false,
33
+ "use_mm_proj": true,
34
+ "vocab_size": 32003
35
+ }
non_lora_trainables.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3ad401ac04fef4cf463c34a9c4a5c89681bb62c334d278fd80f127b0d0419b5
3
+ size 26617384423
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff