gradientdegen commited on
Commit
628ea30
·
verified ·
1 Parent(s): c417d53

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,9 +1,9 @@
1
  ---
2
- base_model: microsoft/Phi-4-mini-instruct
3
  library_name: peft
4
  pipeline_tag: text-generation
5
  tags:
6
- - base_model:adapter:microsoft/Phi-4-mini-instruct
7
  - lora
8
  - sft
9
  - transformers
 
1
  ---
2
+ base_model: microsoft/Phi-3.5-mini-instruct
3
  library_name: peft
4
  pipeline_tag: text-generation
5
  tags:
6
+ - base_model:adapter:microsoft/Phi-3.5-mini-instruct
7
  - lora
8
  - sft
9
  - transformers
adapter_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
- "base_model_name_or_path": "microsoft/Phi-4-mini-instruct",
5
  "bias": "none",
6
  "corda_config": null,
7
  "eva_config": null,
 
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
+ "base_model_name_or_path": "microsoft/Phi-3.5-mini-instruct",
5
  "bias": "none",
6
  "corda_config": null,
7
  "eva_config": null,
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:25a27933ad75c0bc76d57df2783ffa167a049b8b6d00a60dc48dbef831b5d520
3
  size 71320216
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d1faa0a6dc66a4e2478e0882c9d3a6e8cdec71d674be7ddcccc900b2b9b6b4d
3
  size 71320216
added_tokens.json CHANGED
@@ -1,12 +1,13 @@
1
  {
2
- "<|/tool_call|>": 200026,
3
- "<|/tool|>": 200024,
4
- "<|assistant|>": 200019,
5
- "<|end|>": 200020,
6
- "<|system|>": 200022,
7
- "<|tag|>": 200028,
8
- "<|tool_call|>": 200025,
9
- "<|tool_response|>": 200027,
10
- "<|tool|>": 200023,
11
- "<|user|>": 200021
 
12
  }
 
1
  {
2
+ "<|assistant|>": 32001,
3
+ "<|endoftext|>": 32000,
4
+ "<|end|>": 32007,
5
+ "<|placeholder1|>": 32002,
6
+ "<|placeholder2|>": 32003,
7
+ "<|placeholder3|>": 32004,
8
+ "<|placeholder4|>": 32005,
9
+ "<|placeholder5|>": 32008,
10
+ "<|placeholder6|>": 32009,
11
+ "<|system|>": 32006,
12
+ "<|user|>": 32010
13
  }
special_tokens_map.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "bos_token": {
3
- "content": "<|endoftext|>",
4
  "lstrip": false,
5
  "normalized": false,
6
  "rstrip": false,
@@ -15,7 +15,7 @@
15
  },
16
  "pad_token": "<|endoftext|>",
17
  "unk_token": {
18
- "content": "<|endoftext|>",
19
  "lstrip": false,
20
  "normalized": false,
21
  "rstrip": false,
 
1
  {
2
  "bos_token": {
3
+ "content": "<s>",
4
  "lstrip": false,
5
  "normalized": false,
6
  "rstrip": false,
 
15
  },
16
  "pad_token": "<|endoftext|>",
17
  "unk_token": {
18
+ "content": "<unk>",
19
  "lstrip": false,
20
  "normalized": false,
21
  "rstrip": false,
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:382cc235b56c725945e149cc25f191da667c836655efd0857b004320e90e91ea
3
- size 15524095
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cb815b904d82b82b25dcd90edd00e71a5ee5443472ad611bcb84f1339300647
3
+ size 3620657
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json CHANGED
@@ -1,25 +1,41 @@
1
  {
2
  "add_bos_token": false,
3
  "add_eos_token": false,
4
- "add_prefix_space": false,
5
  "added_tokens_decoder": {
6
- "199999": {
7
- "content": "<|endoftext|>",
8
  "lstrip": false,
9
  "normalized": false,
10
  "rstrip": false,
11
  "single_word": false,
12
  "special": true
13
  },
14
- "200018": {
15
- "content": "<|endofprompt|>",
16
  "lstrip": false,
17
  "normalized": false,
18
  "rstrip": false,
19
  "single_word": false,
20
  "special": true
21
  },
22
- "200019": {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  "content": "<|assistant|>",
24
  "lstrip": false,
25
  "normalized": false,
@@ -27,72 +43,72 @@
27
  "single_word": false,
28
  "special": true
29
  },
30
- "200020": {
31
- "content": "<|end|>",
32
  "lstrip": false,
33
  "normalized": false,
34
  "rstrip": true,
35
  "single_word": false,
36
  "special": true
37
  },
38
- "200021": {
39
- "content": "<|user|>",
40
  "lstrip": false,
41
  "normalized": false,
42
  "rstrip": true,
43
  "single_word": false,
44
  "special": true
45
  },
46
- "200022": {
47
- "content": "<|system|>",
48
  "lstrip": false,
49
  "normalized": false,
50
  "rstrip": true,
51
  "single_word": false,
52
  "special": true
53
  },
54
- "200023": {
55
- "content": "<|tool|>",
56
  "lstrip": false,
57
  "normalized": false,
58
  "rstrip": true,
59
  "single_word": false,
60
- "special": false
61
  },
62
- "200024": {
63
- "content": "<|/tool|>",
64
  "lstrip": false,
65
  "normalized": false,
66
  "rstrip": true,
67
  "single_word": false,
68
- "special": false
69
  },
70
- "200025": {
71
- "content": "<|tool_call|>",
72
  "lstrip": false,
73
  "normalized": false,
74
  "rstrip": true,
75
  "single_word": false,
76
- "special": false
77
  },
78
- "200026": {
79
- "content": "<|/tool_call|>",
80
  "lstrip": false,
81
  "normalized": false,
82
  "rstrip": true,
83
  "single_word": false,
84
- "special": false
85
  },
86
- "200027": {
87
- "content": "<|tool_response|>",
88
  "lstrip": false,
89
  "normalized": false,
90
  "rstrip": true,
91
  "single_word": false,
92
- "special": false
93
  },
94
- "200028": {
95
- "content": "<|tag|>",
96
  "lstrip": false,
97
  "normalized": false,
98
  "rstrip": true,
@@ -100,14 +116,17 @@
100
  "special": true
101
  }
102
  },
103
- "bos_token": "<|endoftext|>",
104
- "chat_template": "{% for message in messages %}{% if message['role'] == 'system' and 'tools' in message and message['tools'] is not none %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|tool|>' + message['tools'] + '<|/tool|>' + '<|end|>' }}{% else %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|end|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>' }}{% else %}{{ eos_token }}{% endif %}",
105
  "clean_up_tokenization_spaces": false,
106
  "eos_token": "<|endoftext|>",
107
  "extra_special_tokens": {},
 
108
  "model_max_length": 131072,
109
  "pad_token": "<|endoftext|>",
110
  "padding_side": "right",
111
- "tokenizer_class": "GPT2Tokenizer",
112
- "unk_token": "<|endoftext|>"
 
 
113
  }
 
1
  {
2
  "add_bos_token": false,
3
  "add_eos_token": false,
4
+ "add_prefix_space": null,
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": true,
27
+ "single_word": false,
28
+ "special": false
29
+ },
30
+ "32000": {
31
+ "content": "<|endoftext|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "32001": {
39
  "content": "<|assistant|>",
40
  "lstrip": false,
41
  "normalized": false,
 
43
  "single_word": false,
44
  "special": true
45
  },
46
+ "32002": {
47
+ "content": "<|placeholder1|>",
48
  "lstrip": false,
49
  "normalized": false,
50
  "rstrip": true,
51
  "single_word": false,
52
  "special": true
53
  },
54
+ "32003": {
55
+ "content": "<|placeholder2|>",
56
  "lstrip": false,
57
  "normalized": false,
58
  "rstrip": true,
59
  "single_word": false,
60
  "special": true
61
  },
62
+ "32004": {
63
+ "content": "<|placeholder3|>",
64
  "lstrip": false,
65
  "normalized": false,
66
  "rstrip": true,
67
  "single_word": false,
68
  "special": true
69
  },
70
+ "32005": {
71
+ "content": "<|placeholder4|>",
72
  "lstrip": false,
73
  "normalized": false,
74
  "rstrip": true,
75
  "single_word": false,
76
+ "special": true
77
  },
78
+ "32006": {
79
+ "content": "<|system|>",
80
  "lstrip": false,
81
  "normalized": false,
82
  "rstrip": true,
83
  "single_word": false,
84
+ "special": true
85
  },
86
+ "32007": {
87
+ "content": "<|end|>",
88
  "lstrip": false,
89
  "normalized": false,
90
  "rstrip": true,
91
  "single_word": false,
92
+ "special": true
93
  },
94
+ "32008": {
95
+ "content": "<|placeholder5|>",
96
  "lstrip": false,
97
  "normalized": false,
98
  "rstrip": true,
99
  "single_word": false,
100
+ "special": true
101
  },
102
+ "32009": {
103
+ "content": "<|placeholder6|>",
104
  "lstrip": false,
105
  "normalized": false,
106
  "rstrip": true,
107
  "single_word": false,
108
+ "special": true
109
  },
110
+ "32010": {
111
+ "content": "<|user|>",
112
  "lstrip": false,
113
  "normalized": false,
114
  "rstrip": true,
 
116
  "special": true
117
  }
118
  },
119
+ "bos_token": "<s>",
120
+ "chat_template": "{% for message in messages %}{% if message['role'] == 'system' and message['content'] %}{{'<|system|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'user' %}{{'<|user|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|assistant|>\n' + message['content'] + '<|end|>\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>\n' }}{% else %}{{ eos_token }}{% endif %}",
121
  "clean_up_tokenization_spaces": false,
122
  "eos_token": "<|endoftext|>",
123
  "extra_special_tokens": {},
124
+ "legacy": false,
125
  "model_max_length": 131072,
126
  "pad_token": "<|endoftext|>",
127
  "padding_side": "right",
128
+ "sp_model_kwargs": {},
129
+ "tokenizer_class": "LlamaTokenizer",
130
+ "unk_token": "<unk>",
131
+ "use_default_system_prompt": false
132
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b967ba5a8b1d5d5fe1b8fb599f59ce2f87bb0ed610b8b627beb7737962973277
3
  size 5560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42cd80a1d542da4b8107883aff865bf2548f3e1eafe8ff89527d6b4b9583bba0
3
  size 5560