marzoukbaig14 commited on
Commit
73135f7
·
verified ·
1 Parent(s): 5fd11be

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +33 -11
README.md CHANGED
@@ -1,15 +1,37 @@
1
  ---
2
- title: Committed Api
3
- emoji: 💻
4
- colorFrom: gray
5
- colorTo: purple
6
- sdk: gradio
7
- sdk_version: 6.19.0
8
- python_version: '3.13'
9
- app_file: app.py
10
  pinned: false
11
- license: mit
12
- short_description: Demo on personal webiste via vercel + fastapi
13
  ---
14
 
15
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Committed API
3
+ emoji: 🤖
4
+ colorFrom: indigo
5
+ colorTo: gray
6
+ sdk: docker
7
+ app_port: 7860
 
 
8
  pinned: false
 
 
9
  ---
10
 
11
+ # Committed — Inference API
12
+
13
+ Headless FastAPI inference service for [Committed](https://github.com/marzoukbaig14/Committed):
14
+ a Qwen3-1.7B QLoRA fine-tune that generates Conventional Commits messages from code
15
+ diffs, served on CPU via llama.cpp with GBNF grammar-constrained decoding.
16
+
17
+ This Space exposes the HTTP contract; it has no UI. For the interactive demo, see the
18
+ Gradio Space.
19
+
20
+ ## Endpoints
21
+
22
+ - `POST /generate` — body `{"diff": "<unified diff>"}` → `{"message": "<commit message>"}`
23
+ - `GET /health` — `{"status": "ok"}` once the model is loaded
24
+ - `GET /docs` — interactive Swagger UI (FastAPI default)
25
+
26
+ ## Model
27
+
28
+ Serves the fine-tuned GGUF `marzoukbaig14/committed-gguf` /
29
+ `committed-finetuned-Q4_K_M.gguf` (the serving artifact of record, ADR 0048).
30
+ Overridable via the `COMMITTED_MODEL_REPO` / `COMMITTED_MODEL_FILE` Space Variables.
31
+
32
+ ## Notes
33
+
34
+ The container builds by installing the `committed` package from GitHub (the single
35
+ source of truth). The model is pulled from the Hub at first startup and cached, so the
36
+ first boot is slower than subsequent ones. The Space may sleep after a period of
37
+ inactivity; the first request after a sleep incurs a cold start.