paper-with-me

Papers

CraftRTL: High-quality Synthetic Data Generation for Verilog Code Models with Correct-by-Construction Non-Textual Representations and Targeted Code Repair

2024-09-19 · Mingjie Liu, Yun-Da Tsai, Wenfei Zhou, Haoxing Ren

Despite the significant progress made in code generation with large language models, challenges persist, especially with hardware description languages such as Verilog. This paper first presents an analysis of fine-tuned LLMs on Verilog coding, with synthetic data from prior methods. We identify two main issues: difficulties in handling non-textual representations (Karnaugh maps, state-transition diagrams and waveforms) and significant variability during training with models randomly making "minor" mistakes. To address these limitations, we enhance data curation by creating correct-by-construction data targeting non-textual representations. Additionally, we introduce an automated framework that generates error reports from various model checkpoints and injects these errors into open-source code to create targeted code repair data. Our fine-tuned Starcoder2-15B outperforms prior state-of-the-art results by 3.8%, 10.9%, 6.6% for pass@1 on VerilogEval-Machine, VerilogEval-Human, and RTLLM.

📄 PDF Abstract BibTeX arXiv:2409.12993

Code (1)

nvlabs/craftrtl 공식 구현

Tasks

Code GenerationCode RepairSynthetic Data Generation

Similar Papers 제목 키워드 기반

VERIRL: Boosting the LLM-based Verilog Code Generation via Reinforcement Learning

2025-08-25 · Fu Teng, Miao Pan, Xuhong Zhang, Zhezhi He 외 arxiv

Recent advancements in code generation have shown remarkable success across software domains, yet hardware description languages (HDLs) such as Verilog remain underexplored due to their concurrency semantics, syntactic r…

Reinforcement LearningCode Generation

An evaluation framework for synthetic data generation models

2024-04-13 · Ioannis E. Livieris, Nikos Alimpertis, George Domalis, Dimitris Tsakalidis

Nowadays, the use of synthetic data has gained popularity as a cost-efficient strategy for enhancing data augmentation for improving machine learning models performance as well as addressing concerns related to sensitive…

Data AugmentationSynthetic Data Generation

BARE: Leveraging Base Language Models for Few-Shot Synthetic Data Generation

2025-02-03 · Alan Zhu, Parth Asawa, Jared Quincy Davis, Lingjiao Chen 외

As the demand for high-quality data in model training grows, researchers and developers are increasingly generating synthetic data to tune and train LLMs. However, current data generation methods rely on seed sets contai…

DiversityGSM8KInstruction FollowingRAG+1

Synthetic Data Generation for Visual Detection of Flattened PET Bottles

2022-12-29 · Machine Learning and Knowledge Extraction 2022 12 · Vitālijs Feščenko, Janis Arents, Roberts Kadikis

Polyethylene terephthalate (PET) bottle recycling is a highly automated task; however, manual quality control is required due to inefficiencies of the process. In this paper, we explore automation of the quality control …

Synthetic Data Generation

SPARQ: Synthetic Problem Generation for Reasoning via Quality-Diversity Algorithms

2025-06-06 · Alex Havrilla, Edward Hughes, Mikayel Samvelyan, Jacob Abernethy

Large language model (LLM) driven synthetic data generation has emerged as a powerful method for improving model reasoning capabilities. However, most methods either distill large state-of-the-art models into small stude…

DiversityLarge Language ModelMathSynthetic Data Generation