Views
No views yet
1docker pull ghcr.io/iq2i/ai-code-review:javascript-latest
2docker run --rm -v $(pwd):/workspace ghcr.io/iq2i/ai-code-review:javascript-latest /workspace/src1# Download the model
2wget https://huggingface.co/loicsapone/ai-code-review-javascript/resolve/main/model-Q4_K_M.gguf
3
4# Run inference
5./llama-cli -m model-Q4_K_M.gguf -p "Review this code: ..."1from llama_cpp import Llama
2
3llm = Llama(model_path="model-Q4_K_M.gguf")
4output = llm("Review this code: ...", max_tokens=512)
5print(output)1{
2 "summary": "Brief overview of code quality",
3 "score": 8,
4 "issues": [
5 {
6 "type": "bug",
7 "severity": "medium",
8 "line": 42,
9 "description": "Potential null pointer",
10 "suggestion": "Add null check"
11 }
12 ],
13 "positive_points": [
14 "Good error handling",
15 "Clear variable names"
16 ]
17}1@software{ai_code_review_javascript,
2 title = {AI Code Review Model for Javascript},
3 author = {IQ2i Team},
4 year = {2025},
5 url = {https://github.com/iq2i/ai-code-review}
6}