-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH] add internlm2-chat-20b-ppo (#207)
* add model config * modify `huggingface_local_completion` to remove EOS * add results & update leaderboard * delete extra leaderboard csv * add docstring of `remove_ending` * remove reference_outputs.json
- Loading branch information
Showing
6 changed files
with
69,010 additions
and
1 deletion.
There are no files selected for viewing
4,832 changes: 4,832 additions & 0 deletions
4,832
results/internlm2-chat-20b-ppo/model_outputs.json
Large diffs are not rendered by default.
Oops, something went wrong.
64,151 changes: 64,151 additions & 0 deletions
64,151
results/internlm2-chat-20b-ppo/weighted_alpaca_eval_gpt4_turbo/annotations.json
Large diffs are not rendered by default.
Oops, something went wrong.
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
15 changes: 15 additions & 0 deletions
15
src/alpaca_eval/models_configs/internlm2-chat-20b-ppo/configs.yaml
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,15 @@ | ||
internlm2-chat-20b-ppo: | ||
prompt_template: "internlm2-chat-20b-ppo/prompt.txt" | ||
fn_completions: "huggingface_local_completions" | ||
completions_kwargs: | ||
model_name: "internlm/internlm2-chat-20b" | ||
model_kwargs: | ||
torch_dtype: "bfloat16" | ||
trust_remote_code: True | ||
is_fast_tokenizer: False | ||
max_new_tokens: 2048 | ||
batch_size: 32 | ||
eos_token_id: 92542 | ||
remove_ending: "[UNUSED_TOKEN_145]" | ||
pretty_name: "InternLM2 Chat 20B ppo" | ||
link: "https://huggingface.co/internlm/internlm2-chat-20b" |
3 changes: 3 additions & 0 deletions
3
src/alpaca_eval/models_configs/internlm2-chat-20b-ppo/prompt.txt
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,3 @@ | ||
[UNUSED_TOKEN_146]user | ||
{instruction}[UNUSED_TOKEN_145] | ||
[UNUSED_TOKEN_146]assistant |