Skip to content

YA-shiKa/CodeCraft-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 CodeCraft AI — Code Generator using LLMs

CodeCraft AI is a full-stack application that generates code snippets in various programming languages based on natural language prompts. Built with a React frontend and a Flask backend, it uses a powerful language model (StarCoderBase 1B) to produce context-aware code for Python, JavaScript, Java, C++, and C#.


🌟 Features

  • 🎯 Natural language prompt to code conversion
  • 🧠 Supports multiple programming languages
  • ✨ Responsive UI built with Tailwind CSS
  • 🔒 Backend powered by Hugging Face Transformers
  • 🔁 Frontend + backend integrated and runs together
  • 📦 Supports both simple and complex code generation

🖼️ Preview

image

image


🛠️ Tech Stack

Frontend Backend Model Styling
React + Vite Flask (Python) StarCoderBase-1B via HuggingFace Tailwind CSS

💡 Example Prompts

  • sort an array using quicksort in java
  • create a login form in html and css
  • find prime numbers using sieve of eratosthenes in c++
  • write a Java method that finds the longest substring without repeating characters from a given string.

🧠 Model Used

  • bigcode/starcoderbase-1b

  • Hosted via Hugging Face Transformers

  • Used locally with AutoModelForCausalLM and AutoTokenizer


🙋‍♀️ Author

● Maligi Yashika

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors