Tag: LocalLLaMA

  • DIY Robot Gets “High” in Real Time

    DIY Robot Gets “High” in Real Time

    Key Takeaway

    – Smoke directly alters an LLM’s sampling parameters (temperature, top_p, top_k) in real time, causing progressively incoherent and chaotic text output.
    – No scripted behavior is used; the effect is purely mechanical from feeding gas sensor data into the model’s sampling logic.
    – Physical feedback (drooping eyes, drawling voice, smoke display) mirrors the LLM’s deterioration, creating a unified character response.
    – The $7.99 MQ-2 sensor cannot distinguish between smoke types (cannabis, incense, cigarette), limiting accuracy.
    – Every “high” reply is uniquely generated per run since the live sampler creates new token sequences each time.


    Unexpected LLM Integration in a Suitcase Robot

    A hobbyist on Reddit’s LocalLLaMA community has built what might be the most unexpected LLM integration we’ve seeb all year: a suitcase robot called Sparky that gets progressively more… incoherent when exposed to smoke. This doesn’t happen through any scripted behavior but by feeding real sensor data directly into the model’s sampling parameters.

    Hardware and Sensor Mechanism

    The project has been posted by Reddit user u/CreativelyBankrupt. It essentially uses an MQ-2 gas sensor (curr. $7.99 on Amazon) mounted inside the robot’s case. Every 500 milliseconds, the sensor reads ambient air against an adaptive clean-air baseline and converts smoke presence into a phase value between 0 and 10. That phase value then rewires how the LLM generates text in real time. For instance, temperature climbs from 1.0 to around 1.6, top_p rises from 0.95 to 0.99, and top_k jumps from 64 to 120 as the smoke level increases.

    Behavioral Changes Under Smoke Exposure

    When that happens, Sparky’s word choices reduce, and the robot starts going towards lower-probability tokens, and become noisier — because the live sampler is doing exactly what high sampling parameters do to any language model. Every “high” reply is freshly generated, so no two responses are the same. A per-phase persona nudge makes sure the behavior shows through (without the robot actually announcing its state).

    Physical and Visual Feedback System

    There’s physical feedback as well. Sparky exhibits drooping eyes, a slight drawl in voice output, and a display that goes into a full smoke-and-plasma effect at phase 10. It holds there for seven minutes before decaying.

    Limitations and Community Reception

    The creator is candid about the hardware’s limits — the MQ-2 is a VOC sensor, meaning incense or a cigarette would trip the same response as cannabis, and it cannot distinguish between smoke sources. The video has over 1,100 upvotes on Reddit at the time of writing. Check it out below: u/CreativelyBankrupt on LocalLLaMA

    Sources