Skip to content

sush-sp777/CodeHelper-using-codellama-7b

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CodeHelper using CodeLlama-7B

A coding assistant built with CodeLlama-7B,Langchain and Gradio.
This app allows you to ask coding-related questions and get helpful answers in a conversational interface.


🚀 Features

  • Chat with CodeHelper, your AI coding assistant.
  • Supports multiple programming languages:
    • Python, JavaScript, Java, C++, HTML/CSS, SQL, Linux commands, and more.
  • Clean and interactive Gradio interface.
  • Maintains conversation history for follow-up questions.
  • Easy to deploy locally.

🛠️ Installation

  1. Install Ollama: Download and install Ollama from https://ollama.com .

  2. Pull the CodeLlama-7B model:

ollama pull codellama:7b
  1. Clone the repository:
git clone https://github.com/sush-sp777/CodeHelper-using-codellama-7b.git
cd CodeHelper-using-codellama-7b
  1. Create a virtual environment and activate it:
python -m venv venv
# Windows
venv\Scripts\activate
# Mac/Linux
source venv/bin/activate
  1. Install required Python packages:
pip install gradio langchain requests
  1. Run the Gradio app:
python app.py

⚡ Usage

  • Type your coding question in the input box.
  • Click Submit.
  • The assistant will respond in the output box.
  • Follow-up questions are maintained in conversation history.

About

A conversational coding assistant built with CodeLlama-7B, LangChain, and Gradio.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages