Ver código fonte

Update docs for yarn_ext_factor <0.0 as unspecified instead of NaN (#4189)

crasm 2 anos atrás
pai
commit
3014b5415d
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      convert.py

+ 1 - 1
convert.py

@@ -185,7 +185,7 @@ extern "C" {
         // ref: https://github.com/ggerganov/llama.cpp/pull/2054
         float    rope_freq_base;   // RoPE base frequency, 0 = from model
         float    rope_freq_scale;  // RoPE frequency scaling factor, 0 = from model
-        float    yarn_ext_factor;  // YaRN extrapolation mix factor, NaN = from model
+        float    yarn_ext_factor;  // YaRN extrapolation mix factor, negative = from model
         float    yarn_attn_factor; // YaRN magnitude scaling factor
         float    yarn_beta_fast;   // YaRN low correction dim
         float    yarn_beta_slow;   // YaRN high correction dim