Skip to content

Commit

Permalink
fix untracked file
Browse files Browse the repository at this point in the history
  • Loading branch information
rui-ren committed Apr 11, 2024
1 parent 11e9693 commit 3b37a00
Show file tree
Hide file tree
Showing 16 changed files with 302,176 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Files to tell git to ignore

.vscode

*.vs
*bin/
*obj/
Expand All @@ -18,6 +19,7 @@ example-models
*.onnx.data
__pycache__
benchmark/python/*.csv
benchmark/python/output
examples/python/genai_models
examples/python/hf_cache

Expand Down
13 changes: 0 additions & 13 deletions benchmark/python/output

This file was deleted.

40 changes: 40 additions & 0 deletions models_outputs/added_tokens.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"\t\t": 50294,
"\t\t\t": 50293,
"\t\t\t\t": 50292,
"\t\t\t\t\t": 50291,
"\t\t\t\t\t\t": 50290,
"\t\t\t\t\t\t\t": 50289,
"\t\t\t\t\t\t\t\t": 50288,
"\t\t\t\t\t\t\t\t\t": 50287,
" ": 50286,
" ": 50285,
" ": 50284,
" ": 50283,
" ": 50282,
" ": 50281,
" ": 50280,
" ": 50279,
" ": 50278,
" ": 50277,
" ": 50276,
" ": 50275,
" ": 50274,
" ": 50273,
" ": 50272,
" ": 50271,
" ": 50270,
" ": 50269,
" ": 50268,
" ": 50267,
" ": 50266,
" ": 50265,
" ": 50264,
" ": 50263,
" ": 50262,
" ": 50261,
" ": 50260,
" ": 50259,
" ": 50258,
" ": 50257
}
54 changes: 54 additions & 0 deletions models_outputs/genai_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"model": {
"bos_token_id": 50256,
"context_length": 2048,
"decoder": {
"session_options": {
"log_id": "onnxruntime-genai",
"provider_options": [
{
"cuda": {}
}
]
},
"filename": "model.onnx",
"head_size": 80,
"hidden_size": 2560,
"inputs": {
"input_ids": "input_ids",
"attention_mask": "attention_mask",
"position_ids": "position_ids",
"past_key_names": "past_key_values.%d.key",
"past_value_names": "past_key_values.%d.value"
},
"outputs": {
"logits": "logits",
"present_key_names": "present.%d.key",
"present_value_names": "present.%d.value"
},
"num_attention_heads": 32,
"num_hidden_layers": 32,
"num_key_value_heads": 32
},
"eos_token_id": 50256,
"pad_token_id": 50256,
"type": "phi",
"vocab_size": 51200
},
"search": {
"diversity_penalty": 0.0,
"do_sample": false,
"early_stopping": true,
"length_penalty": 1.0,
"max_length": 2048,
"min_length": 0,
"no_repeat_ngram_size": 0,
"num_beams": 1,
"num_return_sequences": 1,
"past_present_share_buffer": true,
"repetition_penalty": 1.0,
"temperature": 1.0,
"top_k": 1,
"top_p": 1.0
}
}
Loading

0 comments on commit 3b37a00

Please sign in to comment.