Model training method, interaction method, device, equipment and medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING BAIDU NETCOM SCI & TECH CO LTD
- Filing Date
- 2026-02-26
- Publication Date
- 2026-06-05
AI Technical Summary
Existing front-end code generation technologies are costly and perform poorly in specific application scenarios, making them difficult to generalize to a wide range of applications. Furthermore, their evaluation methods are difficult to diversify and target.
By inputting task information into the code generation model for evaluation, abnormal code is identified, and the model is trained using functional information from normal code and abnormal code. Vulnerabilities are injected to improve performance, and targeted training is carried out using a multi-dimensional evaluation strategy and hierarchical fine-grained training samples.
It improves the performance and training effect of code generation models in specific scenarios, enhances the running performance and interactive experience of generated code, and meets the diversity and personalization of user needs.
Smart Images

Figure CN122153444A_ABST