A simple react web app made with Vite and Chakra UI that translates code from one language to another using Sequence to Sequence Transformer model. The model is trained on a dataset of 2 million code snippets from 9 different programming languages. The model is trained using the Hugging Face's transformers library and the code is written in PyTorch.
To install the required dependencies, use the command
pip install -r requirements.txtOnce all the dependencies are installed, use this command to run the backend server
python main.pyUse the command to install all the frontned dependencies
cd view
npm installThen use this command to run the frontend
npm run dev