This repository contains the code for our final year project at Yildiz Technical University.
You can find the models in the following links in huggingfaces' model hub:
This repository comes with a utility package parsakzr/codellm
To install and use the project locally, follow these steps:
- Clone the repository
git clone [repo-url]
cd [repo-name]
- Install the dependencies
pip install -r requirements.txt
Optional: Also, if you want to run the notebooks, you need to install jupyter notebook.
pip install jupyter
The directory structure of the project is as follows:
.
├── finetuning
│ ├── codegen
│ ├── humaneval
│ └── mbpp
├── evaluation
│ ├── evalanalysis.ipynb
│ ├── CodeGen
│ ├── mistral-code
│ ├── phi2-code
│ └── etc.
└── GUI
├── EvalModelOnGradio.ipynb
├── run.py
└── etc.
- In the
finetuning
directory, you can find the code for the finetuning of the models. just run the notebooks in Colab, or locally. - In the
evaluation
directory, you can find the code for the evaluation of the models. - In the
GUI
directory, you can find the code to run the GUI. You can run the GUI by running therun.py
file. or use the notebook to run it in Colab.
To run the UI
cd GUI
pip install -r requirements.txt
python run.py
And then go to given URL in your browser.
Contributions are always welcome! Please create a Pull Request to contribute. If you find any bugs, please report them as issues.
This project is licensed under the MIT License.
- GitHub: parsakzr