LLM4Decompile/evaluation
2024-02-29 18:44:30 +08:00
..
server update text-generation-inference script 2024-02-28 22:08:54 +08:00
README.md Update README.md 2024-02-29 12:18:45 +08:00
run_evaluation_llm4decompile.py update text-generation-inference script 2024-02-28 22:08:54 +08:00
run_evaluation_llm4decompile_singleGPU.py Update run_evaluation_llm4decompile_singleGPU.py 2024-02-29 18:44:30 +08:00

To run the evaluation on single GPU and single process:

cd LLM4Decompile
python ./evaluation/run_evaluation_llm4decompile_singleGPU.py

To run the evaluation using TGI (10x faster, support multiple GPUs and multi-process): First, please install the text-generation-inference following the official link

git clone https://github.com/albertan017/LLM4Decompile.git
cd LLM4Decompile
pip install -r requirements.txt

# Before run the evaluation script, plase update the model_path to your local mdoel path.
bash ./scripts/run_evaluation_llm4decompile.sh