Skip to content

🔠 An automatic code translator from any coding language to any other

Notifications You must be signed in to change notification settings

dusklight00/ai-code-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🔠 An automatic code translator from any coding language to any other

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published