You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x ] I reviewed the Discussions, and have a new bug or useful enhancement to share.
Feature Description
Add the ability to set/apply steers on a layer by layer basis in order to ensure alignment with specific concepts, tokens or words.
Motivation
Based on recent papers and research on LLM steerability through applying steers on specific layers, I believe that llama.cpp would greatly benefit from incorporating a feature like this.
The colab in the section below should provide a very interesting application which results in far higher reasoning abilities, for example from a 3B.
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Feature Description
Add the ability to set/apply
steers
on a layer by layer basis in order to ensure alignment with specific concepts, tokens or words.Motivation
Based on recent papers and research on LLM steerability through applying
steer
s on specific layers, I believe that llama.cpp would greatly benefit from incorporating a feature like this.The colab in the section below should provide a very interesting application which results in far higher reasoning abilities, for example from a 3B.
Possible Implementation
Links to known implementations:
https://github.com/Mihaiii/llm_steer
https://colab.research.google.com/github/Mihaiii/llm_steer/blob/main/demo/llm_steer_demo.ipynb
And
https://github.com/nrimsky/LM-exp/tree/main/steering
The text was updated successfully, but these errors were encountered: