amakura commited on
Commit
1edadca
·
verified ·
1 Parent(s): 189f48b

amakura/gcfree_model_final_64k

Browse files
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- base_model: unsloth/phi-3-mini-4k-instruct-bnb-4bit
3
  library_name: transformers
4
  model_name: code_model
5
  tags:
@@ -12,7 +12,7 @@ licence: license
12
 
13
  # Model Card for code_model
14
 
15
- This model is a fine-tuned version of [unsloth/phi-3-mini-4k-instruct-bnb-4bit](https://huggingface.co/unsloth/phi-3-mini-4k-instruct-bnb-4bit).
16
  It has been trained using [TRL](https://github.com/huggingface/trl).
17
 
18
  ## Quick start
@@ -28,7 +28,7 @@ print(output["generated_text"])
28
 
29
  ## Training procedure
30
 
31
- [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/amura-n-a/huggingface/runs/7y3mu85e)
32
 
33
 
34
  This model was trained with SFT.
@@ -36,10 +36,10 @@ This model was trained with SFT.
36
  ### Framework versions
37
 
38
  - TRL: 0.13.0
39
- - Transformers: 4.46.3
40
  - Pytorch: 2.5.1+cu121
41
  - Datasets: 3.2.0
42
- - Tokenizers: 0.20.3
43
 
44
  ## Citations
45
 
 
1
  ---
2
+ base_model: unsloth/phi-3.5-mini-instruct-bnb-4bit
3
  library_name: transformers
4
  model_name: code_model
5
  tags:
 
12
 
13
  # Model Card for code_model
14
 
15
+ This model is a fine-tuned version of [unsloth/phi-3.5-mini-instruct-bnb-4bit](https://huggingface.co/unsloth/phi-3.5-mini-instruct-bnb-4bit).
16
  It has been trained using [TRL](https://github.com/huggingface/trl).
17
 
18
  ## Quick start
 
28
 
29
  ## Training procedure
30
 
31
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/amura-n-a/huggingface/runs/jrg7lvn4)
32
 
33
 
34
  This model was trained with SFT.
 
36
  ### Framework versions
37
 
38
  - TRL: 0.13.0
39
+ - Transformers: 4.47.1
40
  - Pytorch: 2.5.1+cu121
41
  - Datasets: 3.2.0
42
+ - Tokenizers: 0.21.0
43
 
44
  ## Citations
45
 
adapter_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
- "base_model_name_or_path": "unsloth/phi-3-mini-4k-instruct-bnb-4bit",
5
  "bias": "none",
6
  "eva_config": null,
7
  "exclude_modules": null,
@@ -23,13 +23,13 @@
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
 
26
  "v_proj",
27
  "gate_proj",
28
- "o_proj",
29
- "up_proj",
30
- "down_proj",
31
  "q_proj",
32
- "k_proj"
 
 
33
  ],
34
  "task_type": "CAUSAL_LM",
35
  "use_dora": false,
 
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
+ "base_model_name_or_path": "unsloth/phi-3.5-mini-instruct-bnb-4bit",
5
  "bias": "none",
6
  "eva_config": null,
7
  "exclude_modules": null,
 
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
26
+ "k_proj",
27
  "v_proj",
28
  "gate_proj",
 
 
 
29
  "q_proj",
30
+ "up_proj",
31
+ "o_proj",
32
+ "down_proj"
33
  ],
34
  "task_type": "CAUSAL_LM",
35
  "use_dora": false,
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:72a43f9cb92717682e4076e1053dc4abc3066ca1cdec21c63bc28f4a9762160d
3
  size 119597408
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b74b7ae3dba999ab6787f7bd69c6ec97ff1f7ed025e261aafa558acd89e07d16
3
  size 119597408
runs/Jan06_09-56-32_81f15d1fc8dd/events.out.tfevents.1736157410.81f15d1fc8dd.1246.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d65e8c8264dd23de5878e095c02c03d4ba9c62ab965ee4c802910e5bf462c100
3
+ size 11129
special_tokens_map.json CHANGED
@@ -17,7 +17,7 @@
17
  "content": "<|placeholder6|>",
18
  "lstrip": false,
19
  "normalized": false,
20
- "rstrip": false,
21
  "single_word": false
22
  },
23
  "unk_token": {
 
17
  "content": "<|placeholder6|>",
18
  "lstrip": false,
19
  "normalized": false,
20
+ "rstrip": true,
21
  "single_word": false
22
  },
23
  "unk_token": {
tokenizer.json CHANGED
@@ -121,7 +121,7 @@
121
  "content": "<|placeholder6|>",
122
  "single_word": false,
123
  "lstrip": false,
124
- "rstrip": false,
125
  "normalized": false,
126
  "special": true
127
  },
 
121
  "content": "<|placeholder6|>",
122
  "single_word": false,
123
  "lstrip": false,
124
+ "rstrip": true,
125
  "normalized": false,
126
  "special": true
127
  },
tokenizer_config.json CHANGED
@@ -103,7 +103,7 @@
103
  "content": "<|placeholder6|>",
104
  "lstrip": false,
105
  "normalized": false,
106
- "rstrip": false,
107
  "single_word": false,
108
  "special": true
109
  },
@@ -117,11 +117,12 @@
117
  }
118
  },
119
  "bos_token": "<s>",
120
- "chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{'<|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
  "legacy": false,
124
- "model_max_length": 4096,
125
  "pad_token": "<|placeholder6|>",
126
  "padding_side": "left",
127
  "sp_model_kwargs": {},
 
103
  "content": "<|placeholder6|>",
104
  "lstrip": false,
105
  "normalized": false,
106
+ "rstrip": true,
107
  "single_word": false,
108
  "special": true
109
  },
 
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": "<|placeholder6|>",
127
  "padding_side": "left",
128
  "sp_model_kwargs": {},
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:05533f8bf6a569bdaa671c2d5cf1d43248fe71d50f597af3338f72699460c2f9
3
  size 5560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16ac76af50a8ef123a0fcda39fc57a69425e0d7288d8d36356a11b9f05aaba55
3
  size 5560