Theia Vogel 877b4d0c62
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>
2024-03-15 22:43:02 +02:00
..
2024-03-08 11:35:04 +02:00
2024-02-25 12:09:09 +02:00
2023-11-13 14:16:23 +02:00