diff options
author | Theia Vogel <theia@vgel.me> | 2024-03-15 13:43:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-15 22:43:02 +0200 |
commit | 877b4d0c628cc70dddb5df72ed8fc14d126ca7e8 (patch) | |
tree | 4de9f5a609b1d064646521f8fc94df5f884cd8fd /examples/train-text-from-scratch/train-text-from-scratch.cpp | |
parent | 12247f4c69a173b9482f68aaa174ec37fc909ccf (diff) |
llama : add support for control vectors (#5970)
* control vector api and implementation
* control-vectors : minor code style updates
* disable control vector when data == nullptr
use -1 for disabled range (also on init) in case we ever support controlling layer 0 (embeddings)
---------
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Diffstat (limited to 'examples/train-text-from-scratch/train-text-from-scratch.cpp')
0 files changed, 0 insertions, 0 deletions