Regenerates the paper's data figures (Figs. 2-6) from IBM's public dataset LLMFineTuningBench.
Needs Docker, running. In a terminal:
curl -L -o woais2.zip https://anonymous.4open.science/api/repo/woais2/zip
mkdir woais2 && cd woais2 && unzip -q ../woais2.zip
docker build -t woais2 .
docker run --rm -v ./out:/capsule/out woais2The figures are in out/.
Without Docker: bash reproduce.sh (needs Python 3.11 and the font Times New Roman).
- Program:
plot.py(Python 3.11, matplotlib 3.11.0, pandas 2.3.3). - Data:
ibm-research/LLMFineTuningBench, 30,920 rows x 38 columns; if the Hub fails, the snapshotdata/ado-sfttrainer.csv. - Environment: Docker 27.4, base image
python:3.11.16-slim-trixie. - Hardware: none specific; tested on ARM64 (macOS) and x86-64.
- Output:
out/fig2_*.pdftoout/fig6_*.pdf, one PDF per figure of the paper (Figures 2-6). - Disk: about 1 GB (Docker image).
- Time: about 2 minutes to build, under 1 minute to run.
- Data license: Apache-2.0, IBM Research.