ylfeng/sccdec-dataset
Viewer • Updated • 80k • 86 • 1
Run ylfeng/sccdec-lora on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/ylfeng/sccdec-lora. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/ylfeng/sccdec-lora on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to evaluate https://huggingface.co/ylfeng/sccdec-lora. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to create a 4-bit version of https://huggingface.co/ylfeng/sccdec-lora. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
How to use ylfeng/sccdec-lora with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("LLM4Binary/llm4decompile-6.7b-v1.5")
model = PeftModel.from_pretrained(base_model, "ylfeng/sccdec-lora")Model For Self-Constructed Context Decompilation with Fined-grained Alignment Enhancement.
If you use SCCDEC in your work, please cite it as follows:
@inproceedings{feng-etal-2024-self,
title = "Self-Constructed Context Decompilation with Fined-grained Alignment Enhancement",
author = "Feng, Yunlong and
Teng, Dechuan and
Xu, Yang and
Mu, Honglin and
Xu, Xiao and
Qin, Libo and
Zhu, Qingfu and
Che, Wanxiang",
editor = "Al-Onaizan, Yaser and
Bansal, Mohit and
Chen, Yun-Nung",
booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2024",
month = nov,
year = "2024",
address = "Miami, Florida, USA",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2024.findings-emnlp.385",
pages = "6603--6614",
abstract = "Decompilation transforms compiled code back into a high-level programming language for analysis when source code is unavailable. Previous work has primarily focused on enhancing decompilation performance by increasing the scale of model parameters or training data for pre-training. Based on the characteristics of the decompilation task, we propose two methods: (1) Without fine-tuning, the Self-Constructed Context Decompilation (sc$^2$dec) method recompiles the LLM{'}s decompilation results to construct pairs for in-context learning, helping the model improve decompilation performance. (2) Fine-grained Alignment Enhancement (FAE), which meticulously aligns assembly code with source code at the statement level by leveraging debugging information, is employed during the fine-tuning phase to achieve further improvements in decompilation. By integrating these two methods, we achieved a Re-Executability performance improvement of approximately 3.90{\%} on the Decompile-Eval benchmark, establishing a new state-of-the-art performance of 52.41{\%}. The code, data, and models are available at https://github.com/AlongWY/sccdec.",
}
Base model
LLM4Binary/llm4decompile-6.7b-v1.5