Spaces:
Runtime error
Runtime error
File size: 1,980 Bytes
12171fa 7f81b44 744d153 6b412e6 12171fa 7f81b44 12171fa 7f81b44 86e74c5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | ---
title: The Digital Vaccine
emoji: π§¬
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 6.5.1
app_file: app.py
pinned: true
license: apache-2.0
---
# 𧬠The Digital Vaccine: AI-in-the-Loop
### *Breaking the Scrolling Pandemic with Clinical Open-Source AI*
This project is a technical proof-of-concept demonstrating how specialized, small language models (SLMs) can act as a **"Cognitive Orthotic"** to prevent algorithmic addiction and "doomscrolling."
## π The Concept
Inspired by my Medium article, **"Scrolling: Is it the New Pandemic?"**, this Space implements a **Circuit Breaker** architecture. Instead of a blunt app blocker, it uses clinical reasoning to detect the transition from *intentional browsing* to *passive consumption*.
## π οΈ Technical Stack
- **Model:** `google/gemma-2-2b-it` (A lightweight, high-performance sibling to the **MedGemma** family).
- **Framework:** [Gradio](https://gradio.app/) for the interface.
- **Inference Strategy:** Designed for **Edge Deployment**. In a production environment, this model would be **quantized (4-bit/8-bit)** to run locally on user hardware via `transformers` or `llama.cpp`.
## π§ How it Works
1. **Telemetry Ingestion:** The system monitors "Scroll Velocity" (a proxy for dopamine-seeking behavior).
2. **Clinical Reasoning:** The model evaluates user intent against behavioral markers.
3. **Micro-CBT Intervention:** If a "Zombiescroll" state is detected, the AI triggers a clinically-grounded Cognitive Behavioral Therapy (CBT) prompt to re-engage the user's prefrontal cortex.
## π Related Reading
- **Part 1:** [Scrolling: Is it the New Pandemic?](https://medium.com/@unscripted_/scrolling-is-it-the-new-pandemic-24f8df4dda8e)
- **Part 2:** [The Digital Vaccine: Engineering Our Way Out](LINK_TO_YOUR_NEW_ARTICLE)
## π€ Acknowledgments
Developed as a collaboration between [Gargi Kulkarni] and **Gemini**, focusing on the intersection of Behavioral Science and ML Engineering. |