Browse Source

Merge branch 'master' of github.com:SciSharp/LLamaSharp

tags/v0.2.2
Yaohui Liu 3 years ago
parent
commit
998c0cb98d
No known key found for this signature in database GPG Key ID: E86D01E1809BD23E
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      README.md

+ 1
- 1
README.md View File

@@ -49,7 +49,7 @@ Besides, `ChatSession` makes it easier to wrap your own chat bot. The code below

var model = new LLamaModel(new LLamaParams(model: "<Your path>", n_ctx: 512, repeat_penalty: 1.0f));
var session = new ChatSession<LLamaModel>(model).WithPromptFile("<Your prompt file path>")
.WithAntiprompt(new string[] { "User:" );
.WithAntiprompt(new string[] { "User:" });
Console.Write("\nUser:");
while (true)
{


Loading…
Cancel
Save