Instructions to use aviral199/autoreview-agent-code-quality with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use aviral199/autoreview-agent-code-quality with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://aviral199/autoreview-agent-code-quality") - Notebooks
- Google Colab
- Kaggle
AutoReview Agent - Code Quality Scorer
A TensorFlow neural network trained to predict code quality scores (0-10).
Model Details
- Framework: TensorFlow/Keras
- Input: 10 code features
- Output: Quality score (0-1)
- Validation Loss: 0.0006
- Precision: 100%
Training
- Dataset: 1000 code samples
- Training samples: 800
- Validation samples: 200
- Hardware: GPU (Tesla T4) on Kaggle
Usage
import tensorflow as tf
import numpy as np
# Load model
model = tf.keras.models.load_model('code_quality_model.keras')
# Extract features from code
features = np.array([[200, 15, 1, 1, 5, 2, 0, 1, 3, 1]])
# Predict
prediction = model.predict(features)
quality_score = prediction[0][0] * 10
print(f"Code Quality: {quality_score:.1f}/10")
Project
Part of AutoReview Agent - Autonomous Code Reviewer
Technologies:
- TensorFlow: Quality detection
- Hugging Face: Model hosting
- LangChain: Agentic reasoning
- OpenRouter 70B: Complex analysis
GitHub: https://github.com/aviral199/autoreview-agent
Trained on Kaggle with GPU acceleration.
- Downloads last month
- 12
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support