|
pulsatrix 1.1.0
|
Where and how large LoReFT's interventions are. More...
#include <loreft.hpp>
Public Attributes | |
| int64_t | rank = 4 |
| r, the dimension of the edited subspace. | |
| std::vector< int64_t > | layers |
| The blocks whose outputs are edited. Empty means every block. | |
| int64_t | first = 1 |
Edit the first first and the last last positions of each prompt: pyreft's "f<first>+l<last>". During generation only the prompt's positions are edited. | |
| int64_t | last = 1 |
| uint64_t | seed = 0 |
| Seeds R, W and b, the same on every platform. | |
Where and how large LoReFT's interventions are.
| int64_t pulsatrix::LoReFTConfig::first = 1 |
Edit the first first and the last last positions of each prompt: pyreft's "f<first>+l<last>". During generation only the prompt's positions are edited.
| int64_t pulsatrix::LoReFTConfig::last = 1 |
| std::vector<int64_t> pulsatrix::LoReFTConfig::layers |
The blocks whose outputs are edited. Empty means every block.
| int64_t pulsatrix::LoReFTConfig::rank = 4 |
r, the dimension of the edited subspace.
| uint64_t pulsatrix::LoReFTConfig::seed = 0 |
Seeds R, W and b, the same on every platform.