arXiv · Software Engineering· Rongcun Wang, Shi Chen·· 4 hr agoAI score22
RAPO-Sol:面向仓库级 Solidity 代码生成的检索增强偏好优化
RAPO-Sol: Retrieval-Augmented Preference Optimization for Repository-Level Solidity Code Generation
AI brief
RAPO-Sol 是一个面向仓库级 Solidity 代码生成的两阶段训练框架,先用 RAFT 在训练输入中注入相似 Solidity 示例、推理时无需检索,再用 DPO 让模型偏好参考合约而非语义有缺陷的近似样本。
Source: arXiv · Software Engineering · arxiv.org