File size: 884 Bytes
172c019
f7acd50
2fd6955
 
 
172c019
 
 
 
 
 
 
2fd6955
 
 
 
 
 
f7acd50
 
749d9e3
f7acd50
 
749d9e3
 
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
---
title: LLM Mind Control (LLama 3.2 1B)
emoji: 
colorFrom: pink
colorTo: gray
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: mit
---

# 🧠 LLM Mind Control"
Unlike prompting, direct weight manipulation lets you fine-tune the amount of a personality
trait or topic. Enabled through [Representation Engineering](https://arxiv.org/abs/2310.01405)
via the [repeng](https://pypi.org/project/repeng) library.
[Watch a demo](https://youtu.be/gYZPGVafD7M) for usage tips.

This space uses the Llama 3.2 1B Instruct model, and is barely tolerable to run on ZeroCPU.
It is much nicer on a small GPU.

Llama 3.2 is licensed under the Llama 3.2 Community License, Copyright © Meta Platforms,
Inc. All Rights Reserved.
repeng and the Representation Engineering code it is based on are both licensed under MIT.
This application and code is also licensed under MIT.