Spaces:
Sleeping
Sleeping
JavaScript Code‑Reviewer SFT Space
This Space hosts a small, CPU‑only SFT‑tuned CodeGen model that reads a git diff + guidelines
and returns a JSON array of { line: int, comment: str }
.
- API endpoint:
/predict
- Inputs:
diff
(string),guidelines
(string) - Output: JSON list of review comments.
To retrain locally, run:
pip install -r requirements.txt
python train_sft.py