Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 807 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 807 Bytes

AI Code Translator

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.txt

Once all the dependencies are installed, use this command to run the backend server

python main.py

Use the command to install all the frontned dependencies

cd view
npm install

Then use this command to run the frontend

npm run dev

Working Demo

Screen Record