Skip to content

gapeleon/exui-control-vectors

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExUI with Control Vectors

A fork of ExUI adding support for creative writing control vectors in ExLlamaV2.

Overview of Features

All original ExUI features plus:

  • Support for creative writing control vectors
  • Multiple vector combinations
  • Dynamic weight adjustment
  • Visual control vector configuration

Control Vectors Support

This fork adds support for jukofyork's creative writing control vectors, allowing dynamic control over the model's writing style.

Directory Structure

Your control vectors should be placed in a "-vectors" directory next to your model:


models/

├── Your-Model-Name/

│ └── model files...

└── Your-Model-Name-vectors/

│ └── vector-name__debias.gguf

│ └──  vector-name__direction1.gguf

│ └──  vector-name__direction2.gguf

│ └──  ...

Using Control Vectors

  1. Add vectors to your model's "-vectors" directory

  2. In the model settings page, enable "Control Vectors"

  3. Add vector configurations in the format: vector:direction:weight

  • Example: humility_vs_narcissism:narcissism:1.0
  1. Multiple vectors can be combined with different weights
  • Example: humility_vs_narcissism:narcissism:1.4,empathy_vs_sociopathy:sociopathy:1.0

Positive weights enhance the named direction, negative weights push toward the opposite.

Installation

  1. Clone this repository:
git  clone  https://github.com/gapeleon/exui-control-vectors
cd  exui-control
pip  install  -r  requirements.txt
  1. Run the web server:
python  server.py

Your browser should automatically open on the default IP/port. Config and sessions are stored in ~/exui by default.

Credits

Screenshots

[TODO add screenshots showing the control vector UI and example outputs]

About

exui with control-vectors

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 64.9%
  • JavaScript 26.3%
  • CSS 7.6%
  • HTML 1.2%