ash256 commited on
Commit
a5b3980
·
verified ·
1 Parent(s): 1d4aee4

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,6 +1,7 @@
1
- # Test LoRA Adapter for SGLang Embedding LoRA
2
 
3
- This is a test LoRA adapter (randomly initialized without tuning) for testing SGLang's embedding LoRA implementation.
 
4
 
5
  ## Configuration
6
 
@@ -8,6 +9,8 @@ This is a test LoRA adapter (randomly initialized without tuning) for testing SG
8
  - **LoRA rank (r):** 8
9
  - **LoRA alpha:** 16
10
  - **Target modules:** embed_tokens, lm_head, q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj
 
 
11
 
12
  ## Weight Shapes
13
 
@@ -34,19 +37,20 @@ v_proj.lora_B: (256, 8)
34
 
35
  ## Purpose
36
 
37
- This adapter tests that SGLang's `ChunkedSgmvLoRABackend.run_lora_a_embedding()` correctly handles embedding LoRA layers (`embed_tokens`, `lm_head`).
 
38
 
39
  **Key:** `embed_tokens` is in `target_modules` (LoRA decomposition), NOT `modules_to_save` (full weights).
40
 
41
  ## Usage with SGLang
42
 
43
  ```python
44
- # This adapter contains randomly initialized weights for testing purposes only.
45
  # Used by: test/srt/lora/test_lora_hf_sgl_logprob_diff.py
 
46
  ```
47
 
48
  ## Created with
49
 
50
  ```bash
51
- python scripts/playground/lora/create_embedding_lora_adapter.py
52
  ```
 
1
+ # Trained LoRA Adapter for SGLang Embedding LoRA Testing
2
 
3
+ This is a **fine-tuned** LoRA adapter for testing SGLang's embedding LoRA implementation.
4
+ Unlike randomly initialized adapters, this one produces coherent text outputs.
5
 
6
  ## Configuration
7
 
 
9
  - **LoRA rank (r):** 8
10
  - **LoRA alpha:** 16
11
  - **Target modules:** embed_tokens, lm_head, q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj
12
+ - **Training steps:** 500
13
+ - **Training data:** alpaca dataset (instruction following)
14
 
15
  ## Weight Shapes
16
 
 
37
 
38
  ## Purpose
39
 
40
+ This adapter tests that SGLang's `ChunkedSgmvLoRABackend.run_lora_a_embedding()` correctly
41
+ handles embedding LoRA layers (`embed_tokens`, `lm_head`).
42
 
43
  **Key:** `embed_tokens` is in `target_modules` (LoRA decomposition), NOT `modules_to_save` (full weights).
44
 
45
  ## Usage with SGLang
46
 
47
  ```python
 
48
  # Used by: test/srt/lora/test_lora_hf_sgl_logprob_diff.py
49
+ # The adapter produces coherent outputs for meaningful CI/CD verification.
50
  ```
51
 
52
  ## Created with
53
 
54
  ```bash
55
+ python scripts/playground/lora/train_embedding_lora_adapter.py --num_train_steps 500
56
  ```
adapter_config.json CHANGED
@@ -31,13 +31,13 @@
31
  "target_modules": [
32
  "q_proj",
33
  "up_proj",
34
- "v_proj",
35
  "gate_proj",
36
- "embed_tokens",
37
- "lm_head",
38
  "o_proj",
39
- "down_proj",
40
- "k_proj"
41
  ],
42
  "target_parameters": null,
43
  "task_type": "CAUSAL_LM",
 
31
  "target_modules": [
32
  "q_proj",
33
  "up_proj",
34
+ "down_proj",
35
  "gate_proj",
36
+ "k_proj",
37
+ "v_proj",
38
  "o_proj",
39
+ "embed_tokens",
40
+ "lm_head"
41
  ],
42
  "target_parameters": null,
43
  "task_type": "CAUSAL_LM",
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:656a39751852f5b1143f92ffd5d5a501cb1a70dcd0f6509fb1e6e40eb9aeefdf
3
  size 289595592
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33625e6a90750f4c9b5536f49792fd814c3a57c60b39126e5a83dc827822bf9b
3
  size 289595592
checkpoints/README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
3
+ library_name: transformers
4
+ model_name: checkpoints
5
+ tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - sft
9
+ licence: license
10
+ ---
11
+
12
+ # Model Card for checkpoints
13
+
14
+ This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-Chat-v1.0](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0).
15
+ It has been trained using [TRL](https://github.com/huggingface/trl).
16
+
17
+ ## Quick start
18
+
19
+ ```python
20
+ from transformers import pipeline
21
+
22
+ 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?"
23
+ generator = pipeline("text-generation", model="None", device="cuda")
24
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
+ print(output["generated_text"])
26
+ ```
27
+
28
+ ## Training procedure
29
+
30
+
31
+
32
+
33
+ This model was trained with SFT.
34
+
35
+ ### Framework versions
36
+
37
+ - TRL: 0.26.0
38
+ - Transformers: 4.57.3
39
+ - Pytorch: 2.9.1
40
+ - Datasets: 4.4.1
41
+ - Tokenizers: 0.22.1
42
+
43
+ ## Citations
44
+
45
+
46
+
47
+ Cite TRL as:
48
+
49
+ ```bibtex
50
+ @misc{vonwerra2022trl,
51
+ title = {{TRL: Transformer Reinforcement Learning}},
52
+ 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},
53
+ year = 2020,
54
+ journal = {GitHub repository},
55
+ publisher = {GitHub},
56
+ howpublished = {\url{https://github.com/huggingface/trl}}
57
+ }
58
+ ```
checkpoints/checkpoint-500/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:TinyLlama/TinyLlama-1.1B-Chat-v1.0
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.18.0
checkpoints/checkpoint-500/adapter_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 16,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.0,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.0",
27
+ "qalora_group_size": 16,
28
+ "r": 8,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "q_proj",
33
+ "up_proj",
34
+ "down_proj",
35
+ "gate_proj",
36
+ "k_proj",
37
+ "v_proj",
38
+ "o_proj",
39
+ "embed_tokens",
40
+ "lm_head"
41
+ ],
42
+ "target_parameters": null,
43
+ "task_type": "CAUSAL_LM",
44
+ "trainable_token_indices": null,
45
+ "use_dora": false,
46
+ "use_qalora": false,
47
+ "use_rslora": false
48
+ }
checkpoints/checkpoint-500/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33625e6a90750f4c9b5536f49792fd814c3a57c60b39126e5a83dc827822bf9b
3
+ size 289595592
checkpoints/checkpoint-500/chat_template.jinja ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {% for message in messages %}
2
+ {% if message['role'] == 'user' %}
3
+ {{ '<|user|>
4
+ ' + message['content'] + eos_token }}
5
+ {% elif message['role'] == 'system' %}
6
+ {{ '<|system|>
7
+ ' + message['content'] + eos_token }}
8
+ {% elif message['role'] == 'assistant' %}
9
+ {{ '<|assistant|>
10
+ ' + message['content'] + eos_token }}
11
+ {% endif %}
12
+ {% if loop.last and add_generation_prompt %}
13
+ {{ '<|assistant|>' }}
14
+ {% endif %}
15
+ {% endfor %}
checkpoints/checkpoint-500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:830dbcb017e3de1782a73e14533dc15e793dfa50eb5a65d43e6843ef6e8e7514
3
+ size 55083083
checkpoints/checkpoint-500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61c19bab1174704a4a4441475683bf1270277af15d2e2c95e964789128e482c4
3
+ size 14645
checkpoints/checkpoint-500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ec75da29c1cbf10b3263555aa2baf297b043d42aa8023b3a6dd492938dd97e8
3
+ size 1383
checkpoints/checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:213e51f02242106184d4fda7fd6be7019344a155478d785080eb34a1159f7764
3
+ size 1465
checkpoints/checkpoint-500/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
checkpoints/checkpoint-500/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/checkpoint-500/tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "bos_token": "<s>",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "extra_special_tokens": {},
35
+ "legacy": false,
36
+ "model_max_length": 2048,
37
+ "pad_token": "</s>",
38
+ "padding_side": "right",
39
+ "sp_model_kwargs": {},
40
+ "tokenizer_class": "LlamaTokenizer",
41
+ "unk_token": "<unk>",
42
+ "use_default_system_prompt": false
43
+ }
checkpoints/checkpoint-500/trainer_state.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.0,
6
+ "eval_steps": 500,
7
+ "global_step": 500,
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.6480721473693847,
14
+ "epoch": 0.05,
15
+ "grad_norm": 27.1102352142334,
16
+ "learning_rate": 8e-05,
17
+ "loss": 1.8005,
18
+ "mean_token_accuracy": 0.5941327238082885,
19
+ "num_tokens": 9693.0,
20
+ "step": 25
21
+ },
22
+ {
23
+ "entropy": 1.3281144857406617,
24
+ "epoch": 0.1,
25
+ "grad_norm": 9.47355842590332,
26
+ "learning_rate": 0.00018,
27
+ "loss": 1.2936,
28
+ "mean_token_accuracy": 0.6876855921745301,
29
+ "num_tokens": 19797.0,
30
+ "step": 50
31
+ },
32
+ {
33
+ "entropy": 1.2546486043930054,
34
+ "epoch": 0.15,
35
+ "grad_norm": 7.4732513427734375,
36
+ "learning_rate": 0.00019902680687415705,
37
+ "loss": 1.2329,
38
+ "mean_token_accuracy": 0.691328091621399,
39
+ "num_tokens": 28636.0,
40
+ "step": 75
41
+ },
42
+ {
43
+ "entropy": 1.1987505912780763,
44
+ "epoch": 0.2,
45
+ "grad_norm": 10.677826881408691,
46
+ "learning_rate": 0.00019510565162951537,
47
+ "loss": 1.165,
48
+ "mean_token_accuracy": 0.7062379860877991,
49
+ "num_tokens": 38194.0,
50
+ "step": 100
51
+ },
52
+ {
53
+ "entropy": 1.2390620636940002,
54
+ "epoch": 0.25,
55
+ "grad_norm": 8.650012016296387,
56
+ "learning_rate": 0.00018829475928589271,
57
+ "loss": 1.2323,
58
+ "mean_token_accuracy": 0.686786060333252,
59
+ "num_tokens": 49170.0,
60
+ "step": 125
61
+ },
62
+ {
63
+ "entropy": 1.2445489859580994,
64
+ "epoch": 0.3,
65
+ "grad_norm": 6.545881748199463,
66
+ "learning_rate": 0.00017880107536067218,
67
+ "loss": 1.233,
68
+ "mean_token_accuracy": 0.6857695412635804,
69
+ "num_tokens": 58907.0,
70
+ "step": 150
71
+ },
72
+ {
73
+ "entropy": 1.2420870399475097,
74
+ "epoch": 0.35,
75
+ "grad_norm": 24.16084098815918,
76
+ "learning_rate": 0.00016743023875837233,
77
+ "loss": 1.2297,
78
+ "mean_token_accuracy": 0.6925088000297547,
79
+ "num_tokens": 68206.0,
80
+ "step": 175
81
+ },
82
+ {
83
+ "entropy": 1.2456481051445008,
84
+ "epoch": 0.4,
85
+ "grad_norm": 23.415494918823242,
86
+ "learning_rate": 0.00015358267949789966,
87
+ "loss": 1.2531,
88
+ "mean_token_accuracy": 0.6884878659248352,
89
+ "num_tokens": 77989.0,
90
+ "step": 200
91
+ },
92
+ {
93
+ "entropy": 1.2355119800567627,
94
+ "epoch": 0.45,
95
+ "grad_norm": 7.648189544677734,
96
+ "learning_rate": 0.00013810703763502744,
97
+ "loss": 1.2108,
98
+ "mean_token_accuracy": 0.6975953841209411,
99
+ "num_tokens": 87614.0,
100
+ "step": 225
101
+ },
102
+ {
103
+ "entropy": 1.2422665166854858,
104
+ "epoch": 0.5,
105
+ "grad_norm": 7.272965908050537,
106
+ "learning_rate": 0.00012147353271670634,
107
+ "loss": 1.2552,
108
+ "mean_token_accuracy": 0.687971031665802,
109
+ "num_tokens": 97427.0,
110
+ "step": 250
111
+ },
112
+ {
113
+ "entropy": 1.2536789083480835,
114
+ "epoch": 0.55,
115
+ "grad_norm": 7.070037364959717,
116
+ "learning_rate": 0.00010418756537291996,
117
+ "loss": 1.2526,
118
+ "mean_token_accuracy": 0.6898462009429932,
119
+ "num_tokens": 107088.0,
120
+ "step": 275
121
+ },
122
+ {
123
+ "entropy": 1.2259885239601136,
124
+ "epoch": 0.6,
125
+ "grad_norm": 13.018112182617188,
126
+ "learning_rate": 8.677436097428775e-05,
127
+ "loss": 1.2247,
128
+ "mean_token_accuracy": 0.6857342338562011,
129
+ "num_tokens": 116177.0,
130
+ "step": 300
131
+ },
132
+ {
133
+ "entropy": 1.2294299459457398,
134
+ "epoch": 0.65,
135
+ "grad_norm": 7.353261947631836,
136
+ "learning_rate": 6.976301092495556e-05,
137
+ "loss": 1.2238,
138
+ "mean_token_accuracy": 0.6885941863059998,
139
+ "num_tokens": 126328.0,
140
+ "step": 325
141
+ },
142
+ {
143
+ "entropy": 1.2531250643730163,
144
+ "epoch": 0.7,
145
+ "grad_norm": 7.604862689971924,
146
+ "learning_rate": 5.3670396488013854e-05,
147
+ "loss": 1.2219,
148
+ "mean_token_accuracy": 0.6879838514328003,
149
+ "num_tokens": 135285.0,
150
+ "step": 350
151
+ },
152
+ {
153
+ "entropy": 1.2012500953674317,
154
+ "epoch": 0.75,
155
+ "grad_norm": 7.651504039764404,
156
+ "learning_rate": 3.8985483609873244e-05,
157
+ "loss": 1.2111,
158
+ "mean_token_accuracy": 0.6910693979263306,
159
+ "num_tokens": 145111.0,
160
+ "step": 375
161
+ },
162
+ {
163
+ "entropy": 1.2419355368614198,
164
+ "epoch": 0.8,
165
+ "grad_norm": 8.24601936340332,
166
+ "learning_rate": 2.615446593741161e-05,
167
+ "loss": 1.2345,
168
+ "mean_token_accuracy": 0.685720636844635,
169
+ "num_tokens": 155061.0,
170
+ "step": 400
171
+ },
172
+ {
173
+ "entropy": 1.2203574657440186,
174
+ "epoch": 0.85,
175
+ "grad_norm": 5.648503303527832,
176
+ "learning_rate": 1.5567207449798515e-05,
177
+ "loss": 1.1986,
178
+ "mean_token_accuracy": 0.6945811367034912,
179
+ "num_tokens": 164613.0,
180
+ "step": 425
181
+ },
182
+ {
183
+ "entropy": 1.1166097807884217,
184
+ "epoch": 0.9,
185
+ "grad_norm": 7.915076732635498,
186
+ "learning_rate": 7.545396638768698e-06,
187
+ "loss": 1.1173,
188
+ "mean_token_accuracy": 0.7110410404205322,
189
+ "num_tokens": 174362.0,
190
+ "step": 450
191
+ },
192
+ {
193
+ "entropy": 1.2107400488853455,
194
+ "epoch": 0.95,
195
+ "grad_norm": 8.340585708618164,
196
+ "learning_rate": 2.332772166583208e-06,
197
+ "loss": 1.1966,
198
+ "mean_token_accuracy": 0.7019165325164795,
199
+ "num_tokens": 183648.0,
200
+ "step": 475
201
+ },
202
+ {
203
+ "entropy": 1.2142256331443786,
204
+ "epoch": 1.0,
205
+ "grad_norm": 8.785581588745117,
206
+ "learning_rate": 8.771699011416168e-08,
207
+ "loss": 1.1894,
208
+ "mean_token_accuracy": 0.7058351802825927,
209
+ "num_tokens": 193469.0,
210
+ "step": 500
211
+ }
212
+ ],
213
+ "logging_steps": 25,
214
+ "max_steps": 500,
215
+ "num_input_tokens_seen": 0,
216
+ "num_train_epochs": 1,
217
+ "save_steps": 500,
218
+ "stateful_callbacks": {
219
+ "TrainerControl": {
220
+ "args": {
221
+ "should_epoch_stop": false,
222
+ "should_evaluate": false,
223
+ "should_log": false,
224
+ "should_save": true,
225
+ "should_training_stop": true
226
+ },
227
+ "attributes": {}
228
+ }
229
+ },
230
+ "total_flos": 2045157535088640.0,
231
+ "train_batch_size": 4,
232
+ "trial_name": null,
233
+ "trial_params": null
234
+ }
checkpoints/checkpoint-500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35b2da819e3a561790f622bce5c99c4124724dc2c931da23138645704238828e
3
+ size 6289