From ebc51b3e8d613926faf4a2d8836ca94901785662 Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Tue, 25 Apr 2023 21:17:00 -0400 Subject: [PATCH] Clean up the docs a bit more still. --- llmodel/llmodel_c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llmodel/llmodel_c.h b/llmodel/llmodel_c.h index 7ef9c29a..435ec0fa 100644 --- a/llmodel/llmodel_c.h +++ b/llmodel/llmodel_c.h @@ -28,7 +28,7 @@ typedef struct { int32_t n_batch; // number of predictions to generate in parallel float repeat_penalty; // penalty factor for repeated tokens int32_t repeat_last_n; // last n tokens to penalize - float contextErase; // percent of context to erase if we exceed the context window + float context_erase; // percent of context to erase if we exceed the context window } llmodel_prompt_context; /**