-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into twitch_sentiment
- Loading branch information
Showing
29 changed files
with
195 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Gemma Assistant | ||
|
||
This example should be run with Gemma-style models that are tuned to behave like an instruction-following assistant chatbot. | ||
Most importantly, the model must have special `<start_of_turn>` and `<end_of_turn>` tokens. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<start_of_turn>user | ||
Hello!<end_of_turn> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
(chat_prefixes (()) | ||
(m | ||
(prefix "<start_of_turn>user\n") | ||
(suffix "<end_of_turn>\n")) | ||
(m | ||
(prefix "<start_of_turn>assistant\n") | ||
(suffix "<end_of_turn>\n") | ||
) | ||
) | ||
(substitution | ||
(special_tokens (()) | ||
(() (name "<start_of_turn>")) | ||
(() (name "<end_of_turn>")) | ||
) | ||
) | ||
|
||
(x_priming "priming.txt") | ||
(x_rolling "rolling.txt") | ||
(o_rolling "../../../bld/example/prompt/assistant_gemma.txt") | ||
|
||
; No starting space. | ||
(startspace_on +false) | ||
; No token penalization. | ||
(repeat_window 0) | ||
|
||
; 10 reasonably-long sentences at a time. | ||
(sentence_limit 10) | ||
(sentence_token_limit 100) | ||
|
||
; Limit context to avoid blowing up RAM on large context models. | ||
(model_token_limit 8000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Mistral Assistant | ||
|
||
This example should be run with Mistral-style models that are tuned to behave like an instruction-following assistant chatbot. | ||
Most importantly, the model must have special `[INST]` and `[/INST]` tokens. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[INST]Hello![/INST] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
(chat_prefixes (()) | ||
(m | ||
(prefix "[INST]") | ||
(suffix "[/INST]\n") | ||
) | ||
(m | ||
(prefix "") | ||
(suffix "</s>\n") | ||
) | ||
) | ||
(substitution | ||
(eos_token_alias "</s>") | ||
(special_tokens (()) | ||
(() (name "[INST]")) | ||
(() (name "[/INST]")) | ||
) | ||
) | ||
|
||
(x_priming "priming.txt") | ||
(x_rolling "rolling.txt") | ||
(o_rolling "../../../bld/example/prompt/assistant_mistral.txt") | ||
|
||
; No starting space. | ||
(startspace_on +false) | ||
|
||
; 10 reasonably-long sentences at a time. | ||
(sentence_limit 10) | ||
(sentence_token_limit 100) | ||
|
||
; Limit context to avoid blowing up RAM on large context models. | ||
(model_token_limit 8000) | ||
|
||
; Match recommendation for Mistral NeMo v1. | ||
; https://build.nvidia.com/nv-mistralai/mistral-nemo-12b-instruct | ||
(mirostat 0) | ||
(repeat_window 0) | ||
(temperature 0.2) | ||
(top_p 0.7) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.