Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixed typo in example code, resolve #1000
  • Loading branch information
martindevans authored Nov 27, 2024
1 parent cde1347 commit 0e4d369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ ChatSession session = new(executor, chatHistory);
InferenceParams inferenceParams = new InferenceParams()
{
MaxTokens = 256, // No more than 256 tokens should appear in answer. Remove it if antiprompt is enough for control.
AntiPrompts = new List<string> { "User:" } // Stop generation once antiprompts appear.
AntiPrompts = new List<string> { "User:" }, // Stop generation once antiprompts appear.
SamplingPipeline = new DefaultSamplingPipeline(),
};
Expand Down

0 comments on commit 0e4d369

Please sign in to comment.