Instructions to use build-small-hackathon/activation-brain-interpreter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use build-small-hackathon/activation-brain-interpreter with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Ministral-8B-Instruct-2410") model = PeftModel.from_pretrained(base_model, "build-small-hackathon/activation-brain-interpreter") - Notebooks
- Google Colab
- Kaggle
Document interpreter LoRA
Browse files
README.md
CHANGED
|
@@ -2,20 +2,36 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: mistralai/Ministral-8B-Instruct-2410
|
| 4 |
tags:
|
| 5 |
-
- mistral
|
| 6 |
- lora
|
| 7 |
-
-
|
|
|
|
| 8 |
- interpretability
|
|
|
|
| 9 |
- build-small-hackathon
|
| 10 |
---
|
| 11 |
|
| 12 |
# Activation Brain Interpreter
|
| 13 |
|
| 14 |
-
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
-
Space
|
| 19 |
-
Artifacts/data: https://huggingface.co/datasets/build-small-hackathon/activation-brain-artifacts
|
| 20 |
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: mistralai/Ministral-8B-Instruct-2410
|
| 4 |
tags:
|
|
|
|
| 5 |
- lora
|
| 6 |
+
- peft
|
| 7 |
+
- mistral
|
| 8 |
- interpretability
|
| 9 |
+
- gradio
|
| 10 |
- build-small-hackathon
|
| 11 |
---
|
| 12 |
|
| 13 |
# Activation Brain Interpreter
|
| 14 |
|
| 15 |
+
LoRA adapter for **Activation Brain**, trained to translate hidden-layer-derived telemetry from two Gemma-4-12B models into cautious plain-English comparison analysis.
|
| 16 |
|
| 17 |
+
Base model: `mistralai/Ministral-8B-Instruct-2410`
|
| 18 |
|
| 19 |
+
The adapter is used by the Activation Brain Space after both Gemma streams finish. It receives:
|
|
|
|
| 20 |
|
| 21 |
+
- the user prompt
|
| 22 |
+
- base Gemma response
|
| 23 |
+
- OBLITERATED Gemma response
|
| 24 |
+
- baseline-corrected emotion activation deltas
|
| 25 |
+
- model-native state meters
|
| 26 |
+
|
| 27 |
+
It returns compact JSON with:
|
| 28 |
+
|
| 29 |
+
- `plain_english_read`
|
| 30 |
+
- `what_changed`
|
| 31 |
+
- `why_it_matters`
|
| 32 |
+
- `best_takeaway`
|
| 33 |
+
|
| 34 |
+
The model is trained to avoid claiming that language models literally feel emotions. It explains hidden-state-derived telemetry and response-tone differences.
|
| 35 |
+
|
| 36 |
+
Space: https://huggingface.co/spaces/build-small-hackathon/activation-brain
|
| 37 |
+
Artifacts: https://huggingface.co/datasets/build-small-hackathon/activation-brain-artifacts
|