algorythmtechnologies commited on
Commit
28b1dea
·
verified ·
1 Parent(s): 25505f2

Add files using upload-large-folder tool

Browse files
README.md CHANGED
@@ -1,214 +1,62 @@
1
  ---
2
- license: other
3
- license_name: deepseek-license
4
- license_link: LICENSE
 
 
 
 
 
 
 
 
5
  ---
6
- <!-- markdownlint-disable first-line-h1 -->
7
- <!-- markdownlint-disable html -->
8
- <!-- markdownlint-disable no-duplicate-header -->
9
 
10
- <div align="center">
11
- <img src="https://github.com/deepseek-ai/DeepSeek-V2/blob/main/figures/logo.svg?raw=true" width="60%" alt="DeepSeek-V2" />
12
- </div>
13
- <hr>
14
- <div align="center" style="line-height: 1;">
15
- <a href="https://www.deepseek.com/" target="_blank" style="margin: 2px;">
16
- <img alt="Homepage" src="https://github.com/deepseek-ai/DeepSeek-V2/blob/main/figures/badge.svg?raw=true" style="display: inline-block; vertical-align: middle;"/>
17
- </a>
18
- <a href="https://chat.deepseek.com/" target="_blank" style="margin: 2px;">
19
- <img alt="Chat" src="https://img.shields.io/badge/🤖%20Chat-DeepSeek%20V2-536af5?color=536af5&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
20
- </a>
21
- <a href="https://huggingface.co/deepseek-ai" target="_blank" style="margin: 2px;">
22
- <img alt="Hugging Face" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-DeepSeek%20AI-ffc107?color=ffc107&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
23
- </a>
24
- </div>
25
 
26
- <div align="center" style="line-height: 1;">
27
- <a href="https://discord.gg/Tc7c45Zzu5" target="_blank" style="margin: 2px;">
28
- <img alt="Discord" src="https://img.shields.io/badge/Discord-DeepSeek%20AI-7289da?logo=discord&logoColor=white&color=7289da" style="display: inline-block; vertical-align: middle;"/>
29
- </a>
30
- <a href="https://github.com/deepseek-ai/DeepSeek-V2/blob/main/figures/qr.jpeg?raw=true" target="_blank" style="margin: 2px;">
31
- <img alt="Wechat" src="https://img.shields.io/badge/WeChat-DeepSeek%20AI-brightgreen?logo=wechat&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
32
- </a>
33
- <a href="https://twitter.com/deepseek_ai" target="_blank" style="margin: 2px;">
34
- <img alt="Twitter Follow" src="https://img.shields.io/badge/Twitter-deepseek_ai-white?logo=x&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
35
- </a>
36
- </div>
37
 
38
- <div align="center" style="line-height: 1;">
39
- <a href="https://github.com/deepseek-ai/DeepSeek-V2/blob/main/LICENSE-CODE" style="margin: 2px;">
40
- <img alt="Code License" src="https://img.shields.io/badge/Code_License-MIT-f5de53?&color=f5de53" style="display: inline-block; vertical-align: middle;"/>
41
- </a>
42
- <a href="https://github.com/deepseek-ai/DeepSeek-V2/blob/main/LICENSE-MODEL" style="margin: 2px;">
43
- <img alt="Model License" src="https://img.shields.io/badge/Model_License-Model_Agreement-f5de53?&color=f5de53" style="display: inline-block; vertical-align: middle;"/>
44
- </a>
45
- </div>
46
- <p align="center">
47
- <a href="#4-api-platform">API Platform</a> |
48
- <a href="#5-how-to-run-locally">How to Use</a> |
49
- <a href="#6-license">License</a> |
50
- </p>
51
 
52
-
53
- <p align="center">
54
- <a href="https://github.com/deepseek-ai/DeepSeek-Coder-V2/blob/main/paper.pdf"><b>Paper Link</b>👁️</a>
55
- </p>
56
-
57
- # DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligence
58
-
59
- ## 1. Introduction
60
- We present DeepSeek-Coder-V2, an open-source Mixture-of-Experts (MoE) code language model that achieves performance comparable to GPT4-Turbo in code-specific tasks. Specifically, DeepSeek-Coder-V2 is further pre-trained from an intermediate checkpoint of DeepSeek-V2 with additional 6 trillion tokens. Through this continued pre-training, DeepSeek-Coder-V2 substantially enhances the coding and mathematical reasoning capabilities of DeepSeek-V2, while maintaining comparable performance in general language tasks. Compared to DeepSeek-Coder-33B, DeepSeek-Coder-V2 demonstrates significant advancements in various aspects of code-related tasks, as well as reasoning and general capabilities. Additionally, DeepSeek-Coder-V2 expands its support for programming languages from 86 to 338, while extending the context length from 16K to 128K.
61
-
62
- <p align="center">
63
- <img width="100%" src="https://github.com/deepseek-ai/DeepSeek-Coder-V2/blob/main/figures/performance.png?raw=true">
64
- </p>
65
-
66
-
67
- In standard benchmark evaluations, DeepSeek-Coder-V2 achieves superior performance compared to closed-source models such as GPT4-Turbo, Claude 3 Opus, and Gemini 1.5 Pro in coding and math benchmarks. The list of supported programming languages can be found [here](https://github.com/deepseek-ai/DeepSeek-Coder-V2/blob/main/supported_langs.txt).
68
-
69
- ## 2. Model Downloads
70
-
71
- We release the DeepSeek-Coder-V2 with 16B and 236B parameters based on the [DeepSeekMoE](https://arxiv.org/pdf/2401.06066) framework, which has actived parameters of only 2.4B and 21B , including base and instruct models, to the public.
72
-
73
- <div align="center">
74
-
75
- | **Model** | **#Total Params** | **#Active Params** | **Context Length** | **Download** |
76
- | :-----------------------------: | :---------------: | :----------------: | :----------------: | :----------------------------------------------------------: |
77
- | DeepSeek-Coder-V2-Lite-Base | 16B | 2.4B | 128k | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-Coder-V2-Lite-Base) |
78
- | DeepSeek-Coder-V2-Lite-Instruct | 16B | 2.4B | 128k | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct) |
79
- | DeepSeek-Coder-V2-Base | 236B | 21B | 128k | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-Coder-V2-Base) |
80
- | DeepSeek-Coder-V2-Instruct | 236B | 21B | 128k | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-Coder-V2-Instruct) |
81
-
82
- </div>
83
-
84
-
85
- ## 3. Chat Website
86
-
87
- You can chat with the DeepSeek-Coder-V2 on DeepSeek's official website: [coder.deepseek.com](https://coder.deepseek.com/sign_in)
88
-
89
- ## 4. API Platform
90
- We also provide OpenAI-Compatible API at DeepSeek Platform: [platform.deepseek.com](https://platform.deepseek.com/), and you can also pay-as-you-go at an unbeatable price.
91
- <p align="center">
92
- <img width="40%" src="https://github.com/deepseek-ai/DeepSeek-Coder-V2/blob/main/figures/model_price.jpg?raw=true">
93
- </p>
94
-
95
-
96
- ## 5. How to run locally
97
- **Here, we provide some examples of how to use DeepSeek-Coder-V2-Lite model. If you want to utilize DeepSeek-Coder-V2 in BF16 format for inference, 80GB*8 GPUs are required.**
98
-
99
- ### Inference with Huggingface's Transformers
100
- You can directly employ [Huggingface's Transformers](https://github.com/huggingface/transformers) for model inference.
101
-
102
- #### Code Completion
103
- ```python
104
- from transformers import AutoTokenizer, AutoModelForCausalLM
105
- import torch
106
- tokenizer = AutoTokenizer.from_pretrained("deepseek-ai/DeepSeek-Coder-V2-Lite-Base", trust_remote_code=True)
107
- model = AutoModelForCausalLM.from_pretrained("deepseek-ai/DeepSeek-Coder-V2-Lite-Base", trust_remote_code=True, torch_dtype=torch.bfloat16).cuda()
108
- input_text = "#write a quick sort algorithm"
109
- inputs = tokenizer(input_text, return_tensors="pt").to(model.device)
110
- outputs = model.generate(**inputs, max_length=128)
111
- print(tokenizer.decode(outputs[0], skip_special_tokens=True))
112
- ```
113
-
114
- #### Code Insertion
115
  ```python
116
- from transformers import AutoTokenizer, AutoModelForCausalLM
117
- import torch
118
- tokenizer = AutoTokenizer.from_pretrained("deepseek-ai/DeepSeek-Coder-V2-Lite-Base", trust_remote_code=True)
119
- model = AutoModelForCausalLM.from_pretrained("deepseek-ai/DeepSeek-Coder-V2-Lite-Base", trust_remote_code=True, torch_dtype=torch.bfloat16).cuda()
120
- input_text = """<|fim▁begin|>def quick_sort(arr):
121
- if len(arr) <= 1:
122
- return arr
123
- pivot = arr[0]
124
- left = []
125
- right = []
126
- <|fim▁hole|>
127
- if arr[i] < pivot:
128
- left.append(arr[i])
129
- else:
130
- right.append(arr[i])
131
- return quick_sort(left) + [pivot] + quick_sort(right)<|fim▁end|>"""
132
- inputs = tokenizer(input_text, return_tensors="pt").to(model.device)
133
- outputs = model.generate(**inputs, max_length=128)
134
- print(tokenizer.decode(outputs[0], skip_special_tokens=True)[len(input_text):])
135
- ```
136
-
137
- #### Chat Completion
138
-
139
- ```python
140
- from transformers import AutoTokenizer, AutoModelForCausalLM
141
- import torch
142
- tokenizer = AutoTokenizer.from_pretrained("deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct", trust_remote_code=True)
143
- model = AutoModelForCausalLM.from_pretrained("deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct", trust_remote_code=True, torch_dtype=torch.bfloat16).cuda()
144
- messages=[
145
- { 'role': 'user', 'content': "write a quick sort algorithm in python."}
146
- ]
147
- inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
148
- # tokenizer.eos_token_id is the id of <|end▁of▁sentence|> token
149
- outputs = model.generate(inputs, max_new_tokens=512, do_sample=False, top_k=50, top_p=0.95, num_return_sequences=1, eos_token_id=tokenizer.eos_token_id)
150
- print(tokenizer.decode(outputs[0][len(inputs[0]):], skip_special_tokens=True))
151
- ```
152
-
153
-
154
-
155
- The complete chat template can be found within `tokenizer_config.json` located in the huggingface model repository.
156
-
157
- An example of chat template is as belows:
158
-
159
- ```bash
160
- <|begin▁of▁sentence|>User: {user_message_1}
161
-
162
- Assistant: {assistant_message_1}<|end▁of▁sentence|>User: {user_message_2}
163
 
164
- Assistant:
 
 
 
165
  ```
166
 
167
- You can also add an optional system message:
168
 
169
- ```bash
170
- <|begin▁of▁sentence|>{system_message}
171
 
172
- User: {user_message_1}
173
 
174
- Assistant: {assistant_message_1}<|end▁of▁sentence|>User: {user_message_2}
175
-
176
- Assistant:
177
- ```
178
-
179
- ### Inference with vLLM (recommended)
180
- To utilize [vLLM](https://github.com/vllm-project/vllm) for model inference, please merge this Pull Request into your vLLM codebase: https://github.com/vllm-project/vllm/pull/4650.
181
-
182
- ```python
183
- from transformers import AutoTokenizer
184
- from vllm import LLM, SamplingParams
185
-
186
- max_model_len, tp_size = 8192, 1
187
- model_name = "deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct"
188
- tokenizer = AutoTokenizer.from_pretrained(model_name)
189
- llm = LLM(model=model_name, tensor_parallel_size=tp_size, max_model_len=max_model_len, trust_remote_code=True, enforce_eager=True)
190
- sampling_params = SamplingParams(temperature=0.3, max_tokens=256, stop_token_ids=[tokenizer.eos_token_id])
191
-
192
- messages_list = [
193
- [{"role": "user", "content": "Who are you?"}],
194
- [{"role": "user", "content": "write a quick sort algorithm in python."}],
195
- [{"role": "user", "content": "Write a piece of quicksort code in C++."}],
196
- ]
197
-
198
- prompt_token_ids = [tokenizer.apply_chat_template(messages, add_generation_prompt=True) for messages in messages_list]
199
-
200
- outputs = llm.generate(prompt_token_ids=prompt_token_ids, sampling_params=sampling_params)
201
-
202
- generated_text = [output.outputs[0].text for output in outputs]
203
- print(generated_text)
204
- ```
205
 
 
206
 
 
 
 
 
 
 
207
 
208
- ## 6. License
209
 
210
- This code repository is licensed under [the MIT License](https://github.com/deepseek-ai/DeepSeek-Coder-V2/blob/main/LICENSE-CODE). The use of DeepSeek-Coder-V2 Base/Instruct models is subject to [the Model License](https://github.com/deepseek-ai/DeepSeek-Coder-V2/blob/main/LICENSE-MODEL). DeepSeek-Coder-V2 series (including Base and Instruct) supports commercial use.
211
 
212
 
213
- ## 7. Contact
214
- If you have any questions, please raise an issue or contact us at [service@deepseek.com](service@deepseek.com).
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ library_name: peft
3
+ model_name: zenith-lora
4
+ tags:
5
+ - base_model:adapter:DeepSeek-Coder-V2-Lite-Instruct
6
+ - lora
7
+ - sft
8
+ - transformers
9
+ - trl
10
+ licence: license
11
+ base_model: DeepSeek-Coder-V2-Lite-Instruct
12
+ pipeline_tag: text-generation
13
  ---
 
 
 
14
 
15
+ # Model Card for zenith-lora
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
 
17
+ This model is a fine-tuned version of [None](https://huggingface.co/None).
18
+ It has been trained using [TRL](https://github.com/huggingface/trl).
 
 
 
 
 
 
 
 
 
19
 
20
+ ## Quick start
 
 
 
 
 
 
 
 
 
 
 
 
21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  ```python
23
+ from transformers import pipeline
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
26
+ generator = pipeline("text-generation", model="None", device="cuda")
27
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
28
+ print(output["generated_text"])
29
  ```
30
 
31
+ ## Training procedure
32
 
33
+
 
34
 
 
35
 
36
+ This model was trained with SFT.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
+ ### Framework versions
39
 
40
+ - PEFT 0.17.1
41
+ - TRL: 0.24.0
42
+ - Transformers: 4.56.1
43
+ - Pytorch: 2.8.0+cu128
44
+ - Datasets: 4.3.0
45
+ - Tokenizers: 0.22.1
46
 
47
+ ## Citations
48
 
 
49
 
50
 
51
+ Cite TRL as:
52
+
53
+ ```bibtex
54
+ @misc{vonwerra2022trl,
55
+ title = {{TRL: Transformer Reinforcement Learning}},
56
+ author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
57
+ year = 2020,
58
+ journal = {GitHub repository},
59
+ publisher = {GitHub},
60
+ howpublished = {\url{https://github.com/huggingface/trl}}
61
+ }
62
+ ```
adapter_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "DeepSeek-Coder-V2-Lite-Instruct",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 8,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "q_proj",
29
+ "v_proj"
30
+ ],
31
+ "target_parameters": null,
32
+ "task_type": "CAUSAL_LM",
33
+ "trainable_token_indices": null,
34
+ "use_dora": false,
35
+ "use_qalora": false,
36
+ "use_rslora": false
37
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7343364542f2d89df7ee70af0a716978469ef202dc3d6fac245ad13b62bb9e53
3
+ size 4430800
chat_template.jinja ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{{ bos_token }}{% for message in messages %}{% if message['role'] == 'user' %}{{ 'User: ' + message['content'] + '
2
+
3
+ ' }}{% elif message['role'] == 'assistant' %}{{ 'Assistant: ' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ message['content'] + '
4
+
5
+ ' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}
checkpoint-250/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: DeepSeek-Coder-V2-Lite-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:DeepSeek-Coder-V2-Lite-Instruct
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.17.1
checkpoint-250/adapter_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "DeepSeek-Coder-V2-Lite-Instruct",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 8,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "q_proj",
29
+ "v_proj"
30
+ ],
31
+ "target_parameters": null,
32
+ "task_type": "CAUSAL_LM",
33
+ "trainable_token_indices": null,
34
+ "use_dora": false,
35
+ "use_qalora": false,
36
+ "use_rslora": false
37
+ }
checkpoint-250/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9dbbe1d159bae8d5888f55e7486b80b9bb5a13b892624d41549c7a544831bb9
3
+ size 4430800
checkpoint-250/chat_template.jinja ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{{ bos_token }}{% for message in messages %}{% if message['role'] == 'user' %}{{ 'User: ' + message['content'] + '
2
+
3
+ ' }}{% elif message['role'] == 'assistant' %}{{ 'Assistant: ' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ message['content'] + '
4
+
5
+ ' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}
checkpoint-250/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed2fa608eb8a22866330f11ead1cb01489a0f9a9f9f28601a033afd5c9b417ea
3
+ size 8894283
checkpoint-250/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71c5b73f36f731eae714b0c6e61953aa9bacdc1f34425a07a8b7044deb8edb4e
3
+ size 14645
checkpoint-250/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18575b55e4c7b78b8a54f8e8c8b1c86e1bcd8797094ab4d47e178cd51b5e64a9
3
+ size 1465
checkpoint-250/special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|begin▁of▁sentence|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|end▁of▁sentence|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|end▁of▁sentence|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
checkpoint-250/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-250/tokenizer_config.json ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "100000": {
7
+ "content": "<|begin▁of▁sentence|>",
8
+ "lstrip": false,
9
+ "normalized": true,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "100001": {
15
+ "content": "<|end▁of▁sentence|>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "100002": {
23
+ "content": "<|fim▁hole|>",
24
+ "lstrip": false,
25
+ "normalized": true,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": false
29
+ },
30
+ "100003": {
31
+ "content": "<|fim▁begin|>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": false
37
+ },
38
+ "100004": {
39
+ "content": "<|fim▁end|>",
40
+ "lstrip": false,
41
+ "normalized": true,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": false
45
+ },
46
+ "100005": {
47
+ "content": "<|completion|>",
48
+ "lstrip": false,
49
+ "normalized": true,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": false
53
+ },
54
+ "100006": {
55
+ "content": "<|User|>",
56
+ "lstrip": false,
57
+ "normalized": true,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": false
61
+ },
62
+ "100007": {
63
+ "content": "<|Assistant|>",
64
+ "lstrip": false,
65
+ "normalized": true,
66
+ "rstrip": false,
67
+ "single_word": false,
68
+ "special": false
69
+ },
70
+ "100008": {
71
+ "content": "<|EOT|>",
72
+ "lstrip": false,
73
+ "normalized": true,
74
+ "rstrip": false,
75
+ "single_word": false,
76
+ "special": true
77
+ },
78
+ "100009": {
79
+ "content": "<|tool▁calls▁begin|>",
80
+ "lstrip": false,
81
+ "normalized": true,
82
+ "rstrip": false,
83
+ "single_word": false,
84
+ "special": false
85
+ },
86
+ "100010": {
87
+ "content": "<|tool▁calls▁end|>",
88
+ "lstrip": false,
89
+ "normalized": true,
90
+ "rstrip": false,
91
+ "single_word": false,
92
+ "special": false
93
+ },
94
+ "100011": {
95
+ "content": "<|tool▁call▁begin|>",
96
+ "lstrip": false,
97
+ "normalized": true,
98
+ "rstrip": false,
99
+ "single_word": false,
100
+ "special": false
101
+ },
102
+ "100012": {
103
+ "content": "<|tool▁call▁end|>",
104
+ "lstrip": false,
105
+ "normalized": true,
106
+ "rstrip": false,
107
+ "single_word": false,
108
+ "special": false
109
+ },
110
+ "100013": {
111
+ "content": "<|tool▁outputs▁begin|>",
112
+ "lstrip": false,
113
+ "normalized": true,
114
+ "rstrip": false,
115
+ "single_word": false,
116
+ "special": false
117
+ },
118
+ "100014": {
119
+ "content": "<|tool▁outputs▁end|>",
120
+ "lstrip": false,
121
+ "normalized": true,
122
+ "rstrip": false,
123
+ "single_word": false,
124
+ "special": false
125
+ },
126
+ "100015": {
127
+ "content": "<|tool▁output▁begin|>",
128
+ "lstrip": false,
129
+ "normalized": true,
130
+ "rstrip": false,
131
+ "single_word": false,
132
+ "special": false
133
+ },
134
+ "100016": {
135
+ "content": "<|tool▁output▁end|>",
136
+ "lstrip": false,
137
+ "normalized": true,
138
+ "rstrip": false,
139
+ "single_word": false,
140
+ "special": false
141
+ },
142
+ "100017": {
143
+ "content": "<|tool▁sep|>",
144
+ "lstrip": false,
145
+ "normalized": true,
146
+ "rstrip": false,
147
+ "single_word": false,
148
+ "special": false
149
+ }
150
+ },
151
+ "bos_token": "<|begin▁of▁sentence|>",
152
+ "clean_up_tokenization_spaces": false,
153
+ "eos_token": "<|end▁of▁sentence|>",
154
+ "extra_special_tokens": {},
155
+ "legacy": true,
156
+ "model_max_length": 16384,
157
+ "pad_token": "<|end▁of▁sentence|>",
158
+ "sp_model_kwargs": {},
159
+ "tokenizer_class": "LlamaTokenizerFast",
160
+ "unk_token": null,
161
+ "use_default_system_prompt": false
162
+ }
checkpoint-250/trainer_state.json ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 83.33333333333333,
6
+ "eval_steps": 500,
7
+ "global_step": 250,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 1.9060055136680603,
14
+ "epoch": 3.3333333333333335,
15
+ "grad_norm": 1.0164649486541748,
16
+ "learning_rate": 1.5e-05,
17
+ "loss": 4.1011,
18
+ "mean_token_accuracy": 0.4009168431162834,
19
+ "num_tokens": 5512.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 1.9487085342407227,
24
+ "epoch": 6.666666666666667,
25
+ "grad_norm": 0.9628961682319641,
26
+ "learning_rate": 3.1666666666666666e-05,
27
+ "loss": 4.1923,
28
+ "mean_token_accuracy": 0.39442635476589205,
29
+ "num_tokens": 10326.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 1.8993895709514619,
34
+ "epoch": 10.0,
35
+ "grad_norm": 1.177027702331543,
36
+ "learning_rate": 4.8333333333333334e-05,
37
+ "loss": 4.0334,
38
+ "mean_token_accuracy": 0.40877673774957657,
39
+ "num_tokens": 15462.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 1.9950154840946197,
44
+ "epoch": 13.333333333333334,
45
+ "grad_norm": 1.436251163482666,
46
+ "learning_rate": 4.9863047384206835e-05,
47
+ "loss": 3.9342,
48
+ "mean_token_accuracy": 0.40931957215070724,
49
+ "num_tokens": 20681.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 2.067208158969879,
54
+ "epoch": 16.666666666666668,
55
+ "grad_norm": 1.078131079673767,
56
+ "learning_rate": 4.939155700460536e-05,
57
+ "loss": 3.7698,
58
+ "mean_token_accuracy": 0.42098456621170044,
59
+ "num_tokens": 26109.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 2.193948692083359,
64
+ "epoch": 20.0,
65
+ "grad_norm": 1.1934932470321655,
66
+ "learning_rate": 4.859021265983959e-05,
67
+ "loss": 3.6115,
68
+ "mean_token_accuracy": 0.43236732184886933,
69
+ "num_tokens": 31244.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 2.4151065587997436,
74
+ "epoch": 23.333333333333332,
75
+ "grad_norm": 0.8595532774925232,
76
+ "learning_rate": 4.7469851157479177e-05,
77
+ "loss": 3.5401,
78
+ "mean_token_accuracy": 0.42654525190591813,
79
+ "num_tokens": 36738.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 2.4695091366767885,
84
+ "epoch": 26.666666666666668,
85
+ "grad_norm": 0.9981549978256226,
86
+ "learning_rate": 4.604562346488144e-05,
87
+ "loss": 3.3173,
88
+ "mean_token_accuracy": 0.4566218167543411,
89
+ "num_tokens": 41886.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 2.4938253283500673,
94
+ "epoch": 30.0,
95
+ "grad_norm": 0.5646995902061462,
96
+ "learning_rate": 4.43367898183491e-05,
97
+ "loss": 3.1822,
98
+ "mean_token_accuracy": 0.4696041285991669,
99
+ "num_tokens": 46983.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 2.564500260353088,
104
+ "epoch": 33.333333333333336,
105
+ "grad_norm": 0.8602616786956787,
106
+ "learning_rate": 4.2366459261474933e-05,
107
+ "loss": 3.1409,
108
+ "mean_token_accuracy": 0.47821263819932935,
109
+ "num_tokens": 52150.0,
110
+ "step": 100
111
+ },
112
+ {
113
+ "entropy": 2.5386017203330993,
114
+ "epoch": 36.666666666666664,
115
+ "grad_norm": 0.7394922971725464,
116
+ "learning_rate": 4.0161277134970345e-05,
117
+ "loss": 2.9888,
118
+ "mean_token_accuracy": 0.49289675503969194,
119
+ "num_tokens": 57240.0,
120
+ "step": 110
121
+ },
122
+ {
123
+ "entropy": 2.5600393176078797,
124
+ "epoch": 40.0,
125
+ "grad_norm": 0.6606329083442688,
126
+ "learning_rate": 3.775106474414188e-05,
127
+ "loss": 2.9445,
128
+ "mean_token_accuracy": 0.5016584262251854,
129
+ "num_tokens": 62806.0,
130
+ "step": 120
131
+ },
132
+ {
133
+ "entropy": 2.547697913646698,
134
+ "epoch": 43.333333333333336,
135
+ "grad_norm": 0.8845142126083374,
136
+ "learning_rate": 3.516841607689501e-05,
137
+ "loss": 2.9015,
138
+ "mean_token_accuracy": 0.5097966089844703,
139
+ "num_tokens": 67877.0,
140
+ "step": 130
141
+ },
142
+ {
143
+ "entropy": 2.5584489583969114,
144
+ "epoch": 46.666666666666664,
145
+ "grad_norm": 0.8559042811393738,
146
+ "learning_rate": 3.244825702596205e-05,
147
+ "loss": 2.9204,
148
+ "mean_token_accuracy": 0.503237409889698,
149
+ "num_tokens": 73030.0,
150
+ "step": 140
151
+ },
152
+ {
153
+ "entropy": 2.479199802875519,
154
+ "epoch": 50.0,
155
+ "grad_norm": 0.9662401080131531,
156
+ "learning_rate": 2.9627373076117863e-05,
157
+ "loss": 2.7848,
158
+ "mean_token_accuracy": 0.5199230208992958,
159
+ "num_tokens": 78133.0,
160
+ "step": 150
161
+ },
162
+ {
163
+ "entropy": 2.451095724105835,
164
+ "epoch": 53.333333333333336,
165
+ "grad_norm": 0.7248209714889526,
166
+ "learning_rate": 2.674391184360313e-05,
167
+ "loss": 2.72,
168
+ "mean_token_accuracy": 0.530137126147747,
169
+ "num_tokens": 83587.0,
170
+ "step": 160
171
+ },
172
+ {
173
+ "entropy": 2.4100263833999636,
174
+ "epoch": 56.666666666666664,
175
+ "grad_norm": 0.8213902115821838,
176
+ "learning_rate": 2.3836867195056335e-05,
177
+ "loss": 2.6899,
178
+ "mean_token_accuracy": 0.5364036962389946,
179
+ "num_tokens": 88745.0,
180
+ "step": 170
181
+ },
182
+ {
183
+ "entropy": 2.3743161976337435,
184
+ "epoch": 60.0,
185
+ "grad_norm": 0.9216499924659729,
186
+ "learning_rate": 2.0945551922360818e-05,
187
+ "loss": 2.6164,
188
+ "mean_token_accuracy": 0.5464533418416977,
189
+ "num_tokens": 93971.0,
190
+ "step": 180
191
+ },
192
+ {
193
+ "entropy": 2.3309614181518556,
194
+ "epoch": 63.333333333333336,
195
+ "grad_norm": 0.9028099179267883,
196
+ "learning_rate": 1.8109066104575023e-05,
197
+ "loss": 2.577,
198
+ "mean_token_accuracy": 0.5494851708412171,
199
+ "num_tokens": 99176.0,
200
+ "step": 190
201
+ },
202
+ {
203
+ "entropy": 2.3660804867744445,
204
+ "epoch": 66.66666666666667,
205
+ "grad_norm": 1.1050912141799927,
206
+ "learning_rate": 1.5365768346438797e-05,
207
+ "loss": 2.6015,
208
+ "mean_token_accuracy": 0.5429237529635429,
209
+ "num_tokens": 104369.0,
210
+ "step": 200
211
+ },
212
+ {
213
+ "entropy": 2.2412913620471953,
214
+ "epoch": 70.0,
215
+ "grad_norm": 1.1248013973236084,
216
+ "learning_rate": 1.2752757044047827e-05,
217
+ "loss": 2.4471,
218
+ "mean_token_accuracy": 0.5652078241109848,
219
+ "num_tokens": 109867.0,
220
+ "step": 210
221
+ },
222
+ {
223
+ "entropy": 2.2687363147735597,
224
+ "epoch": 73.33333333333333,
225
+ "grad_norm": 0.8138008117675781,
226
+ "learning_rate": 1.0305368692688174e-05,
227
+ "loss": 2.4754,
228
+ "mean_token_accuracy": 0.5577909976243973,
229
+ "num_tokens": 115316.0,
230
+ "step": 220
231
+ },
232
+ {
233
+ "entropy": 2.2360614061355593,
234
+ "epoch": 76.66666666666667,
235
+ "grad_norm": 0.9668932557106018,
236
+ "learning_rate": 8.056700021356694e-06,
237
+ "loss": 2.4623,
238
+ "mean_token_accuracy": 0.5630308628082276,
239
+ "num_tokens": 120487.0,
240
+ "step": 230
241
+ },
242
+ {
243
+ "entropy": 2.28078556060791,
244
+ "epoch": 80.0,
245
+ "grad_norm": 0.9901016354560852,
246
+ "learning_rate": 6.037160416278278e-06,
247
+ "loss": 2.5002,
248
+ "mean_token_accuracy": 0.5567112416028976,
249
+ "num_tokens": 125629.0,
250
+ "step": 240
251
+ },
252
+ {
253
+ "entropy": 2.2194084882736207,
254
+ "epoch": 83.33333333333333,
255
+ "grad_norm": 1.047966480255127,
256
+ "learning_rate": 4.274060686123959e-06,
257
+ "loss": 2.418,
258
+ "mean_token_accuracy": 0.5643551826477051,
259
+ "num_tokens": 130811.0,
260
+ "step": 250
261
+ }
262
+ ],
263
+ "logging_steps": 10,
264
+ "max_steps": 300,
265
+ "num_input_tokens_seen": 0,
266
+ "num_train_epochs": 100,
267
+ "save_steps": 50,
268
+ "stateful_callbacks": {
269
+ "TrainerControl": {
270
+ "args": {
271
+ "should_epoch_stop": false,
272
+ "should_evaluate": false,
273
+ "should_log": false,
274
+ "should_save": true,
275
+ "should_training_stop": false
276
+ },
277
+ "attributes": {}
278
+ }
279
+ },
280
+ "total_flos": 1.5636363954499584e+16,
281
+ "train_batch_size": 2,
282
+ "trial_name": null,
283
+ "trial_params": null
284
+ }
checkpoint-250/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0732842102da7bf8db229d843550c94a8d413ab0b06dfc753dfe4e84b41a97c
3
+ size 6161
checkpoint-300/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: DeepSeek-Coder-V2-Lite-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:DeepSeek-Coder-V2-Lite-Instruct
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.17.1
checkpoint-300/adapter_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "DeepSeek-Coder-V2-Lite-Instruct",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 8,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "q_proj",
29
+ "v_proj"
30
+ ],
31
+ "target_parameters": null,
32
+ "task_type": "CAUSAL_LM",
33
+ "trainable_token_indices": null,
34
+ "use_dora": false,
35
+ "use_qalora": false,
36
+ "use_rslora": false
37
+ }
checkpoint-300/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7343364542f2d89df7ee70af0a716978469ef202dc3d6fac245ad13b62bb9e53
3
+ size 4430800
checkpoint-300/chat_template.jinja ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{{ bos_token }}{% for message in messages %}{% if message['role'] == 'user' %}{{ 'User: ' + message['content'] + '
2
+
3
+ ' }}{% elif message['role'] == 'assistant' %}{{ 'Assistant: ' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ message['content'] + '
4
+
5
+ ' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}
checkpoint-300/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae51a65c9ed8c154afedf866b6c74a2c1b4fab23491b2f85e65cc27c0354b507
3
+ size 8894283
checkpoint-300/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b0db5f10bdf2f460ca79b7f667af15e47acf589fa2e9c0de2f69e533733a54e
3
+ size 14645
checkpoint-300/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6899f9f82cea064fe52ac09813b47d526ed686cbe04f0925eb7e665a0e61bfae
3
+ size 1465
checkpoint-300/special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|begin▁of▁sentence|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|end▁of▁sentence|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|end▁of▁sentence|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
checkpoint-300/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-300/tokenizer_config.json ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "100000": {
7
+ "content": "<|begin▁of▁sentence|>",
8
+ "lstrip": false,
9
+ "normalized": true,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "100001": {
15
+ "content": "<|end▁of▁sentence|>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "100002": {
23
+ "content": "<|fim▁hole|>",
24
+ "lstrip": false,
25
+ "normalized": true,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": false
29
+ },
30
+ "100003": {
31
+ "content": "<|fim▁begin|>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": false
37
+ },
38
+ "100004": {
39
+ "content": "<|fim▁end|>",
40
+ "lstrip": false,
41
+ "normalized": true,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": false
45
+ },
46
+ "100005": {
47
+ "content": "<|completion|>",
48
+ "lstrip": false,
49
+ "normalized": true,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": false
53
+ },
54
+ "100006": {
55
+ "content": "<|User|>",
56
+ "lstrip": false,
57
+ "normalized": true,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": false
61
+ },
62
+ "100007": {
63
+ "content": "<|Assistant|>",
64
+ "lstrip": false,
65
+ "normalized": true,
66
+ "rstrip": false,
67
+ "single_word": false,
68
+ "special": false
69
+ },
70
+ "100008": {
71
+ "content": "<|EOT|>",
72
+ "lstrip": false,
73
+ "normalized": true,
74
+ "rstrip": false,
75
+ "single_word": false,
76
+ "special": true
77
+ },
78
+ "100009": {
79
+ "content": "<|tool▁calls▁begin|>",
80
+ "lstrip": false,
81
+ "normalized": true,
82
+ "rstrip": false,
83
+ "single_word": false,
84
+ "special": false
85
+ },
86
+ "100010": {
87
+ "content": "<|tool▁calls▁end|>",
88
+ "lstrip": false,
89
+ "normalized": true,
90
+ "rstrip": false,
91
+ "single_word": false,
92
+ "special": false
93
+ },
94
+ "100011": {
95
+ "content": "<|tool▁call▁begin|>",
96
+ "lstrip": false,
97
+ "normalized": true,
98
+ "rstrip": false,
99
+ "single_word": false,
100
+ "special": false
101
+ },
102
+ "100012": {
103
+ "content": "<|tool▁call▁end|>",
104
+ "lstrip": false,
105
+ "normalized": true,
106
+ "rstrip": false,
107
+ "single_word": false,
108
+ "special": false
109
+ },
110
+ "100013": {
111
+ "content": "<|tool▁outputs▁begin|>",
112
+ "lstrip": false,
113
+ "normalized": true,
114
+ "rstrip": false,
115
+ "single_word": false,
116
+ "special": false
117
+ },
118
+ "100014": {
119
+ "content": "<|tool▁outputs▁end|>",
120
+ "lstrip": false,
121
+ "normalized": true,
122
+ "rstrip": false,
123
+ "single_word": false,
124
+ "special": false
125
+ },
126
+ "100015": {
127
+ "content": "<|tool▁output▁begin|>",
128
+ "lstrip": false,
129
+ "normalized": true,
130
+ "rstrip": false,
131
+ "single_word": false,
132
+ "special": false
133
+ },
134
+ "100016": {
135
+ "content": "<|tool▁output▁end|>",
136
+ "lstrip": false,
137
+ "normalized": true,
138
+ "rstrip": false,
139
+ "single_word": false,
140
+ "special": false
141
+ },
142
+ "100017": {
143
+ "content": "<|tool▁sep|>",
144
+ "lstrip": false,
145
+ "normalized": true,
146
+ "rstrip": false,
147
+ "single_word": false,
148
+ "special": false
149
+ }
150
+ },
151
+ "bos_token": "<|begin▁of▁sentence|>",
152
+ "clean_up_tokenization_spaces": false,
153
+ "eos_token": "<|end▁of▁sentence|>",
154
+ "extra_special_tokens": {},
155
+ "legacy": true,
156
+ "model_max_length": 16384,
157
+ "pad_token": "<|end▁of▁sentence|>",
158
+ "sp_model_kwargs": {},
159
+ "tokenizer_class": "LlamaTokenizerFast",
160
+ "unk_token": null,
161
+ "use_default_system_prompt": false
162
+ }
checkpoint-300/trainer_state.json ADDED
@@ -0,0 +1,334 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 100.0,
6
+ "eval_steps": 500,
7
+ "global_step": 300,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 1.9060055136680603,
14
+ "epoch": 3.3333333333333335,
15
+ "grad_norm": 1.0164649486541748,
16
+ "learning_rate": 1.5e-05,
17
+ "loss": 4.1011,
18
+ "mean_token_accuracy": 0.4009168431162834,
19
+ "num_tokens": 5512.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 1.9487085342407227,
24
+ "epoch": 6.666666666666667,
25
+ "grad_norm": 0.9628961682319641,
26
+ "learning_rate": 3.1666666666666666e-05,
27
+ "loss": 4.1923,
28
+ "mean_token_accuracy": 0.39442635476589205,
29
+ "num_tokens": 10326.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 1.8993895709514619,
34
+ "epoch": 10.0,
35
+ "grad_norm": 1.177027702331543,
36
+ "learning_rate": 4.8333333333333334e-05,
37
+ "loss": 4.0334,
38
+ "mean_token_accuracy": 0.40877673774957657,
39
+ "num_tokens": 15462.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 1.9950154840946197,
44
+ "epoch": 13.333333333333334,
45
+ "grad_norm": 1.436251163482666,
46
+ "learning_rate": 4.9863047384206835e-05,
47
+ "loss": 3.9342,
48
+ "mean_token_accuracy": 0.40931957215070724,
49
+ "num_tokens": 20681.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 2.067208158969879,
54
+ "epoch": 16.666666666666668,
55
+ "grad_norm": 1.078131079673767,
56
+ "learning_rate": 4.939155700460536e-05,
57
+ "loss": 3.7698,
58
+ "mean_token_accuracy": 0.42098456621170044,
59
+ "num_tokens": 26109.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 2.193948692083359,
64
+ "epoch": 20.0,
65
+ "grad_norm": 1.1934932470321655,
66
+ "learning_rate": 4.859021265983959e-05,
67
+ "loss": 3.6115,
68
+ "mean_token_accuracy": 0.43236732184886933,
69
+ "num_tokens": 31244.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 2.4151065587997436,
74
+ "epoch": 23.333333333333332,
75
+ "grad_norm": 0.8595532774925232,
76
+ "learning_rate": 4.7469851157479177e-05,
77
+ "loss": 3.5401,
78
+ "mean_token_accuracy": 0.42654525190591813,
79
+ "num_tokens": 36738.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 2.4695091366767885,
84
+ "epoch": 26.666666666666668,
85
+ "grad_norm": 0.9981549978256226,
86
+ "learning_rate": 4.604562346488144e-05,
87
+ "loss": 3.3173,
88
+ "mean_token_accuracy": 0.4566218167543411,
89
+ "num_tokens": 41886.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 2.4938253283500673,
94
+ "epoch": 30.0,
95
+ "grad_norm": 0.5646995902061462,
96
+ "learning_rate": 4.43367898183491e-05,
97
+ "loss": 3.1822,
98
+ "mean_token_accuracy": 0.4696041285991669,
99
+ "num_tokens": 46983.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 2.564500260353088,
104
+ "epoch": 33.333333333333336,
105
+ "grad_norm": 0.8602616786956787,
106
+ "learning_rate": 4.2366459261474933e-05,
107
+ "loss": 3.1409,
108
+ "mean_token_accuracy": 0.47821263819932935,
109
+ "num_tokens": 52150.0,
110
+ "step": 100
111
+ },
112
+ {
113
+ "entropy": 2.5386017203330993,
114
+ "epoch": 36.666666666666664,
115
+ "grad_norm": 0.7394922971725464,
116
+ "learning_rate": 4.0161277134970345e-05,
117
+ "loss": 2.9888,
118
+ "mean_token_accuracy": 0.49289675503969194,
119
+ "num_tokens": 57240.0,
120
+ "step": 110
121
+ },
122
+ {
123
+ "entropy": 2.5600393176078797,
124
+ "epoch": 40.0,
125
+ "grad_norm": 0.6606329083442688,
126
+ "learning_rate": 3.775106474414188e-05,
127
+ "loss": 2.9445,
128
+ "mean_token_accuracy": 0.5016584262251854,
129
+ "num_tokens": 62806.0,
130
+ "step": 120
131
+ },
132
+ {
133
+ "entropy": 2.547697913646698,
134
+ "epoch": 43.333333333333336,
135
+ "grad_norm": 0.8845142126083374,
136
+ "learning_rate": 3.516841607689501e-05,
137
+ "loss": 2.9015,
138
+ "mean_token_accuracy": 0.5097966089844703,
139
+ "num_tokens": 67877.0,
140
+ "step": 130
141
+ },
142
+ {
143
+ "entropy": 2.5584489583969114,
144
+ "epoch": 46.666666666666664,
145
+ "grad_norm": 0.8559042811393738,
146
+ "learning_rate": 3.244825702596205e-05,
147
+ "loss": 2.9204,
148
+ "mean_token_accuracy": 0.503237409889698,
149
+ "num_tokens": 73030.0,
150
+ "step": 140
151
+ },
152
+ {
153
+ "entropy": 2.479199802875519,
154
+ "epoch": 50.0,
155
+ "grad_norm": 0.9662401080131531,
156
+ "learning_rate": 2.9627373076117863e-05,
157
+ "loss": 2.7848,
158
+ "mean_token_accuracy": 0.5199230208992958,
159
+ "num_tokens": 78133.0,
160
+ "step": 150
161
+ },
162
+ {
163
+ "entropy": 2.451095724105835,
164
+ "epoch": 53.333333333333336,
165
+ "grad_norm": 0.7248209714889526,
166
+ "learning_rate": 2.674391184360313e-05,
167
+ "loss": 2.72,
168
+ "mean_token_accuracy": 0.530137126147747,
169
+ "num_tokens": 83587.0,
170
+ "step": 160
171
+ },
172
+ {
173
+ "entropy": 2.4100263833999636,
174
+ "epoch": 56.666666666666664,
175
+ "grad_norm": 0.8213902115821838,
176
+ "learning_rate": 2.3836867195056335e-05,
177
+ "loss": 2.6899,
178
+ "mean_token_accuracy": 0.5364036962389946,
179
+ "num_tokens": 88745.0,
180
+ "step": 170
181
+ },
182
+ {
183
+ "entropy": 2.3743161976337435,
184
+ "epoch": 60.0,
185
+ "grad_norm": 0.9216499924659729,
186
+ "learning_rate": 2.0945551922360818e-05,
187
+ "loss": 2.6164,
188
+ "mean_token_accuracy": 0.5464533418416977,
189
+ "num_tokens": 93971.0,
190
+ "step": 180
191
+ },
192
+ {
193
+ "entropy": 2.3309614181518556,
194
+ "epoch": 63.333333333333336,
195
+ "grad_norm": 0.9028099179267883,
196
+ "learning_rate": 1.8109066104575023e-05,
197
+ "loss": 2.577,
198
+ "mean_token_accuracy": 0.5494851708412171,
199
+ "num_tokens": 99176.0,
200
+ "step": 190
201
+ },
202
+ {
203
+ "entropy": 2.3660804867744445,
204
+ "epoch": 66.66666666666667,
205
+ "grad_norm": 1.1050912141799927,
206
+ "learning_rate": 1.5365768346438797e-05,
207
+ "loss": 2.6015,
208
+ "mean_token_accuracy": 0.5429237529635429,
209
+ "num_tokens": 104369.0,
210
+ "step": 200
211
+ },
212
+ {
213
+ "entropy": 2.2412913620471953,
214
+ "epoch": 70.0,
215
+ "grad_norm": 1.1248013973236084,
216
+ "learning_rate": 1.2752757044047827e-05,
217
+ "loss": 2.4471,
218
+ "mean_token_accuracy": 0.5652078241109848,
219
+ "num_tokens": 109867.0,
220
+ "step": 210
221
+ },
222
+ {
223
+ "entropy": 2.2687363147735597,
224
+ "epoch": 73.33333333333333,
225
+ "grad_norm": 0.8138008117675781,
226
+ "learning_rate": 1.0305368692688174e-05,
227
+ "loss": 2.4754,
228
+ "mean_token_accuracy": 0.5577909976243973,
229
+ "num_tokens": 115316.0,
230
+ "step": 220
231
+ },
232
+ {
233
+ "entropy": 2.2360614061355593,
234
+ "epoch": 76.66666666666667,
235
+ "grad_norm": 0.9668932557106018,
236
+ "learning_rate": 8.056700021356694e-06,
237
+ "loss": 2.4623,
238
+ "mean_token_accuracy": 0.5630308628082276,
239
+ "num_tokens": 120487.0,
240
+ "step": 230
241
+ },
242
+ {
243
+ "entropy": 2.28078556060791,
244
+ "epoch": 80.0,
245
+ "grad_norm": 0.9901016354560852,
246
+ "learning_rate": 6.037160416278278e-06,
247
+ "loss": 2.5002,
248
+ "mean_token_accuracy": 0.5567112416028976,
249
+ "num_tokens": 125629.0,
250
+ "step": 240
251
+ },
252
+ {
253
+ "entropy": 2.2194084882736207,
254
+ "epoch": 83.33333333333333,
255
+ "grad_norm": 1.047966480255127,
256
+ "learning_rate": 4.274060686123959e-06,
257
+ "loss": 2.418,
258
+ "mean_token_accuracy": 0.5643551826477051,
259
+ "num_tokens": 130811.0,
260
+ "step": 250
261
+ },
262
+ {
263
+ "entropy": 2.2408297181129457,
264
+ "epoch": 86.66666666666667,
265
+ "grad_norm": 1.1455246210098267,
266
+ "learning_rate": 2.7912437301749026e-06,
267
+ "loss": 2.4294,
268
+ "mean_token_accuracy": 0.5679019063711166,
269
+ "num_tokens": 135921.0,
270
+ "step": 260
271
+ },
272
+ {
273
+ "entropy": 2.2160379528999328,
274
+ "epoch": 90.0,
275
+ "grad_norm": 1.1439515352249146,
276
+ "learning_rate": 1.6087621040117157e-06,
277
+ "loss": 2.4361,
278
+ "mean_token_accuracy": 0.5633732363581657,
279
+ "num_tokens": 140722.0,
280
+ "step": 270
281
+ },
282
+ {
283
+ "entropy": 2.277903026342392,
284
+ "epoch": 93.33333333333333,
285
+ "grad_norm": 1.191327452659607,
286
+ "learning_rate": 7.426068431000882e-07,
287
+ "loss": 2.4947,
288
+ "mean_token_accuracy": 0.5539214983582497,
289
+ "num_tokens": 145887.0,
290
+ "step": 280
291
+ },
292
+ {
293
+ "entropy": 2.1880038678646088,
294
+ "epoch": 96.66666666666667,
295
+ "grad_norm": 1.1344318389892578,
296
+ "learning_rate": 2.0449121146845774e-07,
297
+ "loss": 2.3935,
298
+ "mean_token_accuracy": 0.5718189179897308,
299
+ "num_tokens": 150980.0,
300
+ "step": 290
301
+ },
302
+ {
303
+ "entropy": 2.2173574447631834,
304
+ "epoch": 100.0,
305
+ "grad_norm": 1.0592862367630005,
306
+ "learning_rate": 1.692299905944883e-09,
307
+ "loss": 2.4204,
308
+ "mean_token_accuracy": 0.5628041237592697,
309
+ "num_tokens": 156525.0,
310
+ "step": 300
311
+ }
312
+ ],
313
+ "logging_steps": 10,
314
+ "max_steps": 300,
315
+ "num_input_tokens_seen": 0,
316
+ "num_train_epochs": 100,
317
+ "save_steps": 50,
318
+ "stateful_callbacks": {
319
+ "TrainerControl": {
320
+ "args": {
321
+ "should_epoch_stop": false,
322
+ "should_evaluate": false,
323
+ "should_log": false,
324
+ "should_save": true,
325
+ "should_training_stop": true
326
+ },
327
+ "attributes": {}
328
+ }
329
+ },
330
+ "total_flos": 1.8686345743478784e+16,
331
+ "train_batch_size": 2,
332
+ "trial_name": null,
333
+ "trial_params": null
334
+ }
checkpoint-300/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0732842102da7bf8db229d843550c94a8d413ab0b06dfc753dfe4e84b41a97c
3
+ size 6161
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|begin▁of▁sentence|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|end▁of▁sentence|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|end▁of▁sentence|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,35 +1,162 @@
1
  {
2
  "add_bos_token": true,
3
  "add_eos_token": false,
4
- "bos_token": {
5
- "__type": "AddedToken",
6
- "content": "<|begin▁of▁sentence|>",
7
- "lstrip": false,
8
- "normalized": true,
9
- "rstrip": false,
10
- "single_word": false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  },
 
12
  "clean_up_tokenization_spaces": false,
13
- "eos_token": {
14
- "__type": "AddedToken",
15
- "content": "<|end▁of▁sentence|>",
16
- "lstrip": false,
17
- "normalized": true,
18
- "rstrip": false,
19
- "single_word": false
20
- },
21
  "legacy": true,
22
  "model_max_length": 16384,
23
- "pad_token": {
24
- "__type": "AddedToken",
25
- "content": "<|end▁of▁sentence|>",
26
- "lstrip": false,
27
- "normalized": true,
28
- "rstrip": false,
29
- "single_word": false
30
- },
31
  "sp_model_kwargs": {},
32
- "unk_token": null,
33
  "tokenizer_class": "LlamaTokenizerFast",
34
- "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{{ bos_token }}{% for message in messages %}{% if message['role'] == 'user' %}{{ 'User: ' + message['content'] + '\n\n' }}{% elif message['role'] == 'assistant' %}{{ 'Assistant: ' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ message['content'] + '\n\n' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}"
35
- }
 
 
1
  {
2
  "add_bos_token": true,
3
  "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "100000": {
7
+ "content": "<|begin▁of▁sentence|>",
8
+ "lstrip": false,
9
+ "normalized": true,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "100001": {
15
+ "content": "<|end▁of▁sentence|>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "100002": {
23
+ "content": "<|fim▁hole|>",
24
+ "lstrip": false,
25
+ "normalized": true,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": false
29
+ },
30
+ "100003": {
31
+ "content": "<|fim▁begin|>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": false
37
+ },
38
+ "100004": {
39
+ "content": "<|fim▁end|>",
40
+ "lstrip": false,
41
+ "normalized": true,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": false
45
+ },
46
+ "100005": {
47
+ "content": "<|completion|>",
48
+ "lstrip": false,
49
+ "normalized": true,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": false
53
+ },
54
+ "100006": {
55
+ "content": "<|User|>",
56
+ "lstrip": false,
57
+ "normalized": true,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": false
61
+ },
62
+ "100007": {
63
+ "content": "<|Assistant|>",
64
+ "lstrip": false,
65
+ "normalized": true,
66
+ "rstrip": false,
67
+ "single_word": false,
68
+ "special": false
69
+ },
70
+ "100008": {
71
+ "content": "<|EOT|>",
72
+ "lstrip": false,
73
+ "normalized": true,
74
+ "rstrip": false,
75
+ "single_word": false,
76
+ "special": true
77
+ },
78
+ "100009": {
79
+ "content": "<|tool▁calls▁begin|>",
80
+ "lstrip": false,
81
+ "normalized": true,
82
+ "rstrip": false,
83
+ "single_word": false,
84
+ "special": false
85
+ },
86
+ "100010": {
87
+ "content": "<|tool▁calls▁end|>",
88
+ "lstrip": false,
89
+ "normalized": true,
90
+ "rstrip": false,
91
+ "single_word": false,
92
+ "special": false
93
+ },
94
+ "100011": {
95
+ "content": "<|tool▁call▁begin|>",
96
+ "lstrip": false,
97
+ "normalized": true,
98
+ "rstrip": false,
99
+ "single_word": false,
100
+ "special": false
101
+ },
102
+ "100012": {
103
+ "content": "<|tool▁call▁end|>",
104
+ "lstrip": false,
105
+ "normalized": true,
106
+ "rstrip": false,
107
+ "single_word": false,
108
+ "special": false
109
+ },
110
+ "100013": {
111
+ "content": "<|tool▁outputs▁begin|>",
112
+ "lstrip": false,
113
+ "normalized": true,
114
+ "rstrip": false,
115
+ "single_word": false,
116
+ "special": false
117
+ },
118
+ "100014": {
119
+ "content": "<|tool▁outputs▁end|>",
120
+ "lstrip": false,
121
+ "normalized": true,
122
+ "rstrip": false,
123
+ "single_word": false,
124
+ "special": false
125
+ },
126
+ "100015": {
127
+ "content": "<|tool▁output▁begin|>",
128
+ "lstrip": false,
129
+ "normalized": true,
130
+ "rstrip": false,
131
+ "single_word": false,
132
+ "special": false
133
+ },
134
+ "100016": {
135
+ "content": "<|tool▁output▁end|>",
136
+ "lstrip": false,
137
+ "normalized": true,
138
+ "rstrip": false,
139
+ "single_word": false,
140
+ "special": false
141
+ },
142
+ "100017": {
143
+ "content": "<|tool▁sep|>",
144
+ "lstrip": false,
145
+ "normalized": true,
146
+ "rstrip": false,
147
+ "single_word": false,
148
+ "special": false
149
+ }
150
  },
151
+ "bos_token": "<|begin▁of▁sentence|>",
152
  "clean_up_tokenization_spaces": false,
153
+ "eos_token": "<|end▁of▁sentence|>",
154
+ "extra_special_tokens": {},
 
 
 
 
 
 
155
  "legacy": true,
156
  "model_max_length": 16384,
157
+ "pad_token": "<|end▁of▁sentence|>",
 
 
 
 
 
 
 
158
  "sp_model_kwargs": {},
 
159
  "tokenizer_class": "LlamaTokenizerFast",
160
+ "unk_token": null,
161
+ "use_default_system_prompt": false
162
+ }