Adapters
English
code

Code Generator with Chat Interface

This project trains a code generator model using Hugging Face's GPT-2 and deploys it with a chat interface using FastAPI and CodeMirror for syntax highlighting.

Setup

  1. Install dependencies:

    pip install -r requirements.txt
    
  2. Train the model:

    python model_training.py
    
  3. Run the FastAPI server:

    uvicorn app:app --reload
    
  4. Open index.html in your browser to interact with the model.

Downloads last month
0
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The model has no pipeline_tag.

Dataset used to train dnnsdunca/Logical_Algorithm