Downloads · 30 days
13
2% of all-time downloads
myn11/gpt2_hdl
gpt2_hdl is a text generation model from myn11. Use it when you need the model to write or continue text. It is set up for transformers.
Objectives : 1. Fine tune GPT-2 125M for VHDL code generation and summarization 2. Build a gradle webapp for inferencing of the fine tuned model 3. Fine tune a bigger model Llama 3B for VHDL code genaration and summar…
Downloads · 30 days
13
2% of all-time downloads
All-time downloads
544
Public
Repo size
996 MB
Likes
3
Public
Click a slice to open those files.
.bin498 MB · 99%
From the Hugging Face model README
Objectives :
VHDL stands for VHSIC Hardware Description Language (yeah VHSIC is also an acronym🙂). It is a language used by hardware designers to synthesize digital hardware. <br> I used AWfaw/ai-hdlcoder-dataset-clean dataset to get the webscrapped VHDL code. Training the code with just VHDL code would enable the model to learn the grammer of VHDL but that doesn't serve our purpose. So I took assistance from GPT-3.5 to generate the summary of a set of VHDL files which I would use as my dataset <br> <br>
LLM_for_HDL.ipynb contains the data preprocessing, dataset generation and gpt-2 model fine tuning. In Gradio_App_GPT_2_HDL.ipynb I have built a gradion webapp to interact with the finetuned model. <br>
Results :