Joash2024/code-review-assistant-V3
0
Code Review Assistant V3
This Space provides an automated code review system powered by Gemma-2b-it. It analyzes code and provides suggestions for improvements in multiple categories including issues, improvements, best practices, and security considerations.
Features
- ๐ Automated code review for multiple programming languages
- ๐ก Detailed suggestions for code improvements
- ๐ Security considerations and best practices
- ๐ Review history and performance metrics
- โก GPU-accelerated inference
- ๐จ Clean and intuitive interface
Supported Languages
- Python
- JavaScript
- Java
- C++
- TypeScript
- Go
- Rust
Usage
- Select the programming language from the dropdown
- Paste your code in the input box
- Click "Submit for Review"
- View the detailed review suggestions
- Check the History tab to see previous reviews
- Monitor performance in the Metrics tab
Technical Details
- Model: google/gemma-2b-it
- Framework: Gradio
- Inference: GPU-accelerated with PyTorch
- Persistent storage for review history and metrics
Environment Setup
The Space requires the following environment variables:
HUGGING_FACE_TOKEN: Your Hugging Face token for model accessMODEL_NAME: Defaults to "google/gemma-2b-it"
License
MIT License
