llama : add comment about rope values

This commit is contained in:
Georgi Gerganov 2024-02-24 11:42:55 +02:00
parent 31e1ec928f
commit decea31220
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

View file

@ -64,6 +64,8 @@ extern "C" {
LLAMA_VOCAB_TYPE_WPM = 2, // WordPiece
};
// note: these values should be synchronized with ggml_rope
// TODO: maybe move this enum to ggml.h (ggml_rope_type)
enum llama_rope_type {
LLAMA_ROPE_TYPE_NONE = -1,
LLAMA_ROPE_TYPE_NORM = 0,