mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-03 09:22:01 +00:00 
			
		
		
		
	server : allow to specify custom prompt for penalty calculation (#3727)
This commit is contained in:
		@@ -148,6 +148,8 @@ node index.js
 | 
			
		||||
 | 
			
		||||
    `frequency_penalty`: Repeat alpha frequency penalty (default: 0.0, 0.0 = disabled);
 | 
			
		||||
 | 
			
		||||
    `penalty_prompt`: This will replace the `prompt` for the purpose of the penalty evaluation. Can be either `null`, a string or an array of numbers representing tokens (default: `null` = use the original `prompt`).
 | 
			
		||||
 | 
			
		||||
    `mirostat`: Enable Mirostat sampling, controlling perplexity during text generation (default: 0, 0 = disabled, 1 = Mirostat, 2 = Mirostat 2.0).
 | 
			
		||||
 | 
			
		||||
    `mirostat_tau`: Set the Mirostat target entropy, parameter tau (default: 5.0).
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user