kmamaroziqov commited on
Commit
f2f6697
·
verified ·
1 Parent(s): 02a2786

Fix default generation and EOS configuration

Browse files
Files changed (3) hide show
  1. config.json +4 -1
  2. generation_config.json +8 -3
  3. tokenizer_config.json +1 -3
config.json CHANGED
@@ -7,7 +7,10 @@
7
  "attn_output_gate": true,
8
  "bos_token_id": null,
9
  "dtype": "float32",
10
- "eos_token_id": 248044,
 
 
 
11
  "full_attention_interval": 4,
12
  "head_dim": 256,
13
  "hidden_act": "silu",
 
7
  "attn_output_gate": true,
8
  "bos_token_id": null,
9
  "dtype": "float32",
10
+ "eos_token_id": [
11
+ 248046,
12
+ 248044
13
+ ],
14
  "full_attention_interval": 4,
15
  "head_dim": 256,
16
  "hidden_act": "silu",
generation_config.json CHANGED
@@ -2,10 +2,15 @@
2
  "_from_model_config": true,
3
  "do_sample": true,
4
  "eos_token_id": [
5
- 248044,
6
- 248046
7
  ],
 
8
  "pad_token_id": 248044,
 
 
 
 
9
  "transformers_version": "5.12.1",
10
  "use_cache": true
11
- }
 
2
  "_from_model_config": true,
3
  "do_sample": true,
4
  "eos_token_id": [
5
+ 248046,
6
+ 248044
7
  ],
8
+ "min_p": 0.0,
9
  "pad_token_id": 248044,
10
+ "repetition_penalty": 1.0,
11
+ "temperature": 0.7,
12
+ "top_k": 20,
13
+ "top_p": 0.8,
14
  "transformers_version": "5.12.1",
15
  "use_cache": true
16
+ }
tokenizer_config.json CHANGED
@@ -6,11 +6,9 @@
6
  "backend": "tokenizers",
7
  "bos_token": null,
8
  "clean_up_tokenization_spaces": false,
9
- "eos_token": "<|endoftext|>",
10
  "errors": "replace",
11
  "image_token": "<|image_pad|>",
12
- "is_local": true,
13
- "local_files_only": true,
14
  "model_max_length": 262144,
15
  "model_specific_special_tokens": {
16
  "audio_bos_token": "<|audio_start|>",
 
6
  "backend": "tokenizers",
7
  "bos_token": null,
8
  "clean_up_tokenization_spaces": false,
9
+ "eos_token": "<|im_end|>",
10
  "errors": "replace",
11
  "image_token": "<|image_pad|>",
 
 
12
  "model_max_length": 262144,
13
  "model_specific_special_tokens": {
14
  "audio_bos_token": "<|audio_start|>",