Run this model with HF Jobs
Run aviral199/autoreview-agent-code-quality on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/aviral199/autoreview-agent-code-quality. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/aviral199/autoreview-agent-code-quality on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" 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
- 5
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support