Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
0416598
1
Parent(s):
edab27e
go
Browse files
app.py
CHANGED
|
@@ -36,17 +36,17 @@ vardecoder_model = AutoModelForCausalLM.from_pretrained(
|
|
| 36 |
"ejschwartz/resym-vardecoder", torch_dtype=torch.bfloat16, device_map="auto"
|
| 37 |
)
|
| 38 |
|
| 39 |
-
example = """{
|
| 40 |
-
"input": "What are the original name and data type of variables `a1`, `a2`, `
|
| 41 |
-
"output": "a1:
|
| 42 |
-
"funname": "
|
| 43 |
-
"bin": "
|
| 44 |
-
"proj": "
|
| 45 |
"cluster_var": {
|
| 46 |
-
"
|
| 47 |
[
|
| 48 |
-
"
|
| 49 |
-
"
|
| 50 |
]
|
| 51 |
]
|
| 52 |
}
|
|
|
|
| 36 |
"ejschwartz/resym-vardecoder", torch_dtype=torch.bfloat16, device_map="auto"
|
| 37 |
)
|
| 38 |
|
| 39 |
+
example = r"""{
|
| 40 |
+
"input": "What are the original name and data type of variables `a1`, `a2`, `a3`, `v4`, `v5`?\n```\n__int64 __fastcall sub_410D81(__int64 a1, __int64 a2, __int64 a3)\n{\nint v4; // [rsp+20h] [rbp-20h] BYREF\n__int64 v5; // [rsp+28h] [rbp-18h]\n\nif ( !a1 || !a2 || !a3 )\nreturn 0LL;\nv4 = 5;\nv5 = a3;\nreturn sub_411142(a1, a2, &v4);\n}\n```",
|
| 41 |
+
"output": "a1: dict, pdfio_dict_t*\na2: key, const char*\na3: value, pdfio_dict_t*\nv4: temp, struct _pdfio_value_t\nv5: -, -",
|
| 42 |
+
"funname": "pdfioDictSetDict",
|
| 43 |
+
"bin": "d0ebaa77558783765df381826c961e95c83338e285011d501a62bea474e93451",
|
| 44 |
+
"proj": "michaelrsweet/pdfio",
|
| 45 |
"cluster_var": {
|
| 46 |
+
"struct": [
|
| 47 |
[
|
| 48 |
+
"v4",
|
| 49 |
+
"v5"
|
| 50 |
]
|
| 51 |
]
|
| 52 |
}
|