SurbhiB/codegen
0
Codegen
A FastAPI project use to generate the code snippets based on the input given.
We are using Granite-3B-Code-Base code model designed for code generative tasks.
๐ How to start app
Make sure you have python 3.10 or higher installed. First install the dependencies.
Installation of transformers:
git clone https://github.com/huggingface/transformers
cd transformers/
pip install ./Installing required packages:
pip install -r requirements.txtManually
- Start with unicorn
pip install unicorn
uvicorn index:app --reloadAPI documentation: (Change the doamin-port accordingly)
http://localhost:8000/docs/