Skip to content

Commit 3014b54

Browse files
authored
Update docs for yarn_ext_factor <0.0 as unspecified instead of NaN (#4189)
1 parent 04814e7 commit 3014b54

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

convert.py

100644100755
File mode changed.

llama.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ extern "C" {
185185
// ref: https://github.com/ggerganov/llama.cpp/pull/2054
186186
float rope_freq_base; // RoPE base frequency, 0 = from model
187187
float rope_freq_scale; // RoPE frequency scaling factor, 0 = from model
188-
float yarn_ext_factor; // YaRN extrapolation mix factor, NaN = from model
188+
float yarn_ext_factor; // YaRN extrapolation mix factor, negative = from model
189189
float yarn_attn_factor; // YaRN magnitude scaling factor
190190
float yarn_beta_fast; // YaRN low correction dim
191191
float yarn_beta_slow; // YaRN high correction dim

0 commit comments

Comments
 (0)