neuralgraffiti  by babycommando

Experimental layer for real-time LLM neuroplasticity

created 3 months ago
266 stars

Top 96.9% on sourcepulse

GitHubView on GitHub
Project Summary

Neural Graffiti introduces a novel "Spray Layer" for real-time, neural-level modification of pre-trained Large Language Models (LLMs). This experimental technique allows users to inject memory and influence the model's internal state and output without retraining, targeting researchers and power users interested in exploring LLM behavior and neuroplasticity.

How It Works

Inspired by liquid neural networks and graffiti art, the Spray Layer integrates directly into the final stages of transformer inference. It injects a "memory trace" into vector embeddings, subtly altering the model's conceptual relationships and generative predictions over time based on past interactions. This approach influences the model's "thinking" process rather than forcing specific word outputs, allowing for gradual behavioral drift and the development of emergent "personalities."

Quick Start & Requirements

  • Install: Requires Python and Hugging Face transformers.
  • Prerequisites: A Hugging Face token is needed to download models.
  • Demo: Available via Colab notebook.

Highlighted Details

  • Enables real-time, in-inference modification of LLM behavior.
  • Injects memory and influences conceptual relationships without retraining.
  • Allows tracking of the Spray Layer's influence on each output.
  • Aims to imbue LLMs with emergent personality and memory.

Maintenance & Community

The project is maintained by babycommando. Further community engagement details (e.g., Discord, Slack) are not specified in the README.

Licensing & Compatibility

The README does not explicitly state a license. Compatibility is noted for any model exposing hidden states within the Hugging Face transformers ecosystem.

Limitations & Caveats

This is an experimental technique with results still being released. It does not guarantee specific word outputs and may not be suitable for business deployments due to the potential for creating highly specific, opinionated AI "entities."

Health Check
Last commit

3 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
19 stars in the last 90 days

Explore Similar Projects

Starred by Ying Sheng Ying Sheng(Author of SGLang) and Jared Palmer Jared Palmer(Ex-VP of AI at Vercel; Founder of Turborepo; Author of Formik, TSDX).

xgen by salesforce

0%
720
LLM research release with 8k sequence length
created 2 years ago
updated 6 months ago
Starred by Dominik Moritz Dominik Moritz(Professor at CMU; ML Researcher at Apple), Stas Bekman Stas Bekman(Author of Machine Learning Engineering Open Book; Research Engineer at Snowflake), and
2 more.

ecco by jalammar

0%
2k
Python library for interactive NLP model visualization in Jupyter notebooks
created 4 years ago
updated 11 months ago
Starred by Anastasios Angelopoulos Anastasios Angelopoulos(Cofounder of LMArena), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
3 more.

transformer-debugger by openai

0.1%
4k
Tool for language model behavior investigation
created 1 year ago
updated 1 year ago
Feedback? Help us improve.