marcus2000 commited on
Commit
0cbc665
1 Parent(s): 0b82d92

Upload 2 files

Browse files
Files changed (2) hide show
  1. generation_config.json +13 -0
  2. tokenizer_config.json +8 -50
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pad_token_id": 0,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "temperature": 0.5,
6
+ "top_p": 0.9,
7
+ "top_k": 30,
8
+ "do_sample": true,
9
+ "max_new_tokens": 3584,
10
+ "num_beams": 1,
11
+ "repetition_penalty": 1.2,
12
+ "no_repeat_ngram_size": 15
13
+ }
tokenizer_config.json CHANGED
@@ -1,52 +1,10 @@
1
  {
2
- "add_bos_token": true,
3
- "add_eos_token": false,
4
- "add_prefix_space": true,
5
- "added_tokens_decoder": {
6
- "0": {
7
- "content": "<unk>",
8
- "lstrip": false,
9
- "normalized": false,
10
- "rstrip": false,
11
- "single_word": false,
12
- "special": true
13
- },
14
- "1": {
15
- "content": "<s>",
16
- "lstrip": false,
17
- "normalized": false,
18
- "rstrip": false,
19
- "single_word": false,
20
- "special": true
21
- },
22
- "2": {
23
- "content": "</s>",
24
- "lstrip": false,
25
- "normalized": false,
26
- "rstrip": false,
27
- "single_word": false,
28
- "special": true
29
- },
30
- "32000": {
31
- "content": "<pad>",
32
- "lstrip": false,
33
- "normalized": true,
34
- "rstrip": false,
35
- "single_word": false,
36
- "special": false
37
- }
38
- },
39
- "bos_token": "<s>",
40
- "clean_up_tokenization_spaces": false,
41
- "eos_token": "</s>",
42
- "legacy": true,
43
- "model_max_length": 4096,
44
- "pad_token": "<unk>",
45
- "padding_side": "left",
46
- "sep_token": "<s>",
47
- "sp_model_kwargs": {},
48
- "spaces_between_special_tokens": false,
49
- "tokenizer_class": "LlamaTokenizer",
50
- "unk_token": "<unk>",
51
- "use_default_system_prompt": false
52
  }
 
1
  {
2
+ "tokenizer_class": "LlamaTokenizer",
3
+ "model_max_length": 4096,
4
+ "padding_side": "left",
5
+ "bos_token": "<s>",
6
+ "eos_token": "</s>",
7
+ "unk_token": "<unk>",
8
+ "clean_up_tokenization_spaces": false,
9
+ "special_tokens_map_file": "special_tokens_map.json"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  }