Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🤖 AI-Powered Code Generation Assistant | Python & PowerShell | CodeLlama-13B-Instruct | Machine Learning Coding Companion

NotificationsYou must be signed in to change notification settings

JoshuaFourie/Codelama-Python

Repository files navigation

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.gitcd codebuddy-ai
  1. Create a virtual environment:
python -m venv venvsource venv/bin/activate# On Windows, use `venv\Scripts\activate`
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up Hugging Face Token:
  • Go toHugging 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

  • Modifytheme.py to customize app branding
  • Adjust model configurations inmodel_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. SeeLICENSE 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

[8]ページ先頭

©2009-2025 Movatter.jp