CoolFace
Modelpublic

dnnsdunca/Logical_Algorithm

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes
Model Card

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. 1.Install dependencies:
bash
    pip install -r requirements.txt
  1. 1.Train the model:
bash
    python model_training.py
  1. 1.Run the FastAPI server:
bash
    uvicorn app:app --reload
  1. 1.Open index.html in your browser to interact with the model.