Instructions to use avgparasite/bug-brain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use avgparasite/bug-brain with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'avgparasite/bug-brain');
Bug's brain
The on-device brain of Bug, the cat on paraspatle.in. Qwen2.5-0.5B-Instruct fine-tuned (LoRA) to turn a visitor's command plus a list of page elements into a short JSON plan of cat actions:
PAGE /about "About":
t0 [heading] "About me"
t1 [link] "Library" href=/library
COMMAND: "take me to the library"
β {"steps": [{"action": "open", "target": "t1"}, {"action": "say", "text": "follow me"}]}
Quantized to 4-bit (q4f16) ONNX for WebGPU; runs in the browser with Transformers.js. Valid plans on held-out pages: 0% for the base model, 87% after fine-tuning.
- Downloads last month
- -