Spaces:
Running on Zero
Running on Zero
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +71 -19
- assets/example-chat.png +3 -0
- assets/neurobait-logo.jpg +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
neurobait-logo.jpg filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
neurobait-logo.jpg filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/example-chat.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -18,39 +18,68 @@ tags:
|
|
| 18 |
- achievement:fieldnotes
|
| 19 |
---
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
# NeuroBait
|
| 22 |
|
| 23 |
NeuroBait is an ADHD-friendly companion for task initiation: a warm space and a
|
| 24 |
gentle boost for the moment when starting feels heavier than the task itself.
|
| 25 |
|
| 26 |
-
It
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
-
|
| 33 |
-
|
|
|
|
| 34 |
|
| 35 |
## Build Small Hackathon Submission
|
| 36 |
|
| 37 |
- Primary track: **Backyard AI**
|
| 38 |
-
- Why this track: NeuroBait
|
| 39 |
-
|
| 40 |
-
|
| 41 |
- Bonus quest fit: **Well-Tuned**, because the Space uses a published LoRA
|
| 42 |
adapter fine-tuned for NeuroBait's voice and behavior.
|
| 43 |
-
- Bonus quest fit: **Off-Brand**, because the app uses custom Gradio styling
|
| 44 |
-
product copy
|
|
|
|
| 45 |
- Sponsor fit: **Modal-powered**, because fine-tuning and generation evaluation
|
| 46 |
were run on Modal GPU infrastructure.
|
| 47 |
|
| 48 |
NeuroBait was fine-tuned with Modal and deployed as a Gradio app on Hugging Face
|
| 49 |
ZeroGPU.
|
| 50 |
|
| 51 |
-
## What
|
| 52 |
|
| 53 |
-
The app is intentionally narrow. NeuroBait
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
- respond in concise, natural prose,
|
| 56 |
- preserve the user's agency,
|
|
@@ -70,6 +99,18 @@ response style slightly:
|
|
| 70 |
The mood input does not change the safety scope. It only nudges the app-level
|
| 71 |
prompting and presentation.
|
| 72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
## Model And Runtime
|
| 74 |
|
| 75 |
- Base model: `unsloth/gemma-3-12b-it`
|
|
@@ -80,12 +121,10 @@ prompting and presentation.
|
|
| 80 |
- Quantization: 4-bit bitsandbytes NF4 inside the `@spaces.GPU` window
|
| 81 |
|
| 82 |
Unsloth is used for training, not for Space inference. The deployed app uses the
|
| 83 |
-
standard `transformers` + `peft` path so the public demo can load the Gemma 3
|
| 84 |
-
base model plus the NeuroBait LoRA adapter on Hugging Face ZeroGPU.
|
| 85 |
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
Expected environment variables:
|
| 89 |
|
| 90 |
```text
|
| 91 |
BASE_MODEL=unsloth/gemma-3-12b-it
|
|
@@ -121,6 +160,19 @@ Generation eval over 8 held-out or novel prompts:
|
|
| 121 |
- Base label leaks: 5
|
| 122 |
- Fine-tuned label leaks: 0
|
| 123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
## Related Repos
|
| 125 |
|
| 126 |
- Model adapter: https://huggingface.co/build-small-hackathon/NeuroBait
|
|
|
|
| 18 |
- achievement:fieldnotes
|
| 19 |
---
|
| 20 |
|
| 21 |
+
<p align="center">
|
| 22 |
+
<img src="assets/neurobait-logo.jpg" alt="NeuroBait logo" width="420" />
|
| 23 |
+
</p>
|
| 24 |
+
|
| 25 |
# NeuroBait
|
| 26 |
|
| 27 |
NeuroBait is an ADHD-friendly companion for task initiation: a warm space and a
|
| 28 |
gentle boost for the moment when starting feels heavier than the task itself.
|
| 29 |
|
| 30 |
+
It started from a simple observation: sometimes the hard part is not knowing
|
| 31 |
+
what to do. The hard part is crossing the gap between knowing and starting. A
|
| 32 |
+
to-do list can be technically correct and still feel like one more thing to
|
| 33 |
+
carry. NeuroBait is built for that freeze moment.
|
| 34 |
+
|
| 35 |
+
Instead of giving a productivity lecture, NeuroBait tries to offer a small
|
| 36 |
+
spark: short, warm, agency-preserving language that reconnects the user with
|
| 37 |
+
what matters and lowers the first move until it feels possible. No shame, no
|
| 38 |
+
streak pressure, no diagnostic framing, and no visible prompt labels like
|
| 39 |
+
`Micro-action`, `Hook`, or `Stakes`.
|
| 40 |
+
|
| 41 |
+
This Space runs a fine-tuned model through the app itself. It does not call an
|
| 42 |
+
external hosted LLM API for chat responses.
|
| 43 |
+
|
| 44 |
+
## Try It
|
| 45 |
+
|
| 46 |
+
- Live Space: https://huggingface.co/spaces/build-small-hackathon/NeuroBait
|
| 47 |
+
- Direct app host: https://build-small-hackathon-neurobait.hf.space
|
| 48 |
+
- Demo video: https://www.youtube.com/watch?v=-EJ06hOgyd0
|
| 49 |
+
- Story article: https://huggingface.co/blog/build-small-hackathon/neurobait-adhd
|
| 50 |
+
- Model adapter: https://huggingface.co/build-small-hackathon/NeuroBait
|
| 51 |
+
- Source repo: https://github.com/Subrata15/NeuroBait-Build-Small-Model
|
| 52 |
+
|
| 53 |
+
## Sample Chat
|
| 54 |
|
| 55 |
+
<p align="center">
|
| 56 |
+
<img src="assets/example-chat.png" alt="Example NeuroBait chat screenshot" width="760" />
|
| 57 |
+
</p>
|
| 58 |
|
| 59 |
## Build Small Hackathon Submission
|
| 60 |
|
| 61 |
- Primary track: **Backyard AI**
|
| 62 |
+
- Why this track: NeuroBait was built from a real household problem and a real
|
| 63 |
+
daily friction - the moment when a person already knows the task matters but
|
| 64 |
+
still cannot begin.
|
| 65 |
- Bonus quest fit: **Well-Tuned**, because the Space uses a published LoRA
|
| 66 |
adapter fine-tuned for NeuroBait's voice and behavior.
|
| 67 |
+
- Bonus quest fit: **Off-Brand**, because the app uses custom Gradio styling,
|
| 68 |
+
product copy, mood input, and a NeuroBait-specific chat experience instead of
|
| 69 |
+
the default chatbot shell.
|
| 70 |
- Sponsor fit: **Modal-powered**, because fine-tuning and generation evaluation
|
| 71 |
were run on Modal GPU infrastructure.
|
| 72 |
|
| 73 |
NeuroBait was fine-tuned with Modal and deployed as a Gradio app on Hugging Face
|
| 74 |
ZeroGPU.
|
| 75 |
|
| 76 |
+
## What NeuroBait Does
|
| 77 |
|
| 78 |
+
The app is intentionally narrow. NeuroBait does not try to become a therapist,
|
| 79 |
+
planner, diagnosis tool, or productivity operating system. It is designed for
|
| 80 |
+
one useful behavior: helping a stuck person find a lighter first move.
|
| 81 |
+
|
| 82 |
+
NeuroBait should:
|
| 83 |
|
| 84 |
- respond in concise, natural prose,
|
| 85 |
- preserve the user's agency,
|
|
|
|
| 99 |
The mood input does not change the safety scope. It only nudges the app-level
|
| 100 |
prompting and presentation.
|
| 101 |
|
| 102 |
+
## Why Fine-Tune?
|
| 103 |
+
|
| 104 |
+
The base model is capable, but capability alone was not the target. Out of the
|
| 105 |
+
box, a model often responds with helpful-looking structure: long paragraphs,
|
| 106 |
+
bold labels, bullet lists, and generic encouragement. For someone already
|
| 107 |
+
overwhelmed, that can become another wall of text.
|
| 108 |
+
|
| 109 |
+
The fine-tune was trained to learn NeuroBait's voice and behavior layer:
|
| 110 |
+
shorter responses, warmer framing, fewer assumptions, and no leaked internal
|
| 111 |
+
recipe labels. The goal was not to make a general assistant. The goal was to
|
| 112 |
+
make the first sentence feel less heavy.
|
| 113 |
+
|
| 114 |
## Model And Runtime
|
| 115 |
|
| 116 |
- Base model: `unsloth/gemma-3-12b-it`
|
|
|
|
| 121 |
- Quantization: 4-bit bitsandbytes NF4 inside the `@spaces.GPU` window
|
| 122 |
|
| 123 |
Unsloth is used for training, not for Space inference. The deployed app uses the
|
| 124 |
+
standard `transformers` + `peft` path so the public demo can load the Gemma 3
|
| 125 |
+
12B base model plus the NeuroBait LoRA adapter on Hugging Face ZeroGPU.
|
| 126 |
|
| 127 |
+
Expected runtime environment variables:
|
|
|
|
|
|
|
| 128 |
|
| 129 |
```text
|
| 130 |
BASE_MODEL=unsloth/gemma-3-12b-it
|
|
|
|
| 160 |
- Base label leaks: 5
|
| 161 |
- Fine-tuned label leaks: 0
|
| 162 |
|
| 163 |
+
## Community Attention
|
| 164 |
+
|
| 165 |
+
After publication, NeuroBait drew organic attention from both AI community
|
| 166 |
+
accounts and real users who reposted or shared the project:
|
| 167 |
+
|
| 168 |
+
- LinkedIn: https://www.linkedin.com/feed/update/urn:li:activity:7470126428928319488/
|
| 169 |
+
- Instagram: https://www.instagram.com/p/DZZw6UKAj0N/?img_index=1
|
| 170 |
+
- LinkedIn: https://www.linkedin.com/feed/update/urn:li:activity:7470052176942415872/
|
| 171 |
+
- LinkedIn: https://www.linkedin.com/feed/update/urn:li:activity:7470087187074572288/
|
| 172 |
+
- X: https://x.com/AiquestAcademy/status/2064301066733101313
|
| 173 |
+
- X: https://x.com/Jorgebanuelosmx/status/2064317026664059034
|
| 174 |
+
- X: https://x.com/amphetamarina/status/2064322048659279917
|
| 175 |
+
|
| 176 |
## Related Repos
|
| 177 |
|
| 178 |
- Model adapter: https://huggingface.co/build-small-hackathon/NeuroBait
|
assets/example-chat.png
ADDED
|
Git LFS Details
|
assets/neurobait-logo.jpg
ADDED
|
Git LFS Details
|