This repository contains a self-contained solution for the Part B prompt-to-SVG logo task. The provided student kit is intentionally not assumed to exist; the reward, LoRA training loop, and self-evaluation script are implemented here.
The run used a separate conda environment, not care:
conda create -n academic-month-gemma python=3.10 pip
conda activate academic-month-gemma
pip install -r requirements.txtCUDA is required by the scripts. They intentionally do not fall back to CPU.
Download the base model from ModelScope:
python scripts/download_model.py --model-id google/gemma-3-270m --local-dir ../models/gemma-3-270mTrain the LoRA adapter:
CUDA_VISIBLE_DEVICES=1 python -u -m student_kit.train_peft --config train_config.yamlRun the self evaluation:
CUDA_VISIBLE_DEVICES=1 python -u -m student_kit.eval_self --config train_config.yaml --output results.jsonThe submitted adapter is in adapter/, the proxy reward is in reward.py and
student_kit/reward.py, and the analysis is in report.md.