digitalai commited on
Commit
3f1133d
·
verified ·
1 Parent(s): 2e41622

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ DgMind_GGUF_gguf/gpt-oss-20b.MXFP4.gguf filter=lfs diff=lfs merge=lfs -text
37
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
DgMind_GGUF_gguf/Modelfile ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ FROM gpt-oss-20b.MXFP4.gguf
3
+ TEMPLATE """<|start|>system<|message|>You are ChatGPT, a large language model trained by OpenAI.
4
+ Knowledge cutoff: 2024-06
5
+ Current date: {{ currentDate }}
6
+ {{- if and .IsThinkSet .Think (ne .ThinkLevel "") }}
7
+
8
+ Reasoning: {{ .ThinkLevel }}
9
+ {{- else if or (not .IsThinkSet) (and .IsThinkSet .Think) }}
10
+
11
+ Reasoning: medium
12
+ {{- end }}
13
+
14
+ {{- $hasNonBuiltinTools := false }}
15
+ {{- if .Tools -}}
16
+ {{- $hasBrowserSearch := false }}
17
+ {{- $hasBrowserOpen := false }}
18
+ {{- $hasBrowserFind := false }}
19
+ {{- $hasPython := false }}
20
+ {{- range .Tools }}
21
+ {{- if eq .Function.Name "browser.search" -}}{{- $hasBrowserSearch = true -}}
22
+ {{- else if eq .Function.Name "browser.open" -}}{{- $hasBrowserOpen = true -}}
23
+ {{- else if eq .Function.Name "browser.find" -}}{{- $hasBrowserFind = true -}}
24
+ {{- else if eq .Function.Name "python" -}}{{- $hasPython = true -}}
25
+ {{- else }}{{ $hasNonBuiltinTools = true -}}
26
+ {{- end }}
27
+ {{- end }}
28
+ {{- if or $hasBrowserSearch $hasBrowserOpen $hasBrowserFind $hasPython }}
29
+
30
+ # Tools
31
+ {{- if or $hasBrowserSearch $hasBrowserOpen $hasBrowserFind }}
32
+
33
+ ## browser
34
+
35
+ // Tool for browsing.
36
+ // The `cursor` appears in brackets before each browsing display: `[{cursor}]`.
37
+ // Cite information from the tool using the following format:
38
+ // `【{cursor}†L{line_start}(-L{line_end})?】`, for example: `【6†L9-L11】` or `【8†L3】`.
39
+ // Do not quote more than 10 words directly from the tool output.
40
+ // sources=web (default: web)
41
+ namespace browser {
42
+ {{- if $hasBrowserSearch }}
43
+
44
+ // Searches for information related to `query` and displays `topn` results.
45
+ type search = (_: {
46
+ query: string,
47
+ topn?: number, // default: 10
48
+ source?: string,
49
+ }) => any;
50
+ {{- end }}
51
+ {{- if $hasBrowserOpen }}
52
+
53
+ // Opens the link `id` from the page indicated by `cursor` starting at line number `loc`, showing `num_lines` lines.
54
+ // Valid link ids are displayed with the formatting: `【{id}†.*】`.
55
+ // If `cursor` is not provided, the most recent page is implied.
56
+ // If `id` is a string, it is treated as a fully qualified URL associated with `source`.
57
+ // If `loc` is not provided, the viewport will be positioned at the beginning of the document or centered on the most relevant passage, if available.
58
+ // Use this function without `id` to scroll to a new location of an opened page.
59
+ type open = (_: {
60
+ id?: number | string, // default: -1
61
+ cursor?: number, // default: -1
62
+ loc?: number, // default: -1
63
+ num_lines?: number, // default: -1
64
+ view_source?: boolean, // default: false
65
+ source?: string,
66
+ }) => any;
67
+ {{- end }}
68
+ {{- if $hasBrowserFind }}
69
+
70
+ // Finds exact matches of `pattern` in the current page, or the page given by `cursor`.
71
+ type find = (_: {
72
+ pattern: string,
73
+ cursor?: number, // default: -1
74
+ }) => any;
75
+ {{- end }}
76
+
77
+ } // namespace browser
78
+ {{- end }}{{/* end if has browser tools */}}
79
+ {{- if $hasPython }}
80
+
81
+ ## python
82
+
83
+ Use this tool to execute Python code in your chain of thought. The code will not be shown to the user. This tool should be used for internal reasoning, but not for code that is intended to be visible to the user (e.g. when creating plots, tables, or files).
84
+
85
+ When you send a message containing Python code to python, it will be executed in a stateful Jupyter notebook environment. python will respond with the output of the execution or time out after 120.0 seconds. The drive at '/mnt/data' can be used to save and persist user files. Internet access for this session is UNKNOWN. Depends on the cluster.
86
+ {{- end }}{{/* end if hasPython */}}
87
+ {{- end }}{{/* end if has any built-in tools */}}
88
+ {{- end }}{{/* end if .Tools */}}
89
+
90
+ # Valid channels: analysis, commentary, final. Channel must be included for every message.{{ if $hasNonBuiltinTools }}
91
+ Calls to these tools must go to the commentary channel: 'functions'.
92
+ {{- end -}}<|end|>{{/* end of system */ -}}
93
+ {{- if or $hasNonBuiltinTools .System -}}
94
+ <|start|>developer<|message|>{{- if $hasNonBuiltinTools }}# Tools
95
+
96
+ ## functions
97
+
98
+ namespace functions {
99
+ {{- range .Tools }}
100
+ {{- if not (or (eq .Function.Name "browser.search") (eq .Function.Name "browser.open") (eq .Function.Name "browser.find") (eq .Function.Name "python")) }}
101
+ {{if .Function.Description }}
102
+ // {{ .Function.Description }}
103
+ {{- end }}
104
+ {{- if and .Function.Parameters.Properties (gt (len .Function.Parameters.Properties) 0) }}
105
+ type {{ .Function.Name }} = (_: {
106
+ {{- range $name, $prop := .Function.Parameters.Properties }}
107
+ {{- if $prop.Description }}
108
+ // {{ $prop.Description }}
109
+ {{- end }}
110
+ {{ $name }}: {{ if gt (len $prop.Type) 1 }}{{ range $i, $t := $prop.Type }}{{ if $i }} | {{ end }}{{ $t }}{{ end }}{{ else }}{{ index $prop.Type 0 }}{{ end }},
111
+ {{- end }}
112
+ }) => any;
113
+ {{- else }}
114
+ type {{ .Function.Name }} = () => any;
115
+ {{- end }}
116
+ {{- end }}{{/* end if not browser tool */}}
117
+ {{- end }}{{/* end of range .Tools */}}
118
+
119
+ } // namespace functions
120
+ {{- end }}{{/* end if hasNonBuiltinTools */}}
121
+ {{- if .System}}
122
+
123
+ # Instructions
124
+
125
+ {{ .System }}
126
+ {{- end -}}
127
+ <|end|>
128
+ {{- end -}}
129
+ {{- /* Find the index of the last user message */ -}}
130
+ {{- $lastUserIdx := -1 }}
131
+ {{- $prefillingContent := false }}
132
+ {{- $prefillingThinkingOnly := false }}
133
+ {{- range $i, $msg := .Messages }}
134
+ {{- $last := eq (len (slice $.Messages $i)) 1 -}}
135
+ {{- if eq $msg.Role "user" }}
136
+ {{- $lastUserIdx = $i }}
137
+ {{- end -}}
138
+ {{- if and $last (eq $msg.Role "assistant") (gt (len $msg.Content) 0) }}
139
+ {{- $prefillingContent = true }}
140
+ {{- else if and $last (eq $msg.Role "assistant") (gt (len $msg.Thinking) 0) }}
141
+ {{- $prefillingThinkingOnly = true }}
142
+ {{- end }}
143
+ {{- end -}}
144
+ {{- /* Now render messages */ -}}
145
+ {{- range $i, $msg := .Messages }}
146
+ {{- $last := eq (len (slice $.Messages $i)) 1 -}}
147
+ {{- if (ne $msg.Role "system") -}}
148
+ {{- if eq $msg.Role "tool" -}}
149
+ {{- if or (eq $msg.ToolName "python") (eq $msg.ToolName "browser.search") (eq $msg.ToolName "browser.open") (eq $msg.ToolName "browser.find") -}}
150
+ <|start|>{{ $msg.ToolName }} to=assistant<|message|>{{ $msg.Content }}<|end|>
151
+ {{- else -}}
152
+ <|start|>functions.{{ $msg.ToolName }} to=assistant<|message|>{{ $msg.Content }}<|end|>
153
+ {{- end -}}
154
+ {{- else if eq $msg.Role "assistant" -}}
155
+ {{- if and $msg.Thinking (gt $i $lastUserIdx) -}}{{- /* Show thinking only after last user message */ -}}
156
+ <|start|>assistant<|channel|>analysis<|message|>{{ $msg.Thinking }}{{- if not $prefillingThinkingOnly -}}<|end|>{{- end -}}
157
+ {{- end -}}
158
+ {{- if gt (len $msg.Content) 0 -}}
159
+ <|start|>assistant<|channel|>final<|message|>{{ $msg.Content }}{{- if not $prefillingContent -}}<|end|>{{- end -}}
160
+ {{- end -}}
161
+ {{- if gt (len $msg.ToolCalls) 0 -}}
162
+ {{- range $j, $toolCall := $msg.ToolCalls -}}
163
+ {{- $isBuiltin := or (eq $toolCall.Function.Name "python") (eq $toolCall.Function.Name "browser.search") (eq $toolCall.Function.Name "browser.open") (eq $toolCall.Function.Name "browser.find") -}}
164
+ <|start|>assistant<|channel|>{{ if $isBuiltin }}analysis{{ else }}commentary{{ end }} to={{ if not $isBuiltin}}functions.{{end}}{{ $toolCall.Function.Name }} <|constrain|>json<|message|>{{ $toolCall.Function.Arguments }}<|call|>
165
+ {{- end -}}
166
+ {{- end -}}
167
+ {{- else if eq $msg.Role "user" -}}
168
+ <|start|>{{ $msg.Role }}<|message|>{{ $msg.Content }}<|end|>
169
+ {{- end }}
170
+ {{- else }}
171
+ {{- end }}
172
+ {{- end -}}
173
+ {{- if not (or $prefillingContent $prefillingThinkingOnly) -}}
174
+ <|start|>assistant
175
+ {{- end -}}"""
176
+ PARAMETER temperature 1.0
177
+ PARAMETER top_k 0
178
+ PARAMETER top_p 1.0
DgMind_GGUF_gguf/gpt-oss-20b.MXFP4.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:663a8be01549677ff186ca322383700c0eb456f3834cbdcc8770ea6938f6d0f3
3
+ size 13792622144
README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/gpt-oss-20b-unsloth-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/gpt-oss-20b-unsloth-bnb-4bit
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- 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. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ 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).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.18.1
adapter_config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "GptOssForCausalLM",
7
+ "parent_library": "transformers.models.gpt_oss.modeling_gpt_oss",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/gpt-oss-20b-unsloth-bnb-4bit",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 16,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": null,
29
+ "peft_type": "LORA",
30
+ "peft_version": "0.18.1",
31
+ "qalora_group_size": 16,
32
+ "r": 8,
33
+ "rank_pattern": {},
34
+ "revision": null,
35
+ "target_modules": [
36
+ "up_proj",
37
+ "down_proj",
38
+ "o_proj",
39
+ "q_proj",
40
+ "v_proj",
41
+ "gate_proj",
42
+ "k_proj"
43
+ ],
44
+ "target_parameters": [
45
+ "mlp.experts.gate_up_proj",
46
+ "mlp.experts.down_proj"
47
+ ],
48
+ "task_type": "CAUSAL_LM",
49
+ "trainable_token_indices": null,
50
+ "use_dora": false,
51
+ "use_qalora": false,
52
+ "use_rslora": false
53
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d68f0db065ba7bbd58ecf44087504bd165e56b2149f9b11d0ccda9cb518a5326
3
+ size 15950616
chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% for message in messages %}{{ '<|start|>' + message['role'] + '<|message|>' + message['content'] + '<|end|>' }}{% endfor %}{% if add_generation_prompt %}{{ '<|start|>assistant<|message|>' }}{% endif %}
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a876924bb1818fb2930dd16489afae30dec4c1771a788250ff48cd99cf58cdac
3
+ size 8306955
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1d565802a8e26c4e8a31328752b7a7fdc186d9401aa008e65697d0ad8c22e33
3
+ size 14645
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57f5bbb5b4ba44d34a455960920ef8eaf75574205648b376b9b795cb9f0b32ae
3
+ size 1465
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|return|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|reserved_200017|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0614fe83cadab421296e664e1f48f4261fa8fef6e03e63bb75c20f38e37d07d3
3
+ size 27868174
tokenizer_config.json ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "199998": {
4
+ "content": "<|startoftext|>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "199999": {
12
+ "content": "<|endoftext|>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "200000": {
20
+ "content": "<|reserved_200000|>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "200001": {
28
+ "content": "<|reserved_200001|>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "200002": {
36
+ "content": "<|return|>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "200003": {
44
+ "content": "<|constrain|>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "200004": {
52
+ "content": "<|reserved_200004|>",
53
+ "lstrip": false,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
+ },
59
+ "200005": {
60
+ "content": "<|channel|>",
61
+ "lstrip": false,
62
+ "normalized": false,
63
+ "rstrip": false,
64
+ "single_word": false,
65
+ "special": true
66
+ },
67
+ "200006": {
68
+ "content": "<|start|>",
69
+ "lstrip": false,
70
+ "normalized": false,
71
+ "rstrip": false,
72
+ "single_word": false,
73
+ "special": true
74
+ },
75
+ "200007": {
76
+ "content": "<|end|>",
77
+ "lstrip": false,
78
+ "normalized": false,
79
+ "rstrip": false,
80
+ "single_word": false,
81
+ "special": true
82
+ },
83
+ "200008": {
84
+ "content": "<|message|>",
85
+ "lstrip": false,
86
+ "normalized": false,
87
+ "rstrip": false,
88
+ "single_word": false,
89
+ "special": true
90
+ },
91
+ "200009": {
92
+ "content": "<|reserved_200009|>",
93
+ "lstrip": false,
94
+ "normalized": false,
95
+ "rstrip": false,
96
+ "single_word": false,
97
+ "special": true
98
+ },
99
+ "200010": {
100
+ "content": "<|reserved_200010|>",
101
+ "lstrip": false,
102
+ "normalized": false,
103
+ "rstrip": false,
104
+ "single_word": false,
105
+ "special": true
106
+ },
107
+ "200011": {
108
+ "content": "<|reserved_200011|>",
109
+ "lstrip": false,
110
+ "normalized": false,
111
+ "rstrip": false,
112
+ "single_word": false,
113
+ "special": true
114
+ },
115
+ "200012": {
116
+ "content": "<|call|>",
117
+ "lstrip": false,
118
+ "normalized": false,
119
+ "rstrip": false,
120
+ "single_word": false,
121
+ "special": true
122
+ },
123
+ "200013": {
124
+ "content": "<|reserved_200013|>",
125
+ "lstrip": false,
126
+ "normalized": false,
127
+ "rstrip": false,
128
+ "single_word": false,
129
+ "special": true
130
+ },
131
+ "200014": {
132
+ "content": "<|reserved_200014|>",
133
+ "lstrip": false,
134
+ "normalized": false,
135
+ "rstrip": false,
136
+ "single_word": false,
137
+ "special": true
138
+ },
139
+ "200015": {
140
+ "content": "<|reserved_200015|>",
141
+ "lstrip": false,
142
+ "normalized": false,
143
+ "rstrip": false,
144
+ "single_word": false,
145
+ "special": true
146
+ },
147
+ "200016": {
148
+ "content": "<|reserved_200016|>",
149
+ "lstrip": false,
150
+ "normalized": false,
151
+ "rstrip": false,
152
+ "single_word": false,
153
+ "special": true
154
+ },
155
+ "200017": {
156
+ "content": "<|reserved_200017|>",
157
+ "lstrip": false,
158
+ "normalized": false,
159
+ "rstrip": false,
160
+ "single_word": false,
161
+ "special": true
162
+ },
163
+ "200018": {
164
+ "content": "<|endofprompt|>",
165
+ "lstrip": false,
166
+ "normalized": false,
167
+ "rstrip": false,
168
+ "single_word": false,
169
+ "special": true
170
+ }
171
+ },
172
+ "bos_token": "<|startoftext|>",
173
+ "clean_up_tokenization_spaces": false,
174
+ "eos_token": "<|return|>",
175
+ "extra_special_tokens": {},
176
+ "model_input_names": [
177
+ "input_ids",
178
+ "attention_mask"
179
+ ],
180
+ "model_max_length": 131072,
181
+ "pad_token": "<|reserved_200017|>",
182
+ "padding_side": "right",
183
+ "tokenizer_class": "PreTrainedTokenizerFast",
184
+ "unk_token": null
185
+ }
trainer_state.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.00041734485205124997,
6
+ "eval_steps": 500,
7
+ "global_step": 30,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 1.3911495068374998e-05,
14
+ "grad_norm": 68.36048889160156,
15
+ "learning_rate": 0.0,
16
+ "loss": 18.5386,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 2.7822990136749997e-05,
21
+ "grad_norm": 71.29923248291016,
22
+ "learning_rate": 4e-05,
23
+ "loss": 17.6841,
24
+ "step": 2
25
+ },
26
+ {
27
+ "epoch": 4.1734485205125e-05,
28
+ "grad_norm": 75.4001693725586,
29
+ "learning_rate": 8e-05,
30
+ "loss": 19.0986,
31
+ "step": 3
32
+ },
33
+ {
34
+ "epoch": 5.5645980273499994e-05,
35
+ "grad_norm": 74.53475189208984,
36
+ "learning_rate": 0.00012,
37
+ "loss": 17.6713,
38
+ "step": 4
39
+ },
40
+ {
41
+ "epoch": 6.955747534187499e-05,
42
+ "grad_norm": 62.05671691894531,
43
+ "learning_rate": 0.00016,
44
+ "loss": 14.1331,
45
+ "step": 5
46
+ },
47
+ {
48
+ "epoch": 8.346897041025e-05,
49
+ "grad_norm": 64.3744888305664,
50
+ "learning_rate": 0.0002,
51
+ "loss": 10.9915,
52
+ "step": 6
53
+ },
54
+ {
55
+ "epoch": 9.738046547862498e-05,
56
+ "grad_norm": 79.88032531738281,
57
+ "learning_rate": 0.000192,
58
+ "loss": 6.3303,
59
+ "step": 7
60
+ },
61
+ {
62
+ "epoch": 0.00011129196054699999,
63
+ "grad_norm": 33.379764556884766,
64
+ "learning_rate": 0.00018400000000000003,
65
+ "loss": 2.7904,
66
+ "step": 8
67
+ },
68
+ {
69
+ "epoch": 0.000125203455615375,
70
+ "grad_norm": 15.933351516723633,
71
+ "learning_rate": 0.00017600000000000002,
72
+ "loss": 1.9766,
73
+ "step": 9
74
+ },
75
+ {
76
+ "epoch": 0.00013911495068374998,
77
+ "grad_norm": 4.526773929595947,
78
+ "learning_rate": 0.000168,
79
+ "loss": 0.9661,
80
+ "step": 10
81
+ },
82
+ {
83
+ "epoch": 0.00015302644575212497,
84
+ "grad_norm": 1.9286530017852783,
85
+ "learning_rate": 0.00016,
86
+ "loss": 0.7805,
87
+ "step": 11
88
+ },
89
+ {
90
+ "epoch": 0.0001669379408205,
91
+ "grad_norm": 1.0767860412597656,
92
+ "learning_rate": 0.000152,
93
+ "loss": 0.9457,
94
+ "step": 12
95
+ },
96
+ {
97
+ "epoch": 0.00018084943588887498,
98
+ "grad_norm": 0.9176913499832153,
99
+ "learning_rate": 0.000144,
100
+ "loss": 0.6094,
101
+ "step": 13
102
+ },
103
+ {
104
+ "epoch": 0.00019476093095724997,
105
+ "grad_norm": 0.8865966200828552,
106
+ "learning_rate": 0.00013600000000000003,
107
+ "loss": 0.5635,
108
+ "step": 14
109
+ },
110
+ {
111
+ "epoch": 0.00020867242602562499,
112
+ "grad_norm": 0.8140920400619507,
113
+ "learning_rate": 0.00012800000000000002,
114
+ "loss": 0.6797,
115
+ "step": 15
116
+ },
117
+ {
118
+ "epoch": 0.00022258392109399998,
119
+ "grad_norm": 1.4326921701431274,
120
+ "learning_rate": 0.00012,
121
+ "loss": 0.8631,
122
+ "step": 16
123
+ },
124
+ {
125
+ "epoch": 0.00023649541616237497,
126
+ "grad_norm": 0.8285752534866333,
127
+ "learning_rate": 0.00011200000000000001,
128
+ "loss": 0.5675,
129
+ "step": 17
130
+ },
131
+ {
132
+ "epoch": 0.00025040691123075,
133
+ "grad_norm": 1.2299859523773193,
134
+ "learning_rate": 0.00010400000000000001,
135
+ "loss": 1.1321,
136
+ "step": 18
137
+ },
138
+ {
139
+ "epoch": 0.00026431840629912497,
140
+ "grad_norm": 0.9245197176933289,
141
+ "learning_rate": 9.6e-05,
142
+ "loss": 1.0017,
143
+ "step": 19
144
+ },
145
+ {
146
+ "epoch": 0.00027822990136749996,
147
+ "grad_norm": 1.1311694383621216,
148
+ "learning_rate": 8.800000000000001e-05,
149
+ "loss": 0.9173,
150
+ "step": 20
151
+ },
152
+ {
153
+ "epoch": 0.00029214139643587495,
154
+ "grad_norm": 1.061496615409851,
155
+ "learning_rate": 8e-05,
156
+ "loss": 0.696,
157
+ "step": 21
158
+ },
159
+ {
160
+ "epoch": 0.00030605289150424994,
161
+ "grad_norm": 0.5580381155014038,
162
+ "learning_rate": 7.2e-05,
163
+ "loss": 0.3912,
164
+ "step": 22
165
+ },
166
+ {
167
+ "epoch": 0.000319964386572625,
168
+ "grad_norm": 0.6166224479675293,
169
+ "learning_rate": 6.400000000000001e-05,
170
+ "loss": 0.6241,
171
+ "step": 23
172
+ },
173
+ {
174
+ "epoch": 0.000333875881641,
175
+ "grad_norm": 0.590518593788147,
176
+ "learning_rate": 5.6000000000000006e-05,
177
+ "loss": 0.602,
178
+ "step": 24
179
+ },
180
+ {
181
+ "epoch": 0.00034778737670937497,
182
+ "grad_norm": 0.6541720032691956,
183
+ "learning_rate": 4.8e-05,
184
+ "loss": 0.6138,
185
+ "step": 25
186
+ },
187
+ {
188
+ "epoch": 0.00036169887177774996,
189
+ "grad_norm": 0.5166042447090149,
190
+ "learning_rate": 4e-05,
191
+ "loss": 0.4645,
192
+ "step": 26
193
+ },
194
+ {
195
+ "epoch": 0.00037561036684612495,
196
+ "grad_norm": 0.6018291711807251,
197
+ "learning_rate": 3.2000000000000005e-05,
198
+ "loss": 0.5399,
199
+ "step": 27
200
+ },
201
+ {
202
+ "epoch": 0.00038952186191449994,
203
+ "grad_norm": 0.8229033350944519,
204
+ "learning_rate": 2.4e-05,
205
+ "loss": 0.7849,
206
+ "step": 28
207
+ },
208
+ {
209
+ "epoch": 0.0004034333569828749,
210
+ "grad_norm": 0.8277194499969482,
211
+ "learning_rate": 1.6000000000000003e-05,
212
+ "loss": 1.1107,
213
+ "step": 29
214
+ },
215
+ {
216
+ "epoch": 0.00041734485205124997,
217
+ "grad_norm": 0.5916028022766113,
218
+ "learning_rate": 8.000000000000001e-06,
219
+ "loss": 0.5184,
220
+ "step": 30
221
+ }
222
+ ],
223
+ "logging_steps": 1,
224
+ "max_steps": 30,
225
+ "num_input_tokens_seen": 0,
226
+ "num_train_epochs": 1,
227
+ "save_steps": 500,
228
+ "stateful_callbacks": {
229
+ "TrainerControl": {
230
+ "args": {
231
+ "should_epoch_stop": false,
232
+ "should_evaluate": false,
233
+ "should_log": false,
234
+ "should_save": true,
235
+ "should_training_stop": true
236
+ },
237
+ "attributes": {}
238
+ }
239
+ },
240
+ "total_flos": 7059632839676928.0,
241
+ "train_batch_size": 1,
242
+ "trial_name": null,
243
+ "trial_params": null
244
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98eb67cd293c786207b11cfa1c9ef1d08577717d0f9efce494203aa65820cb93
3
+ size 6225