Skip to content

πŸ€– AI-Powered Code Generation Assistant | Python & PowerShell | CodeLlama-13B-Instruct | Machine Learning Coding Companion

Notifications You must be signed in to change notification settings

JoshuaFourie/Codelama-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

J's CodeBuddy AI πŸ€–

Overview

J's CodeBuddy AI is an advanced, multi-language programming assistant focused on Python and PowerShell code generation. Powered by CodeLlama-13B-Instruct, this application provides intelligent code generation, training data management, and AI comparison features.

🌟 Features

  • Multi-Language Support:

    • Python code generation
    • PowerShell script creation
    • Automatic language detection
  • AI-Powered Code Generation:

    • Contextual understanding
    • Code block generation
    • Explanation of generated code
  • Training Data Management:

    • Save and organize training examples
    • Compare responses from different AI systems
    • Filter and review training data
  • Customizable Settings:

    • Temperature control for creativity
    • Maximum token length
    • Language-specific prompts

πŸš€ Installation

Prerequisites

  • Python 3.8+
  • CUDA-capable GPU recommended
  • Hugging Face account

Setup Steps

  1. Clone the repository:
git clone https://github.com/JoshuaFourie/Codelama-Python.git
cd codebuddy-ai
  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up Hugging Face Token:
  • Go to Hugging Face Tokens
  • Create a new token with read access
  • Either set an environment variable:
    export HUGGING_FACE_HUB_TOKEN='your_token_here'
    Or input the token when prompted during application startup

Running the Application

python launcher.py

πŸ›  Configuration

  • Modify theme.py to customize app branding
  • Adjust model configurations in model_manager.py

πŸ“Š System Requirements

  • Recommended:
    • GPU with 16GB+ VRAM
    • 32GB RAM
    • AMD Ryzen 7800X3D or equivalent
  • Minimum:
    • 16GB RAM
    • CUDA-capable GPU
    • Python 3.8+

🀝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“œ License

Distributed under the MIT License. See LICENSE for more information.

πŸ™ Acknowledgments

About

πŸ€– AI-Powered Code Generation Assistant | Python & PowerShell | CodeLlama-13B-Instruct | Machine Learning Coding Companion

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published