WilliamGazeley commited on
Commit
ad8f797
·
verified ·
1 Parent(s): 87fd284

Upload tokenizer

Browse files
README.md CHANGED
@@ -1,38 +1,37 @@
1
  ---
2
  language:
3
- - en
4
  license: mit
5
  tags:
6
- - finance
7
  pipeline_tag: text-generation
8
  widget:
9
- - example_title: Easy
10
- text: >
11
- <|user|>
12
-
13
- How do call options benefit the buyer?
14
-
15
- <|assistant|>
16
-
17
-
18
- - example_title: Medium
19
- text: >
20
- <|user|>
21
-
22
- Why might a trader choose to quickly exit a losing position, even if they still believe in the original trade idea?
23
-
24
- <|assistant|>
25
-
26
-
27
- - example_title: Hard
28
- text: >
29
- <|user|>
30
-
31
- In the context of Harry Markowitz's Portfolio Selection theory, what does an 'efficient' portfolio refer to?
32
-
33
- <|assistant|>
34
-
35
-
36
  inference:
37
  parameters:
38
  temperature: 0.2
 
1
  ---
2
  language:
3
+ - en
4
  license: mit
5
  tags:
6
+ - finance
7
  pipeline_tag: text-generation
8
  widget:
9
+ - example_title: Easy
10
+ text: '<|user|>
11
+
12
+ How do call options benefit the buyer?
13
+
14
+ <|assistant|>
15
+
16
+ '
17
+ - example_title: Medium
18
+ text: '<|user|>
19
+
20
+ Why might a trader choose to quickly exit a losing position, even if they still
21
+ believe in the original trade idea?
22
+
23
+ <|assistant|>
24
+
25
+ '
26
+ - example_title: Hard
27
+ text: '<|user|>
28
+
29
+ In the context of Harry Markowitz''s Portfolio Selection theory, what does an
30
+ ''efficient'' portfolio refer to?
31
+
32
+ <|assistant|>
33
+
34
+ '
 
35
  inference:
36
  parameters:
37
  temperature: 0.2
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<|im_end|>": 32001,
3
+ "<|im_start|>": 32000
4
+ }
special_tokens_map.json CHANGED
@@ -13,6 +13,13 @@
13
  "rstrip": false,
14
  "single_word": false
15
  },
 
 
 
 
 
 
 
16
  "unk_token": {
17
  "content": "<unk>",
18
  "lstrip": false,
 
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
+ "pad_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
  "unk_token": {
24
  "content": "<unk>",
25
  "lstrip": false,
tokenizer.json CHANGED
@@ -29,25 +29,33 @@
29
  "rstrip": false,
30
  "normalized": false,
31
  "special": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  }
33
  ],
34
- "normalizer": {
35
- "type": "Sequence",
36
- "normalizers": [
37
- {
38
- "type": "Prepend",
39
- "prepend": "▁"
40
- },
41
- {
42
- "type": "Replace",
43
- "pattern": {
44
- "String": " "
45
- },
46
- "content": "▁"
47
- }
48
- ]
49
  },
50
- "pre_tokenizer": null,
51
  "post_processor": {
52
  "type": "TemplateProcessing",
53
  "single": [
@@ -134,6 +142,7 @@
134
  "end_of_word_suffix": null,
135
  "fuse_unk": true,
136
  "byte_fallback": true,
 
137
  "vocab": {
138
  "<unk>": 0,
139
  "<s>": 1,
 
29
  "rstrip": false,
30
  "normalized": false,
31
  "special": true
32
+ },
33
+ {
34
+ "id": 32000,
35
+ "content": "<|im_start|>",
36
+ "single_word": false,
37
+ "lstrip": false,
38
+ "rstrip": false,
39
+ "normalized": false,
40
+ "special": false
41
+ },
42
+ {
43
+ "id": 32001,
44
+ "content": "<|im_end|>",
45
+ "single_word": false,
46
+ "lstrip": false,
47
+ "rstrip": false,
48
+ "normalized": false,
49
+ "special": false
50
  }
51
  ],
52
+ "normalizer": null,
53
+ "pre_tokenizer": {
54
+ "type": "Metaspace",
55
+ "replacement": "▁",
56
+ "prepend_scheme": "first",
57
+ "split": false
 
 
 
 
 
 
 
 
 
58
  },
 
59
  "post_processor": {
60
  "type": "TemplateProcessing",
61
  "single": [
 
142
  "end_of_word_suffix": null,
143
  "fuse_unk": true,
144
  "byte_fallback": true,
145
+ "ignore_merges": false,
146
  "vocab": {
147
  "<unk>": 0,
148
  "<s>": 1,
tokenizer_config.json CHANGED
@@ -1,6 +1,7 @@
1
  {
2
  "add_bos_token": true,
3
  "add_eos_token": false,
 
4
  "added_tokens_decoder": {
5
  "0": {
6
  "content": "<unk>",
@@ -25,17 +26,36 @@
25
  "rstrip": false,
26
  "single_word": false,
27
  "special": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
29
  },
30
  "bos_token": "<s>",
 
31
  "clean_up_tokenization_spaces": false,
32
  "eos_token": "</s>",
33
  "legacy": false,
34
- "model_max_length": 1000000000000000019884624838656,
35
- "pad_token": null,
36
  "padding_side": "right",
37
  "sp_model_kwargs": {},
 
38
  "tokenizer_class": "LlamaTokenizer",
39
  "unk_token": "<unk>",
40
- "use_default_system_prompt": false
 
41
  }
 
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>",
 
26
  "rstrip": false,
27
  "single_word": false,
28
  "special": true
29
+ },
30
+ "32000": {
31
+ "content": "<|im_start|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": false
37
+ },
38
+ "32001": {
39
+ "content": "<|im_end|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": false
45
  }
46
  },
47
  "bos_token": "<s>",
48
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
49
  "clean_up_tokenization_spaces": false,
50
  "eos_token": "</s>",
51
  "legacy": false,
52
+ "model_max_length": 2048,
53
+ "pad_token": "</s>",
54
  "padding_side": "right",
55
  "sp_model_kwargs": {},
56
+ "spaces_between_special_tokens": false,
57
  "tokenizer_class": "LlamaTokenizer",
58
  "unk_token": "<unk>",
59
+ "use_default_system_prompt": false,
60
+ "use_fast": true
61
  }