Giter Club home page Giter Club logo

ytu-bitirme's Introduction

Code Generation with LLMs

License

Description

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:

Table of Contents

Installation

This repository comes with a utility package parsakzr/codellm

To install and use the project locally, follow these steps:

  1. Clone the repository
git clone [repo-url]
cd [repo-name]
  1. 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

Usage

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 the run.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.

Contributing

Contributions are always welcome! Please create a Pull Request to contribute. If you find any bugs, please report them as issues.

License

This project is licensed under the MIT License.

Contact

References

ytu-bitirme's People

Contributors

parsakzr avatar mamamia140 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.