17 lines
472 B
C#
17 lines
472 B
C#
|
|
namespace BotSharp.Plugin.HuggingFace.DataModels;
|
||
|
|
|
||
|
|
public class InferenceInputParameters
|
||
|
|
{
|
||
|
|
[JsonPropertyName("temperature")]
|
||
|
|
public float Temperature { get; set; } = 1.0f;
|
||
|
|
|
||
|
|
[JsonPropertyName("max_new_tokens")]
|
||
|
|
public int MaxNewTokens { get; set; } = 250;
|
||
|
|
|
||
|
|
[JsonPropertyName("return_full_text")]
|
||
|
|
public bool ReturnFullText { get; set; } = false;
|
||
|
|
|
||
|
|
[JsonPropertyName("num_return_sequences")]
|
||
|
|
public int NumReturnSequences { get; set; } = 1;
|
||
|
|
}
|