point refs to final public homes + drop placeholder

#1
by Nekochu - opened
Files changed (3) hide show
  1. Dockerfile +3 -3
  2. README.md +4 -3
  3. app.py +1 -1
Dockerfile CHANGED
@@ -21,7 +21,7 @@ RUN if [ -x /app/llama-server ]; then ln -sf /app/llama-server /usr/local/bin/ll
21
  else ln -sf "$(find / -name llama-server -type f 2>/dev/null | head -1)" /usr/local/bin/llama-server; fi \
22
  && llama-server --version 2>&1 | head -1
23
 
24
- # The GGUF is pulled at RUNTIME by app.py from the PRIVATE model repo using the HF_TOKEN Space secret
25
  # (MODEL_REPO/MODEL_FILE below) - not baked into the image, so the private model never lives in the layers.
26
 
27
  # App code + bundled backend / schema. The tokenizer is NOT bundled - app.py pulls it at runtime from the
@@ -37,10 +37,10 @@ ENV CODEAGENT_PROJ=/app \
37
  CODEAGENT_THREADS=2 \
38
  CODEAGENT_MAX_ITERS=20 \
39
  CODEAGENT_BASH_TIMEOUT=150 \
40
- MODEL_REPO=WeReCooking2/MiniCPM5-1B-Agent-GGUF \
41
  MODEL_FILE=MiniCPM5-1B-Agent-v4-Q8_0.gguf \
42
  HF_HOME=/app/.hf
43
- # HF_TOKEN injected at runtime as a Space SECRET (to read the private model repo).
44
 
45
  # Override the llama.cpp image's entrypoint - we launch the Python app, which spawns llama-server itself.
46
  ENTRYPOINT []
 
21
  else ln -sf "$(find / -name llama-server -type f 2>/dev/null | head -1)" /usr/local/bin/llama-server; fi \
22
  && llama-server --version 2>&1 | head -1
23
 
24
+ # The GGUF is pulled at RUNTIME by app.py from the (now public) model repo - HF_TOKEN optional
25
  # (MODEL_REPO/MODEL_FILE below) - not baked into the image, so the private model never lives in the layers.
26
 
27
  # App code + bundled backend / schema. The tokenizer is NOT bundled - app.py pulls it at runtime from the
 
37
  CODEAGENT_THREADS=2 \
38
  CODEAGENT_MAX_ITERS=20 \
39
  CODEAGENT_BASH_TIMEOUT=150 \
40
+ MODEL_REPO=Luminia/MiniCPM5-1B-Agent-GGUF \
41
  MODEL_FILE=MiniCPM5-1B-Agent-v4-Q8_0.gguf \
42
  HF_HOME=/app/.hf
43
+ # HF_TOKEN optional now the model repo is public (kept for back-compat; popped after download).
44
 
45
  # Override the llama.cpp image's entrypoint - we launch the Python app, which spawns llama-server itself.
46
  ENTRYPOINT []
README.md CHANGED
@@ -27,7 +27,6 @@ Q8_0 GGUF on llama.cpp, no GPU. Give it a task; it reasons in `<think>`, then us
27
  the chat. Multi-turn: files and history persist across messages. It is also exposed as an **MCP tool**
28
  (`run_coding_task` at `/gradio_api/mcp/`).
29
 
30
- ▶️ **Demo video:** `<PASTE_VIDEO_LINK>` · 📣 **Social post:** `<PASTE_DISCORD_POST_LINK>`
31
 
32
  ## What it is
33
 
@@ -58,7 +57,9 @@ shows it working end-to-end, so it can be judged even if a live run is slow).
58
 
59
  ## Model, dataset & full reproduction
60
 
61
- → **[WeReCooking2/MiniCPM5-1B-Agent-GGUF](https://huggingface.co/WeReCooking2/MiniCPM5-1B-Agent-GGUF)** (model card =
62
  the full data mix, SFT/DPO recipe, eval, and exact reproduce commands; v4 dataset bundled under `dataset/`).
63
 
64
- *Built for the Build Small Hackathon · OpenBMB category.*
 
 
 
27
  the chat. Multi-turn: files and history persist across messages. It is also exposed as an **MCP tool**
28
  (`run_coding_task` at `/gradio_api/mcp/`).
29
 
 
30
 
31
  ## What it is
32
 
 
57
 
58
  ## Model, dataset & full reproduction
59
 
60
+ → **[Luminia/MiniCPM5-1B-Agent-GGUF](https://huggingface.co/Luminia/MiniCPM5-1B-Agent-GGUF)** (model card =
61
  the full data mix, SFT/DPO recipe, eval, and exact reproduce commands; v4 dataset bundled under `dataset/`).
62
 
63
+ 💻 **Code on GitHub:** [Katehuuh/MiniCPM5-1B-Agent](https://github.com/Katehuuh/MiniCPM5-1B-Agent) (the Space + the full training pipeline; code reviewed with OpenAI Codex).
64
+
65
+ *Built for the Build Small Hackathon · OpenBMB + OpenAI Codex tracks.*
app.py CHANGED
@@ -976,7 +976,7 @@ WELCOME = (
976
  "run it in a sandbox, read the output, debug, and show the result inline.\n\n"
977
  "&#128202; charts &amp; images &middot; &#128433;&#65039; little web apps &middot; &#129518; compute &amp; web look-ups"
978
  )
979
- _MODEL_REPO = os.environ.get("MODEL_REPO", "WeReCooking2/MiniCPM5-1B-Agent-GGUF")
980
  FOOTER_HTML = (
981
  '<div id="appfooter">'
982
  '<span class="ft-mark">&#9613;</span>'
 
976
  "run it in a sandbox, read the output, debug, and show the result inline.\n\n"
977
  "&#128202; charts &amp; images &middot; &#128433;&#65039; little web apps &middot; &#129518; compute &amp; web look-ups"
978
  )
979
+ _MODEL_REPO = os.environ.get("MODEL_REPO", "Luminia/MiniCPM5-1B-Agent-GGUF")
980
  FOOTER_HTML = (
981
  '<div id="appfooter">'
982
  '<span class="ft-mark">&#9613;</span>'