Spaces:
Sleeping
Sleeping
Joash
commited on
Commit
·
d38e037
1
Parent(s):
5960b88
Update app with CPU-first approach
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 🤖
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
hf_oauth: false
|
|
@@ -28,6 +28,7 @@ An automated code review system powered by Gemma-2b that provides intelligent co
|
|
| 28 |
- Uses Gemma-2b for intelligent code analysis
|
| 29 |
- Tracks model performance and accuracy
|
| 30 |
- Monitors response times and token usage
|
|
|
|
| 31 |
|
| 32 |
### Performance Monitoring
|
| 33 |
- Real-time metrics dashboard
|
|
@@ -48,6 +49,13 @@ The following environment variables need to be set in your Hugging Face Space:
|
|
| 48 |
- `HUGGING_FACE_TOKEN`: Your Hugging Face API token (required)
|
| 49 |
- `MODEL_NAME`: google/gemma-2b-it (default)
|
| 50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
## License
|
| 52 |
|
| 53 |
-
This project is licensed under the MIT License.
|
|
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.0.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
hf_oauth: false
|
|
|
|
| 28 |
- Uses Gemma-2b for intelligent code analysis
|
| 29 |
- Tracks model performance and accuracy
|
| 30 |
- Monitors response times and token usage
|
| 31 |
+
- Optimized for both CPU and GPU execution
|
| 32 |
|
| 33 |
### Performance Monitoring
|
| 34 |
- Real-time metrics dashboard
|
|
|
|
| 49 |
- `HUGGING_FACE_TOKEN`: Your Hugging Face API token (required)
|
| 50 |
- `MODEL_NAME`: google/gemma-2b-it (default)
|
| 51 |
|
| 52 |
+
## Hardware Configuration
|
| 53 |
+
|
| 54 |
+
This Space uses:
|
| 55 |
+
- Hardware: A10G Small
|
| 56 |
+
- Memory: Optimized for both CPU and GPU
|
| 57 |
+
- Fallback: Graceful degradation to CPU if needed
|
| 58 |
+
|
| 59 |
## License
|
| 60 |
|
| 61 |
+
This project is licensed under the MIT License.
|