Hermes Bot commited on
Commit ·
fa78a42
1
Parent(s): 31d43b0
Co-Authored-By: Nanoboozhoo <nanoboozhoo@git-aaaki>
Files changed (2)
- INTELLIGENCE.mdAdded+227
- llms.txt+63-20
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227# Build Small Hackathon — Full Intelligence Dump# Compiled 2026-06-08
## New Resources (not in original HACKATHON_README.md)
### gr.Server — True Custom Frontends (Off-Brand Badge Key)- **Blog:** https://huggingface.co/blog/introducing-gradio-server- **Docs:** https://www.gradio.app/main/guides/server-mode- `gradio.Server` inherits from FastAPI — you can serve ANY HTML/CSS/JS frontend while keeping Gradio's queuing, concurrency, SSE streaming, and ZeroGPU support.- Frontend connects via `@gradio/client` JS library using `client.predict()`- This is the REAL Off-Brand path — not just custom CSS on gr.Blocks- **Action:** Upgrade FocusFriend to gr.Server with a fully custom vanilla HTML/JS frontend
### ML Intern — Autonomous ML Agent- **Repo:** https://github.com/huggingface/ml-intern- Autonomous agent that researches, writes, and ships ML code using HF ecosystem- Can be used WITH our projects for Sharing is Caring badge (agent traces)- CLI tool: `ml-intern "build a TTS app"` — it researches and codes autonomously- **Action:** Run ml-intern on our projects, share traces to Hub
### gr.Server Code Pattern (for FocusFriend upgrade)```pythonfrom gradio import Serverfrom fastapi.responses import HTMLResponse
app = Server()
@app.api(name="chat")def chat_endpoint(message: str, history: list) -> dict: # LLM inference here return {"response": "...", "mood": "focus"}
@app.get("/", response_class=HTMLResponse)async def homepage(): with open("index.html") as f: return f.read()
app.launch()```
Frontend (index.html) uses vanilla HTML/CSS/JS + @gradio/client library:```javascriptimport { Client } from "@gradio/client";const client = await Client.connect(window.location.origin);const result = await client.predict("/chat", { message, history });```
---
## Competition Landscape — What's Already Submitted
### Spaces in the Org (213 total — 6 sampled)| Space | Concept | Track ||-------|---------|-------|| mind-of-tashi | AI consciousness sim | Thousand Token Wood || vivamais | Health/wellness AI | Backyard AI || split-brain-copilot | Dual-perspective AI assistant | Thousand Token Wood || lolaby | Lullaby/audio generation | Backyard AI || NPCverse | AI NPC dialogue system | Thousand Token Wood || museum-of-unlived-lives | Generative art/storytelling | Thousand Token Wood |
### Models Published (32 total)Notable fine-tunes (proving Well-Tuned badge is achievable):- mind-of-tashi-micro-grpo (GRPO fine-tune)- NeuroBait- flux-costume-booth-lora (LoRA for Flux)- tiny-quest-radio-aya-lora (LoRA fine-tune)- pocket-tutor-minicpmv-socratic
### Datasets Published (22 total) — Sharing is Caring in action- mind-of-tashi-runs (agent traces)- 1000-Rooms-traces- hackathon-advisor-codex-traces- bedtime-story-machine-trace- jawbreaker-scam-defense-data
### Blog Posts (12 Field Notes examples)- ClinIQ: On-device pharmacist- Thousand Token Wood sim v2/v3- Building Pakistan Notice Helper- Amazing Digital Dentures- Room360: Video to 3D reconstruction- Mythograph Atelier- Her · हेर- Job Searcher- Persona Atlas
---
## Gap Analysis — What We Haven't Covered
### Badges NOT Yet Targeted| Badge | Status | How to Get It ||-------|--------|---------------|| 🦙 Llama Champion | ❌ | Need to run model through llama.cpp runtime directly (not just llama-cpp-python) || 📡 Sharing is Caring | ❌ | Need to publish agent traces to HF Hub || 🎨 Off-Brand (true) | ⚠️ Partial | FocusFriend has custom CSS but should use gr.Server for full custom frontend || 🎯 Well-Tuned | ❌ | Need to actually fine-tune and publish a model |
### Sponsor Prizes NOT Targeted| Sponsor | Prize | How to Target ||---------|-------|---------------|| NVIDIA | 2× RTX 5080 | Build with Nemotron models || Cohere | $5K cash | Use Cohere models (Command R, etc.) || Black Forest Labs | $3K cash | Use Flux image models || Modal | $20K credits | Deploy on Modal infrastructure |
### Special Awards NOT Targeted| Award | Prize | How to Target ||-------|-------|---------------|| Tiny Titan | $1,000 | App using ≤4B param model || Bonus Quest Champion | $2,000 | Most badges on single submission || Best Demo | $1,500 | Best video + social post package |
---
## Third Project Ideas — Fill the Gaps
### Option A: "Tiny Bard" — Micro-Adventure Generator- **Track:** Thousand Token Wood- **Model:** Qwen 2.5 1.5B or Phi-4-mini (3.8B) — Tiny Titan eligible- **Runtime:** llama.cpp (Llama Champion badge)- **Concept:** Tiny LLM generates interactive text adventures. Each playthrough is 5 minutes. The AI creates rooms, NPCs, items, and branching narratives on the fly.- **Frontend:** gr.Server with custom pixel-art/terminal UI- **Badges:** 🦙 Llama Champion · 🏆 Tiny Titan · 🎨 Off-Brand · 🔌 Off the Grid · 📓 Field Notes- **Prize targets:** Tiny Titan ($1K) · Thousand Token Wood ($4K-$1K) · Bonus Quest Champion potential
### Option B: "CritterCalm Mini" — Tiny Titan Edition- **Track:** Backyard AI- **Model:** Replace Dolphin-X1-8B with Qwen 2.5 1.5B — Tiny Titan eligible- **Concept:** Slim version of CritterCalm that runs on ANY hardware. Just the calming templates + Kokoro TTS.- **Badges:** 🏆 Tiny Titan · 🔌 Off the Grid- **Effort:** Low (mostly repackaging existing work)
### Option C: "DreamSnap" — Surreal Pet Portrait Generator- **Track:** Thousand Token Wood- **Model:** Black Forest Labs Flux (small variant) + small LLM- **Concept:** Describe your pet → generate surreal/delightful pet portraits. AI co-creates the art.- **Badges:** 🎨 Off-Brand · 📓 Field Notes- **Prize targets:** Black Forest Labs sponsor prize ($3K) · Thousand Token Wood
### Option D: "TraceShare" — Agent Trace Publisher- **Concept:** Utility tool that helps ALL hackathon participants share agent traces easily- **Use ML Intern** to generate traces, then publish to HF Hub- **Badges:** 📡 Sharing is Caring (applied to multiple projects)- **Effort:** Very low — just run ml-intern, capture traces, publish
---
## Recommended Action Plan (June 8-15)
### Priority 1: Upgrade Existing Projects1. **FocusFriend → gr.Server** — Replace gr.Blocks with fully custom HTML/JS frontend - True Off-Brand badge qualification - Keep all existing Pip personality + mode logic2. **CritterCalm → Add llama.cpp runtime** — Get Llama Champion badge3. **Both → Share agent traces** — Run ml-intern, publish traces to Hub
### Priority 2: Quick Win — Tiny Titan4. **Build "CritterCalm Mini"** — Slim version with ≤4B params - Same app structure, smaller model - Gets Tiny Titan award eligibility
### Priority 3: Third Project (if time permits)5. **Build "Tiny Bard"** — Micro-adventure generator - Hits 5 badges at once (Llama Champion, Tiny Titan, Off-Brand, Off the Grid, Field Notes) - Strong Bonus Quest Champion candidate
---
## Updated Badge Strategy Per Project
### CritterCalm| Badge | Status | Action ||-------|--------|--------|| 🔌 Off the Grid | ✅ Built local | Verify no API calls || 🎯 Well-Tuned | ⬜ | Fine-tune OmniVoice on pet-directed speech || 📓 Field Notes | ✅ Draft written | Polish and publish || 📡 Sharing is Caring | ⬜ | Run with ml-intern, publish traces || 🦙 Llama Champion | ⬜ | Add llama.cpp server mode option |
### FocusFriend| Badge | Status | Action ||-------|--------|--------|| 🎨 Off-Brand | ⚠️ Partial | Upgrade to gr.Server custom frontend || 🔌 Off the Grid | ✅ Built local | Verify no API calls || 📓 Field Notes | ✅ Draft written | Polish and publish || 📡 Sharing is Caring | ⬜ | Run with ml-intern, publish traces || 🦙 Llama Champion | ⚠️ Partial | Already uses llama-cpp-python — add llama.cpp server flag |
### Tiny Bard (New)| Badge | Status ||-------|--------|| 🦙 Llama Champion | ✅ llama.cpp native || 🏆 Tiny Titan | ✅ ≤4B model || 🎨 Off-Brand | ✅ gr.Server custom UI || 🔌 Off the Grid | ✅ Fully local || 📓 Field Notes | To write |
---
## Links Repository
### Hackathon Official- Org: https://huggingface.co/build-small-hackathon- Discord: https://discord.gg/YHECTft87Z- README Space: https://huggingface.co/spaces/build-small-hackathon/README
### Tools & Kits- ML Intern: https://github.com/huggingface/ml-intern- Gradio Quickstart: https://www.gradio.app/guides/quickstart- gr.Server Blog: https://huggingface.co/blog/introducing-gradio-server- gr.Server Docs: https://www.gradio.app/main/guides/server-mode- llama.cpp: https://github.com/ggml-org/llama.cpp
### Our Repos- Monorepo: (this)- CritterCalm: https://github.com/nbiish/crittercalm- FocusFriend: https://github.com/nbiish/focusfriend
### Models We're Using- OmniVoice: https://github.com/k2-fsa/OmniVoice- Dolphin-X1-8B: https://huggingface.co/dphn/Dolphin-X1-8B-GGUF- Gemma 4 12B: https://huggingface.co/unsloth/gemma-4-12b-it-GGUF- Kokoro TTS: https://github.com/thewh1teagle/kokoro-onnx112334567878910119101112131415161716171818192021212222232425262728252629303132333429303536373839404142434445464748495051525354555657585960616263373864656667414268697071727374757677787980818283848586878889# Build Small Hackathon — PRD# Project Name PRD — Project Requirements Document# Project Requirements Document
> Project Description — Project Purpose> Three Gradio apps targeting all tracks + maximum badges + sponsor prizes.> Hack window: June 5-15, 2026. Deadline: June 15.
## Overview
- **Name:** Project Name- **Version:** 0.1.0- **Description:** Project Description- **Purpose:** Project Purpose- **UX:** CLI, GUI, both, or else?- **Name:** Build Small Hackathon 2026 — Team nbiish- **Version:** 0.2.0- **Description:** Multi-project hackathon entry targeting $48K+ prize pool across Backyard AI and Thousand Token Wood tracks. Three Gradio apps using small models (≤32B) with maximum bonus badge coverage.- **Purpose:** Win prizes across tracks, badges, and sponsor categories by building delightful, useful AI apps that run locally.- **UX:** Gradio web apps (gr.Blocks + gr.Server custom frontends), hosted on HF Spaces.
## Rules
### Naming & Comments
- Use descriptive names- Document code with comments- Descriptive names: CritterCalm, FocusFriend, TinyBard- Docstrings on all public functions. Comments on non-obvious logic.
### Always
- - Models ≤ 32B total params per project- Gradio app hosted as HF Space under build-small-hackathon org- Local-first (no cloud APIs = Off the Grid badge)- GGUF quantized models for local inference- Python 3.10+ with pinned requirements
### Never
- - Cloud API calls in production path- Hardcoded secrets or API keys- Models > 32B params- Default Gradio look without customization attempt
### If
- - If gr.Server is feasible → use it for Off-Brand badge- If model ≤ 4B → tag Tiny Titan eligible- If using llama.cpp runtime → tag Llama Champion- If fine-tuning is done → publish model to HF Hub
## Projects
### 1. CritterCalm (Backyard AI)- **Status:** Code complete. Needs: testing, HF deploy, demo video.- **Stack:** OmniVoice (0.6B) + Dolphin-X1-8B (8B) + Kokoro TTS (82M) = 8.7B- **Badges:** Off the Grid, Well-Tuned (TBD), Field Notes, Llama Champion (TBD)
### 2. FocusFriend (Thousand Token Wood)- **Status:** Code complete. Needs: gr.Server upgrade, testing, HF deploy, demo video.- **Stack:** Gemma 4 12B (12B) via llama-cpp-python- **Badges:** Off-Brand (upgrade to gr.Server), Off the Grid, Field Notes
### 3. TinyBard (Thousand Token Wood + Tiny Titan + Llama Champion)- **Status:** NOT STARTED. New project idea.- **Concept:** ≤4B LLM generates 5-min interactive text adventures. Terminal/pixel-art aesthetic.- **Stack:** Qwen 2.5 1.5B or Phi-4-mini (3.8B) via llama.cpp- **Badges:** Llama Champion, Tiny Titan, Off-Brand (gr.Server), Off the Grid, Field Notes- **Prize targets:** Tiny Titan ($1K), Thousand Token Wood track, Bonus Quest Champion potential
## TODO
> Keep tasks atomic and testable.
### In Progress
- [ ] - [ ] Upgrade FocusFriend to gr.Server custom frontend- [ ] Test both apps locally with real models
### Completed
- [ ] - [x] CritterCalm v1 code complete (11 files)- [x] FocusFriend v1 code complete (16 files)- [x] GitHub repos created (nbiish/crittercalm, nbiish/focusfriend)- [x] Monorepo structure with projects/ directory- [x] INTELLIGENCE.md — full hackathon landscape analysis- [x] SUBMISSION_DRAFTS.md — social posts + Field Notes drafts
## Short-term Goals- Deploy both projects to HF Spaces under build-small-hackathon org- Download + verify all GGUF models locally- Test CritterCalm voice cloning pipeline end-to-end- Test FocusFriend all 4 modes- Record demo videos (2-3 min each)- Post to social media- Build TinyBard if time permits- Share agent traces to HF Hub (Sharing is Caring badge)
## Reference Codebases- CritterCalm: projects/crittercalm/ + github.com/nbiish/crittercalm- FocusFriend: projects/focusfriend/ + github.com/nbiish/focusfriend- ML Intern: github.com/huggingface/ml-intern- gr.Server examples: huggingface.co/blog/introducing-gradio-serverINTELLIGENCE.mdAdded+227
llms.txt+63-20