This repository contains the material for the study on: **Automatic Generation of Fine-Grained Source Code Templates using Language Models**. ### Setup Pre-requests: python == 3.9.2 tqdm == 4.64.0 treelib == 1.6.1 numpy == 1.21.6 torch == 1.12.0+cu113 pytorch_lightning == 1.6.3 ### Get & prepare dataset Download the preprocessed java dataset from: https://www.sciencedirect.com/science/article/abs/pii/S0164121222002291 To prepare train, dev and test sets run: `python data_splits.py -i data/java -o data/splits/java` ### Model Training To train the model run: `python trainer.py -i data/splits/java -o saveModels/java -m ActiveTrans or ActiveTransPlus` ### Model Testing To evaluate the model run: `python evaluator.py -...
Templates are a very common solution to generate code. They are used for different tasks like render...
Templates are a very common solution to generate code. They are used for different tasks like render...
Templates are a very common solution to generate code. They are used for different tasks like render...
I hereby declare that I am the sole author of this thesis. This is a true copy of the thesis, includ...
Templates are used to generate all kinds of text, including computer code. The last decade, the use ...
Templates are used to generate all kinds of text, including computer code. The last decade, the use ...
Templates are used to generate all kinds of text, including computer code. The last decade, the use ...
Creating software is a process of refining a concept to an implementation. This process consists of ...
Templates are used to generate all kinds of text, including computer code. The last decade, the use ...
Programs that auto-generate code generally produce output from a combination of fixed text and varia...
This final-year project will cover data cleaning and refinement to improve the quality of data for v...
Templates are a very common solution to generate code. They are used for different tasks like render...
Templates are a very common solution to generate code. They are used for different tasks like render...
Domain-specific languages describe specific solutions to problems in the application domain. Traditi...
Templates are a very common solution to generate code. They are used for different tasks like render...
Templates are a very common solution to generate code. They are used for different tasks like render...
Templates are a very common solution to generate code. They are used for different tasks like render...
Templates are a very common solution to generate code. They are used for different tasks like render...
I hereby declare that I am the sole author of this thesis. This is a true copy of the thesis, includ...
Templates are used to generate all kinds of text, including computer code. The last decade, the use ...
Templates are used to generate all kinds of text, including computer code. The last decade, the use ...
Templates are used to generate all kinds of text, including computer code. The last decade, the use ...
Creating software is a process of refining a concept to an implementation. This process consists of ...
Templates are used to generate all kinds of text, including computer code. The last decade, the use ...
Programs that auto-generate code generally produce output from a combination of fixed text and varia...
This final-year project will cover data cleaning and refinement to improve the quality of data for v...
Templates are a very common solution to generate code. They are used for different tasks like render...
Templates are a very common solution to generate code. They are used for different tasks like render...
Domain-specific languages describe specific solutions to problems in the application domain. Traditi...
Templates are a very common solution to generate code. They are used for different tasks like render...
Templates are a very common solution to generate code. They are used for different tasks like render...
Templates are a very common solution to generate code. They are used for different tasks like render...
Templates are a very common solution to generate code. They are used for different tasks like render...