pacozaa commited on
Commit
7788dee
1 Parent(s): 9b70f88

Upload model trained with Unsloth

Browse files

Upload model trained with Unsloth 2x faster

Files changed (4) hide show
  1. README.md +3 -3
  2. special_tokens_map.json +4 -28
  3. tokenizer.json +3 -2
  4. tokenizer_config.json +5 -7
README.md CHANGED
@@ -1,4 +1,7 @@
1
  ---
 
 
 
2
  language:
3
  - en
4
  license: apache-2.0
@@ -9,9 +12,6 @@ tags:
9
  - mistral
10
  - trl
11
  - ollama
12
- base_model: unsloth/mistral-7b-bnb-4bit
13
- datasets:
14
- - liyucheng/ShareGPT90K
15
  ---
16
 
17
  # Uploaded model
 
1
  ---
2
+ base_model: unsloth/mistral-7b-bnb-4bit
3
+ datasets:
4
+ - liyucheng/ShareGPT90K
5
  language:
6
  - en
7
  license: apache-2.0
 
12
  - mistral
13
  - trl
14
  - ollama
 
 
 
15
  ---
16
 
17
  # Uploaded model
special_tokens_map.json CHANGED
@@ -1,30 +1,6 @@
1
  {
2
- "bos_token": {
3
- "content": "<s>",
4
- "lstrip": false,
5
- "normalized": false,
6
- "rstrip": false,
7
- "single_word": false
8
- },
9
- "eos_token": {
10
- "content": "</s>",
11
- "lstrip": false,
12
- "normalized": false,
13
- "rstrip": false,
14
- "single_word": false
15
- },
16
- "pad_token": {
17
- "content": "<unk>",
18
- "lstrip": false,
19
- "normalized": false,
20
- "rstrip": false,
21
- "single_word": false
22
- },
23
- "unk_token": {
24
- "content": "<unk>",
25
- "lstrip": false,
26
- "normalized": false,
27
- "rstrip": false,
28
- "single_word": false
29
- }
30
  }
 
1
  {
2
+ "bos_token": "<s>",
3
+ "eos_token": "<|im_end|>",
4
+ "pad_token": "<unk>",
5
+ "unk_token": "<unk>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  }
tokenizer.json CHANGED
@@ -23,7 +23,7 @@
23
  },
24
  {
25
  "id": 2,
26
- "content": "</s>",
27
  "single_word": false,
28
  "lstrip": false,
29
  "rstrip": false,
@@ -134,10 +134,11 @@
134
  "end_of_word_suffix": null,
135
  "fuse_unk": true,
136
  "byte_fallback": true,
 
137
  "vocab": {
138
  "<unk>": 0,
139
  "<s>": 1,
140
- "</s>": 2,
141
  "<0x00>": 3,
142
  "<0x01>": 4,
143
  "<0x02>": 5,
 
23
  },
24
  {
25
  "id": 2,
26
+ "content": "<|im_end|>",
27
  "single_word": false,
28
  "lstrip": false,
29
  "rstrip": false,
 
134
  "end_of_word_suffix": null,
135
  "fuse_unk": true,
136
  "byte_fallback": true,
137
+ "ignore_merges": false,
138
  "vocab": {
139
  "<unk>": 0,
140
  "<s>": 1,
141
+ "<|im_end|>": 2,
142
  "<0x00>": 3,
143
  "<0x01>": 4,
144
  "<0x02>": 5,
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>",
@@ -19,7 +20,7 @@
19
  "special": true
20
  },
21
  "2": {
22
- "content": "</s>",
23
  "lstrip": false,
24
  "normalized": false,
25
  "rstrip": false,
@@ -27,16 +28,13 @@
27
  "special": true
28
  }
29
  },
30
- "additional_special_tokens": [],
31
  "bos_token": "<s>",
 
32
  "clean_up_tokenization_spaces": false,
33
- "eos_token": "</s>",
34
  "legacy": true,
35
- "model_max_length": 32768,
36
  "pad_token": "<unk>",
37
- "padding_side": "left",
38
- "sp_model_kwargs": {},
39
- "spaces_between_special_tokens": false,
40
  "tokenizer_class": "LlamaTokenizer",
41
  "unk_token": "<unk>",
42
  "use_default_system_prompt": false
 
1
  {
2
  "add_bos_token": true,
3
  "add_eos_token": false,
4
+ "add_prefix_space": null,
5
  "added_tokens_decoder": {
6
  "0": {
7
  "content": "<unk>",
 
20
  "special": true
21
  },
22
  "2": {
23
+ "content": "<|im_end|>",
24
  "lstrip": false,
25
  "normalized": false,
26
  "rstrip": false,
 
28
  "special": true
29
  }
30
  },
 
31
  "bos_token": "<s>",
32
+ "chat_template": "{% for message in messages %}{% if message['from'] == 'human' %}{{'<|im_start|>user\n' + message['value'] + '<|im_end|>\n'}}{% elif message['from'] == 'gpt' %}{{'<|im_start|>assistant\n' + message['value'] + '<|im_end|>\n' }}{% else %}{{ '<|im_start|>system\n' + message['value'] + '<|im_end|>\n' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
33
  "clean_up_tokenization_spaces": false,
34
+ "eos_token": "<|im_end|>",
35
  "legacy": true,
36
+ "model_max_length": 1000000000000000019884624838656,
37
  "pad_token": "<unk>",
 
 
 
38
  "tokenizer_class": "LlamaTokenizer",
39
  "unk_token": "<unk>",
40
  "use_default_system_prompt": false