Skip to content

Commit

Permalink
Merge pull request #956 from easis/patch-1
Browse files Browse the repository at this point in the history
Fix README chat session example
  • Loading branch information
martindevans authored Oct 18, 2024
2 parents 624c870 + d40cacf commit 6862216
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ 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.
SamplingPipeline = new DefaultSamplingPipeline(),
};

Console.ForegroundColor = ConsoleColor.Yellow;
Expand Down

0 comments on commit 6862216

Please sign in to comment.