Skip to content

Commit

Permalink
Merge pull request #1001 from SciSharp/martindevans-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
martindevans authored Nov 27, 2024
2 parents cde1347 + 0e4d369 commit a112468
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 a112468

Please sign in to comment.