Skip to content

Commit 548b55b

Browse files
Add support for --suffix option in llama-tornado python script
1 parent 8e63862 commit 548b55b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

llama-tornado

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ def create_parser() -> argparse.ArgumentParser:
290290
help="Enable streaming output")
291291
llama_group.add_argument("--echo", type=bool, default=False,
292292
help="Echo the input prompt")
293+
llm_group.add_argument("--suffix", help="Suffix for fill-in-the-middle request (Codestral)")
293294

294295
# Mode selection
295296
mode_group = parser.add_argument_group("Mode Selection")

src/main/java/com/example/Options.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static void printUsage(PrintStream out) {
3434
out.println(" --instruct run in instruct (once) mode, default mode");
3535
out.println(" --prompt, -p <string> input prompt");
3636
out.println(" --system-prompt, -sp <string> (optional) system prompt (Llama models)");
37-
out.println(" --suffix <string> suffix for fill-in-the-middle request (Mistral models)");
37+
out.println(" --suffix <string> suffix for fill-in-the-middle request (Codestral)");
3838
out.println(" --temperature, -temp <float> temperature in [0,inf], default 0.1");
3939
out.println(" --top-p <float> p value in top-p (nucleus) sampling in [0,1] default 0.95");
4040
out.println(" --seed <long> random seed, default System.nanoTime()");

0 commit comments

Comments
 (0)