Update README.md
Browse files
README.md
CHANGED
@@ -17,7 +17,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
17 |
import torch
|
18 |
import os
|
19 |
|
20 |
-
model_path = '
|
21 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
22 |
model = AutoModelForCausalLM.from_pretrained(model_path,torch_dtype=torch.bfloat16).cuda()
|
23 |
|
@@ -53,7 +53,6 @@ char * func0(char **param_1,int param_2)
|
|
53 |
before = f"# This is the assembly code:\n"#prompt
|
54 |
after = "\n# What is the source code?\n"#prompt
|
55 |
asm_func = before+asm_func.strip()+after
|
56 |
-
model_path = "Neo111x/falcon3-decompiler-3b"
|
57 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
58 |
model = AutoModelForCausalLM.from_pretrained(model_path, torch_dtype="auto", device_map="auto").to("cuda:0")
|
59 |
|
|
|
17 |
import torch
|
18 |
import os
|
19 |
|
20 |
+
model_path = 'Neo111x/falcon3-decompiler-3b' # V1.5 Model
|
21 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
22 |
model = AutoModelForCausalLM.from_pretrained(model_path,torch_dtype=torch.bfloat16).cuda()
|
23 |
|
|
|
53 |
before = f"# This is the assembly code:\n"#prompt
|
54 |
after = "\n# What is the source code?\n"#prompt
|
55 |
asm_func = before+asm_func.strip()+after
|
|
|
56 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
57 |
model = AutoModelForCausalLM.from_pretrained(model_path, torch_dtype="auto", device_map="auto").to("cuda:0")
|
58 |
|