Upload stage2 checkpoint (full/lora)
Browse files- .gitattributes +4 -0
- README.md +51 -0
- adapter_config.json +46 -0
- adapter_model.safetensors +3 -0
- checkpoint-1048/README.md +209 -0
- checkpoint-1048/adapter_config.json +46 -0
- checkpoint-1048/adapter_model.safetensors +3 -0
- checkpoint-1048/optimizer.pt +3 -0
- checkpoint-1048/rng_state.pth +3 -0
- checkpoint-1048/scheduler.pt +3 -0
- checkpoint-1048/tokenizer.json +3 -0
- checkpoint-1048/tokenizer_config.json +14 -0
- checkpoint-1048/trainer_state.json +245 -0
- checkpoint-1048/training_args.bin +3 -0
- checkpoint-2096/README.md +209 -0
- checkpoint-2096/adapter_config.json +46 -0
- checkpoint-2096/adapter_model.safetensors +3 -0
- checkpoint-2096/optimizer.pt +3 -0
- checkpoint-2096/rng_state.pth +3 -0
- checkpoint-2096/scheduler.pt +3 -0
- checkpoint-2096/tokenizer.json +3 -0
- checkpoint-2096/tokenizer_config.json +14 -0
- checkpoint-2096/trainer_state.json +466 -0
- checkpoint-2096/training_args.bin +3 -0
- checkpoint-3144/README.md +209 -0
- checkpoint-3144/adapter_config.json +46 -0
- checkpoint-3144/adapter_model.safetensors +3 -0
- checkpoint-3144/optimizer.pt +3 -0
- checkpoint-3144/rng_state.pth +3 -0
- checkpoint-3144/scheduler.pt +3 -0
- checkpoint-3144/tokenizer.json +3 -0
- checkpoint-3144/tokenizer_config.json +14 -0
- checkpoint-3144/trainer_state.json +687 -0
- checkpoint-3144/training_args.bin +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +14 -0
- training_args.bin +3 -0
- training_args.json +11 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,7 @@ 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 |
+
checkpoint-1048/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
checkpoint-2096/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
checkpoint-3144/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- ar
|
| 4 |
+
license: llama3
|
| 5 |
+
base_model: meta-llama/Llama-3.1-8B
|
| 6 |
+
tags:
|
| 7 |
+
- arabic
|
| 8 |
+
- medical
|
| 9 |
+
- question-answering
|
| 10 |
+
- fine-tuned
|
| 11 |
+
- full
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Omaratef3221/llama-3.1-8b-s1-full-s2-lora-medarabench
|
| 15 |
+
|
| 16 |
+
**Base model:** `meta-llama/Llama-3.1-8B`
|
| 17 |
+
**Training stage:** Stage 2 — Task Fine-tuning (MedAraBench)
|
| 18 |
+
**Stage 1 method:** full
|
| 19 |
+
**Stage 2 method:** lora
|
| 20 |
+
|
| 21 |
+
## Paper
|
| 22 |
+
|
| 23 |
+
_LoRA vs. Full Fine-Tuning for Arabic Medical Question Answering: A Systematic Comparison Across General-Purpose and Arabic-Centric Large Language Models_
|
| 24 |
+
|
| 25 |
+
## Training data
|
| 26 |
+
|
| 27 |
+
| Stage | Dataset | Samples |
|
| 28 |
+
|-------|---------|---------|
|
| 29 |
+
| Stage 1 | AraMed (open-ended Arabic medical QA) | ~110K |
|
| 30 |
+
| Stage 2 | MedAraBench (Arabic MCQ) | ~17.6K (cleaned) |
|
| 31 |
+
|
| 32 |
+
## Evaluation
|
| 33 |
+
|
| 34 |
+
Evaluated on MedAraBench test set (4,959 MCQ samples) using log-probability selection.
|
| 35 |
+
Metrics: **Accuracy** and **Macro F1** across answer classes A–E.
|
| 36 |
+
|
| 37 |
+
## Experiment metadata
|
| 38 |
+
|
| 39 |
+
```json
|
| 40 |
+
{
|
| 41 |
+
"model_name": "meta-llama/Llama-3.1-8B",
|
| 42 |
+
"stage1_method": "full",
|
| 43 |
+
"stage2_method": "lora",
|
| 44 |
+
"stage": "task_specific",
|
| 45 |
+
"num_epochs": 3,
|
| 46 |
+
"config_path": "/home/oelgendy/arabic-medical-llm/script/configs/lora.yaml",
|
| 47 |
+
"stage1_checkpoint": "outputs/exp04_llama_full_lora/stage1",
|
| 48 |
+
"train_samples": 16756,
|
| 49 |
+
"val_samples": 882
|
| 50 |
+
}
|
| 51 |
+
```
|
adapter_config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "outputs/exp04_llama_full_lora/stage1",
|
| 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": 32,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 16,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"down_proj",
|
| 33 |
+
"up_proj",
|
| 34 |
+
"q_proj",
|
| 35 |
+
"gate_proj",
|
| 36 |
+
"o_proj",
|
| 37 |
+
"k_proj",
|
| 38 |
+
"v_proj"
|
| 39 |
+
],
|
| 40 |
+
"target_parameters": null,
|
| 41 |
+
"task_type": "CAUSAL_LM",
|
| 42 |
+
"trainable_token_indices": null,
|
| 43 |
+
"use_dora": false,
|
| 44 |
+
"use_qalora": false,
|
| 45 |
+
"use_rslora": false
|
| 46 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: outputs/exp04_llama_full_lora/stage1
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:outputs/exp04_llama_full_lora/stage1
|
| 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.1
|
checkpoint-1048/adapter_config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "outputs/exp04_llama_full_lora/stage1",
|
| 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": 32,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 16,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"down_proj",
|
| 33 |
+
"up_proj",
|
| 34 |
+
"q_proj",
|
| 35 |
+
"gate_proj",
|
| 36 |
+
"o_proj",
|
| 37 |
+
"k_proj",
|
| 38 |
+
"v_proj"
|
| 39 |
+
],
|
| 40 |
+
"target_parameters": null,
|
| 41 |
+
"task_type": "CAUSAL_LM",
|
| 42 |
+
"trainable_token_indices": null,
|
| 43 |
+
"use_dora": false,
|
| 44 |
+
"use_qalora": false,
|
| 45 |
+
"use_rslora": false
|
| 46 |
+
}
|
checkpoint-1048/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8cbdcc0dc17b6c142eae447ec1b1bcd8cafec800e048868a7d191ff2d4ca8088
|
| 3 |
+
size 167832240
|
checkpoint-1048/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37442db983991d61bbbe413f26907dde786f5798199633f5ca9a66f6a38cd484
|
| 3 |
+
size 86128920
|
checkpoint-1048/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48852ab2d09f4e417e2e311aa546f11cc8e500f7ffd24e3c7010785a0ee97a60
|
| 3 |
+
size 14244
|
checkpoint-1048/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:514642a74f9ab860eddeecf0df77df92eac84728bc4df60b477858ab09996687
|
| 3 |
+
size 1064
|
checkpoint-1048/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b
|
| 3 |
+
size 17209920
|
checkpoint-1048/tokenizer_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<|begin_of_text|>",
|
| 4 |
+
"clean_up_tokenization_spaces": true,
|
| 5 |
+
"eos_token": "<|end_of_text|>",
|
| 6 |
+
"is_local": true,
|
| 7 |
+
"model_input_names": [
|
| 8 |
+
"input_ids",
|
| 9 |
+
"attention_mask"
|
| 10 |
+
],
|
| 11 |
+
"model_max_length": 131072,
|
| 12 |
+
"pad_token": "<|end_of_text|>",
|
| 13 |
+
"tokenizer_class": "TokenizersBackend"
|
| 14 |
+
}
|
checkpoint-1048/trainer_state.json
ADDED
|
@@ -0,0 +1,245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": 1048,
|
| 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.9169489538669586,
|
| 14 |
+
"epoch": 0.0477326968973747,
|
| 15 |
+
"grad_norm": 0.4528772830963135,
|
| 16 |
+
"learning_rate": 0.00010315789473684211,
|
| 17 |
+
"loss": 2.1467950439453123,
|
| 18 |
+
"mean_token_accuracy": 0.5774942764639854,
|
| 19 |
+
"num_tokens": 62415.0,
|
| 20 |
+
"step": 50
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"entropy": 1.7696015048027038,
|
| 24 |
+
"epoch": 0.0954653937947494,
|
| 25 |
+
"grad_norm": 0.559516429901123,
|
| 26 |
+
"learning_rate": 0.00019999915067429384,
|
| 27 |
+
"loss": 1.7887376403808595,
|
| 28 |
+
"mean_token_accuracy": 0.6264250260591507,
|
| 29 |
+
"num_tokens": 126004.0,
|
| 30 |
+
"step": 100
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"entropy": 1.693043473958969,
|
| 34 |
+
"epoch": 0.1431980906921241,
|
| 35 |
+
"grad_norm": 0.5153214931488037,
|
| 36 |
+
"learning_rate": 0.0001998452500999697,
|
| 37 |
+
"loss": 1.7081011962890624,
|
| 38 |
+
"mean_token_accuracy": 0.6385690844058991,
|
| 39 |
+
"num_tokens": 188614.0,
|
| 40 |
+
"step": 150
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"entropy": 1.6898816537857055,
|
| 44 |
+
"epoch": 0.1909307875894988,
|
| 45 |
+
"grad_norm": 0.5599738955497742,
|
| 46 |
+
"learning_rate": 0.00019942640420376765,
|
| 47 |
+
"loss": 1.7022125244140625,
|
| 48 |
+
"mean_token_accuracy": 0.6406848466396332,
|
| 49 |
+
"num_tokens": 251062.0,
|
| 50 |
+
"step": 200
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"entropy": 1.6405246889591216,
|
| 54 |
+
"epoch": 0.2386634844868735,
|
| 55 |
+
"grad_norm": 0.49600595235824585,
|
| 56 |
+
"learning_rate": 0.00019874372441823629,
|
| 57 |
+
"loss": 1.6459197998046875,
|
| 58 |
+
"mean_token_accuracy": 0.6479257130622864,
|
| 59 |
+
"num_tokens": 313957.0,
|
| 60 |
+
"step": 250
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"entropy": 1.6324861299991609,
|
| 64 |
+
"epoch": 0.2863961813842482,
|
| 65 |
+
"grad_norm": 0.5211499333381653,
|
| 66 |
+
"learning_rate": 0.00019779902227487397,
|
| 67 |
+
"loss": 1.6452156066894532,
|
| 68 |
+
"mean_token_accuracy": 0.6487298482656478,
|
| 69 |
+
"num_tokens": 376779.0,
|
| 70 |
+
"step": 300
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"entropy": 1.5829804718494416,
|
| 74 |
+
"epoch": 0.3341288782816229,
|
| 75 |
+
"grad_norm": 0.5337353348731995,
|
| 76 |
+
"learning_rate": 0.00019659480459712202,
|
| 77 |
+
"loss": 1.5916696166992188,
|
| 78 |
+
"mean_token_accuracy": 0.657093957066536,
|
| 79 |
+
"num_tokens": 439472.0,
|
| 80 |
+
"step": 350
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"entropy": 1.5584524583816528,
|
| 84 |
+
"epoch": 0.3818615751789976,
|
| 85 |
+
"grad_norm": 0.5614678263664246,
|
| 86 |
+
"learning_rate": 0.00019513426684835924,
|
| 87 |
+
"loss": 1.5665699768066406,
|
| 88 |
+
"mean_token_accuracy": 0.6622982215881348,
|
| 89 |
+
"num_tokens": 501279.0,
|
| 90 |
+
"step": 400
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"entropy": 1.5577264988422395,
|
| 94 |
+
"epoch": 0.4295942720763723,
|
| 95 |
+
"grad_norm": 0.5509770512580872,
|
| 96 |
+
"learning_rate": 0.00019342128465254943,
|
| 97 |
+
"loss": 1.5625930786132813,
|
| 98 |
+
"mean_token_accuracy": 0.6628634428977966,
|
| 99 |
+
"num_tokens": 564442.0,
|
| 100 |
+
"step": 450
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"entropy": 1.5444469928741456,
|
| 104 |
+
"epoch": 0.477326968973747,
|
| 105 |
+
"grad_norm": 0.5766333937644958,
|
| 106 |
+
"learning_rate": 0.00019146040351004223,
|
| 107 |
+
"loss": 1.5518899536132813,
|
| 108 |
+
"mean_token_accuracy": 0.6658952581882477,
|
| 109 |
+
"num_tokens": 627102.0,
|
| 110 |
+
"step": 500
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"entropy": 1.5157422959804534,
|
| 114 |
+
"epoch": 0.5250596658711217,
|
| 115 |
+
"grad_norm": 0.5064456462860107,
|
| 116 |
+
"learning_rate": 0.00018925682673581707,
|
| 117 |
+
"loss": 1.517430877685547,
|
| 118 |
+
"mean_token_accuracy": 0.6710657715797425,
|
| 119 |
+
"num_tokens": 689421.0,
|
| 120 |
+
"step": 550
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"entropy": 1.5208299958705902,
|
| 124 |
+
"epoch": 0.5727923627684964,
|
| 125 |
+
"grad_norm": 0.5480907559394836,
|
| 126 |
+
"learning_rate": 0.0001868164016521766,
|
| 127 |
+
"loss": 1.5297586059570312,
|
| 128 |
+
"mean_token_accuracy": 0.6690839475393295,
|
| 129 |
+
"num_tokens": 752388.0,
|
| 130 |
+
"step": 600
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"entropy": 1.4881639647483826,
|
| 134 |
+
"epoch": 0.6205250596658711,
|
| 135 |
+
"grad_norm": 0.5211111307144165,
|
| 136 |
+
"learning_rate": 0.0001841456040725287,
|
| 137 |
+
"loss": 1.4932846069335937,
|
| 138 |
+
"mean_token_accuracy": 0.6743283599615097,
|
| 139 |
+
"num_tokens": 815803.0,
|
| 140 |
+
"step": 650
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"entropy": 1.4972898173332214,
|
| 144 |
+
"epoch": 0.6682577565632458,
|
| 145 |
+
"grad_norm": 0.5176190137863159,
|
| 146 |
+
"learning_rate": 0.00018125152111742946,
|
| 147 |
+
"loss": 1.5032540893554687,
|
| 148 |
+
"mean_token_accuracy": 0.6734136432409287,
|
| 149 |
+
"num_tokens": 878686.0,
|
| 150 |
+
"step": 700
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"entropy": 1.473973354101181,
|
| 154 |
+
"epoch": 0.7159904534606205,
|
| 155 |
+
"grad_norm": 0.5914217829704285,
|
| 156 |
+
"learning_rate": 0.00017814183240848634,
|
| 157 |
+
"loss": 1.4737196350097657,
|
| 158 |
+
"mean_token_accuracy": 0.6782503163814545,
|
| 159 |
+
"num_tokens": 940629.0,
|
| 160 |
+
"step": 750
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"entropy": 1.4514920926094055,
|
| 164 |
+
"epoch": 0.7637231503579952,
|
| 165 |
+
"grad_norm": 0.578711211681366,
|
| 166 |
+
"learning_rate": 0.00017482478969002484,
|
| 167 |
+
"loss": 1.4571778869628906,
|
| 168 |
+
"mean_token_accuracy": 0.6808390617370605,
|
| 169 |
+
"num_tokens": 1002810.0,
|
| 170 |
+
"step": 800
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"entropy": 1.445438961982727,
|
| 174 |
+
"epoch": 0.8114558472553699,
|
| 175 |
+
"grad_norm": 0.5754839181900024,
|
| 176 |
+
"learning_rate": 0.00017130919493259282,
|
| 177 |
+
"loss": 1.4394004821777344,
|
| 178 |
+
"mean_token_accuracy": 0.6844613349437714,
|
| 179 |
+
"num_tokens": 1067041.0,
|
| 180 |
+
"step": 850
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"entropy": 1.4248486053943634,
|
| 184 |
+
"epoch": 0.8591885441527446,
|
| 185 |
+
"grad_norm": 0.5281590819358826,
|
| 186 |
+
"learning_rate": 0.00016760437697640722,
|
| 187 |
+
"loss": 1.4258000183105468,
|
| 188 |
+
"mean_token_accuracy": 0.6896877753734588,
|
| 189 |
+
"num_tokens": 1130309.0,
|
| 190 |
+
"step": 900
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"entropy": 1.435852448940277,
|
| 194 |
+
"epoch": 0.9069212410501193,
|
| 195 |
+
"grad_norm": 0.5507786870002747,
|
| 196 |
+
"learning_rate": 0.00016372016677672037,
|
| 197 |
+
"loss": 1.4390003967285157,
|
| 198 |
+
"mean_token_accuracy": 0.6855950307846069,
|
| 199 |
+
"num_tokens": 1192924.0,
|
| 200 |
+
"step": 950
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"entropy": 1.402035859823227,
|
| 204 |
+
"epoch": 0.954653937947494,
|
| 205 |
+
"grad_norm": 0.49761536717414856,
|
| 206 |
+
"learning_rate": 0.00015966687131679463,
|
| 207 |
+
"loss": 1.3975450134277343,
|
| 208 |
+
"mean_token_accuracy": 0.6939341032505035,
|
| 209 |
+
"num_tokens": 1254418.0,
|
| 210 |
+
"step": 1000
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"epoch": 1.0,
|
| 214 |
+
"eval_entropy": 1.3806531386716026,
|
| 215 |
+
"eval_loss": 1.3620444536209106,
|
| 216 |
+
"eval_mean_token_accuracy": 0.6980640984176237,
|
| 217 |
+
"eval_num_tokens": 1314012.0,
|
| 218 |
+
"eval_runtime": 86.3192,
|
| 219 |
+
"eval_samples_per_second": 10.218,
|
| 220 |
+
"eval_steps_per_second": 10.218,
|
| 221 |
+
"step": 1048
|
| 222 |
+
}
|
| 223 |
+
],
|
| 224 |
+
"logging_steps": 50,
|
| 225 |
+
"max_steps": 3144,
|
| 226 |
+
"num_input_tokens_seen": 0,
|
| 227 |
+
"num_train_epochs": 3,
|
| 228 |
+
"save_steps": 500,
|
| 229 |
+
"stateful_callbacks": {
|
| 230 |
+
"TrainerControl": {
|
| 231 |
+
"args": {
|
| 232 |
+
"should_epoch_stop": false,
|
| 233 |
+
"should_evaluate": false,
|
| 234 |
+
"should_log": false,
|
| 235 |
+
"should_save": true,
|
| 236 |
+
"should_training_stop": false
|
| 237 |
+
},
|
| 238 |
+
"attributes": {}
|
| 239 |
+
}
|
| 240 |
+
},
|
| 241 |
+
"total_flos": 9.126155436883968e+16,
|
| 242 |
+
"train_batch_size": 8,
|
| 243 |
+
"trial_name": null,
|
| 244 |
+
"trial_params": null
|
| 245 |
+
}
|
checkpoint-1048/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a92f47f215f6192c33d2a857fefbabc108b7e532a835fab7fa19809483c7a6f
|
| 3 |
+
size 5304
|
checkpoint-2096/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
base_model: outputs/exp04_llama_full_lora/stage1
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:outputs/exp04_llama_full_lora/stage1
|
| 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.1
|
checkpoint-2096/adapter_config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "outputs/exp04_llama_full_lora/stage1",
|
| 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": 32,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 16,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"down_proj",
|
| 33 |
+
"up_proj",
|
| 34 |
+
"q_proj",
|
| 35 |
+
"gate_proj",
|
| 36 |
+
"o_proj",
|
| 37 |
+
"k_proj",
|
| 38 |
+
"v_proj"
|
| 39 |
+
],
|
| 40 |
+
"target_parameters": null,
|
| 41 |
+
"task_type": "CAUSAL_LM",
|
| 42 |
+
"trainable_token_indices": null,
|
| 43 |
+
"use_dora": false,
|
| 44 |
+
"use_qalora": false,
|
| 45 |
+
"use_rslora": false
|
| 46 |
+
}
|
checkpoint-2096/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:536953a0341226a27f17459aef42e1c3eaaa3a930173c278711b46f0af5b0a03
|
| 3 |
+
size 167832240
|
checkpoint-2096/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1eb9d8aefa88386225d99c5fcb081cb04ef093e229d4ce7ca38aa9499ff3fe1
|
| 3 |
+
size 86128920
|
checkpoint-2096/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1942ca16846370f11dc56d67000b0504ee5cc67f2daaaa4452c78e338e07012
|
| 3 |
+
size 14244
|
checkpoint-2096/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d83869a47d0c4867636b032d40d8ebcad0d5ea84bd9f07a838676db92dbffd0
|
| 3 |
+
size 1064
|
checkpoint-2096/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b
|
| 3 |
+
size 17209920
|
checkpoint-2096/tokenizer_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<|begin_of_text|>",
|
| 4 |
+
"clean_up_tokenization_spaces": true,
|
| 5 |
+
"eos_token": "<|end_of_text|>",
|
| 6 |
+
"is_local": true,
|
| 7 |
+
"model_input_names": [
|
| 8 |
+
"input_ids",
|
| 9 |
+
"attention_mask"
|
| 10 |
+
],
|
| 11 |
+
"model_max_length": 131072,
|
| 12 |
+
"pad_token": "<|end_of_text|>",
|
| 13 |
+
"tokenizer_class": "TokenizersBackend"
|
| 14 |
+
}
|
checkpoint-2096/trainer_state.json
ADDED
|
@@ -0,0 +1,466 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 2.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 2096,
|
| 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.9169489538669586,
|
| 14 |
+
"epoch": 0.0477326968973747,
|
| 15 |
+
"grad_norm": 0.4528772830963135,
|
| 16 |
+
"learning_rate": 0.00010315789473684211,
|
| 17 |
+
"loss": 2.1467950439453123,
|
| 18 |
+
"mean_token_accuracy": 0.5774942764639854,
|
| 19 |
+
"num_tokens": 62415.0,
|
| 20 |
+
"step": 50
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"entropy": 1.7696015048027038,
|
| 24 |
+
"epoch": 0.0954653937947494,
|
| 25 |
+
"grad_norm": 0.559516429901123,
|
| 26 |
+
"learning_rate": 0.00019999915067429384,
|
| 27 |
+
"loss": 1.7887376403808595,
|
| 28 |
+
"mean_token_accuracy": 0.6264250260591507,
|
| 29 |
+
"num_tokens": 126004.0,
|
| 30 |
+
"step": 100
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"entropy": 1.693043473958969,
|
| 34 |
+
"epoch": 0.1431980906921241,
|
| 35 |
+
"grad_norm": 0.5153214931488037,
|
| 36 |
+
"learning_rate": 0.0001998452500999697,
|
| 37 |
+
"loss": 1.7081011962890624,
|
| 38 |
+
"mean_token_accuracy": 0.6385690844058991,
|
| 39 |
+
"num_tokens": 188614.0,
|
| 40 |
+
"step": 150
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"entropy": 1.6898816537857055,
|
| 44 |
+
"epoch": 0.1909307875894988,
|
| 45 |
+
"grad_norm": 0.5599738955497742,
|
| 46 |
+
"learning_rate": 0.00019942640420376765,
|
| 47 |
+
"loss": 1.7022125244140625,
|
| 48 |
+
"mean_token_accuracy": 0.6406848466396332,
|
| 49 |
+
"num_tokens": 251062.0,
|
| 50 |
+
"step": 200
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"entropy": 1.6405246889591216,
|
| 54 |
+
"epoch": 0.2386634844868735,
|
| 55 |
+
"grad_norm": 0.49600595235824585,
|
| 56 |
+
"learning_rate": 0.00019874372441823629,
|
| 57 |
+
"loss": 1.6459197998046875,
|
| 58 |
+
"mean_token_accuracy": 0.6479257130622864,
|
| 59 |
+
"num_tokens": 313957.0,
|
| 60 |
+
"step": 250
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"entropy": 1.6324861299991609,
|
| 64 |
+
"epoch": 0.2863961813842482,
|
| 65 |
+
"grad_norm": 0.5211499333381653,
|
| 66 |
+
"learning_rate": 0.00019779902227487397,
|
| 67 |
+
"loss": 1.6452156066894532,
|
| 68 |
+
"mean_token_accuracy": 0.6487298482656478,
|
| 69 |
+
"num_tokens": 376779.0,
|
| 70 |
+
"step": 300
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"entropy": 1.5829804718494416,
|
| 74 |
+
"epoch": 0.3341288782816229,
|
| 75 |
+
"grad_norm": 0.5337353348731995,
|
| 76 |
+
"learning_rate": 0.00019659480459712202,
|
| 77 |
+
"loss": 1.5916696166992188,
|
| 78 |
+
"mean_token_accuracy": 0.657093957066536,
|
| 79 |
+
"num_tokens": 439472.0,
|
| 80 |
+
"step": 350
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"entropy": 1.5584524583816528,
|
| 84 |
+
"epoch": 0.3818615751789976,
|
| 85 |
+
"grad_norm": 0.5614678263664246,
|
| 86 |
+
"learning_rate": 0.00019513426684835924,
|
| 87 |
+
"loss": 1.5665699768066406,
|
| 88 |
+
"mean_token_accuracy": 0.6622982215881348,
|
| 89 |
+
"num_tokens": 501279.0,
|
| 90 |
+
"step": 400
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"entropy": 1.5577264988422395,
|
| 94 |
+
"epoch": 0.4295942720763723,
|
| 95 |
+
"grad_norm": 0.5509770512580872,
|
| 96 |
+
"learning_rate": 0.00019342128465254943,
|
| 97 |
+
"loss": 1.5625930786132813,
|
| 98 |
+
"mean_token_accuracy": 0.6628634428977966,
|
| 99 |
+
"num_tokens": 564442.0,
|
| 100 |
+
"step": 450
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"entropy": 1.5444469928741456,
|
| 104 |
+
"epoch": 0.477326968973747,
|
| 105 |
+
"grad_norm": 0.5766333937644958,
|
| 106 |
+
"learning_rate": 0.00019146040351004223,
|
| 107 |
+
"loss": 1.5518899536132813,
|
| 108 |
+
"mean_token_accuracy": 0.6658952581882477,
|
| 109 |
+
"num_tokens": 627102.0,
|
| 110 |
+
"step": 500
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"entropy": 1.5157422959804534,
|
| 114 |
+
"epoch": 0.5250596658711217,
|
| 115 |
+
"grad_norm": 0.5064456462860107,
|
| 116 |
+
"learning_rate": 0.00018925682673581707,
|
| 117 |
+
"loss": 1.517430877685547,
|
| 118 |
+
"mean_token_accuracy": 0.6710657715797425,
|
| 119 |
+
"num_tokens": 689421.0,
|
| 120 |
+
"step": 550
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"entropy": 1.5208299958705902,
|
| 124 |
+
"epoch": 0.5727923627684964,
|
| 125 |
+
"grad_norm": 0.5480907559394836,
|
| 126 |
+
"learning_rate": 0.0001868164016521766,
|
| 127 |
+
"loss": 1.5297586059570312,
|
| 128 |
+
"mean_token_accuracy": 0.6690839475393295,
|
| 129 |
+
"num_tokens": 752388.0,
|
| 130 |
+
"step": 600
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"entropy": 1.4881639647483826,
|
| 134 |
+
"epoch": 0.6205250596658711,
|
| 135 |
+
"grad_norm": 0.5211111307144165,
|
| 136 |
+
"learning_rate": 0.0001841456040725287,
|
| 137 |
+
"loss": 1.4932846069335937,
|
| 138 |
+
"mean_token_accuracy": 0.6743283599615097,
|
| 139 |
+
"num_tokens": 815803.0,
|
| 140 |
+
"step": 650
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"entropy": 1.4972898173332214,
|
| 144 |
+
"epoch": 0.6682577565632458,
|
| 145 |
+
"grad_norm": 0.5176190137863159,
|
| 146 |
+
"learning_rate": 0.00018125152111742946,
|
| 147 |
+
"loss": 1.5032540893554687,
|
| 148 |
+
"mean_token_accuracy": 0.6734136432409287,
|
| 149 |
+
"num_tokens": 878686.0,
|
| 150 |
+
"step": 700
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"entropy": 1.473973354101181,
|
| 154 |
+
"epoch": 0.7159904534606205,
|
| 155 |
+
"grad_norm": 0.5914217829704285,
|
| 156 |
+
"learning_rate": 0.00017814183240848634,
|
| 157 |
+
"loss": 1.4737196350097657,
|
| 158 |
+
"mean_token_accuracy": 0.6782503163814545,
|
| 159 |
+
"num_tokens": 940629.0,
|
| 160 |
+
"step": 750
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"entropy": 1.4514920926094055,
|
| 164 |
+
"epoch": 0.7637231503579952,
|
| 165 |
+
"grad_norm": 0.578711211681366,
|
| 166 |
+
"learning_rate": 0.00017482478969002484,
|
| 167 |
+
"loss": 1.4571778869628906,
|
| 168 |
+
"mean_token_accuracy": 0.6808390617370605,
|
| 169 |
+
"num_tokens": 1002810.0,
|
| 170 |
+
"step": 800
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"entropy": 1.445438961982727,
|
| 174 |
+
"epoch": 0.8114558472553699,
|
| 175 |
+
"grad_norm": 0.5754839181900024,
|
| 176 |
+
"learning_rate": 0.00017130919493259282,
|
| 177 |
+
"loss": 1.4394004821777344,
|
| 178 |
+
"mean_token_accuracy": 0.6844613349437714,
|
| 179 |
+
"num_tokens": 1067041.0,
|
| 180 |
+
"step": 850
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"entropy": 1.4248486053943634,
|
| 184 |
+
"epoch": 0.8591885441527446,
|
| 185 |
+
"grad_norm": 0.5281590819358826,
|
| 186 |
+
"learning_rate": 0.00016760437697640722,
|
| 187 |
+
"loss": 1.4258000183105468,
|
| 188 |
+
"mean_token_accuracy": 0.6896877753734588,
|
| 189 |
+
"num_tokens": 1130309.0,
|
| 190 |
+
"step": 900
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"entropy": 1.435852448940277,
|
| 194 |
+
"epoch": 0.9069212410501193,
|
| 195 |
+
"grad_norm": 0.5507786870002747,
|
| 196 |
+
"learning_rate": 0.00016372016677672037,
|
| 197 |
+
"loss": 1.4390003967285157,
|
| 198 |
+
"mean_token_accuracy": 0.6855950307846069,
|
| 199 |
+
"num_tokens": 1192924.0,
|
| 200 |
+
"step": 950
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"entropy": 1.402035859823227,
|
| 204 |
+
"epoch": 0.954653937947494,
|
| 205 |
+
"grad_norm": 0.49761536717414856,
|
| 206 |
+
"learning_rate": 0.00015966687131679463,
|
| 207 |
+
"loss": 1.3975450134277343,
|
| 208 |
+
"mean_token_accuracy": 0.6939341032505035,
|
| 209 |
+
"num_tokens": 1254418.0,
|
| 210 |
+
"step": 1000
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"epoch": 1.0,
|
| 214 |
+
"eval_entropy": 1.3806531386716026,
|
| 215 |
+
"eval_loss": 1.3620444536209106,
|
| 216 |
+
"eval_mean_token_accuracy": 0.6980640984176237,
|
| 217 |
+
"eval_num_tokens": 1314012.0,
|
| 218 |
+
"eval_runtime": 86.3192,
|
| 219 |
+
"eval_samples_per_second": 10.218,
|
| 220 |
+
"eval_steps_per_second": 10.218,
|
| 221 |
+
"step": 1048
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"entropy": 1.3871761247365162,
|
| 225 |
+
"epoch": 1.001909307875895,
|
| 226 |
+
"grad_norm": 0.5140528082847595,
|
| 227 |
+
"learning_rate": 0.0001554552462577077,
|
| 228 |
+
"loss": 1.3846685791015625,
|
| 229 |
+
"mean_token_accuracy": 0.6949169792310156,
|
| 230 |
+
"num_tokens": 1316679.0,
|
| 231 |
+
"step": 1050
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"entropy": 1.1777105987071992,
|
| 235 |
+
"epoch": 1.0496420047732697,
|
| 236 |
+
"grad_norm": 0.5981715321540833,
|
| 237 |
+
"learning_rate": 0.0001510964673975651,
|
| 238 |
+
"loss": 1.1399847412109374,
|
| 239 |
+
"mean_token_accuracy": 0.737745595574379,
|
| 240 |
+
"num_tokens": 1379361.0,
|
| 241 |
+
"step": 1100
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"entropy": 1.1736225724220275,
|
| 245 |
+
"epoch": 1.0973747016706443,
|
| 246 |
+
"grad_norm": 0.6831048727035522,
|
| 247 |
+
"learning_rate": 0.00014660210101585368,
|
| 248 |
+
"loss": 1.1506944274902344,
|
| 249 |
+
"mean_token_accuracy": 0.7348957419395447,
|
| 250 |
+
"num_tokens": 1442332.0,
|
| 251 |
+
"step": 1150
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"entropy": 1.1798189544677735,
|
| 255 |
+
"epoch": 1.1451073985680191,
|
| 256 |
+
"grad_norm": 0.5928924083709717,
|
| 257 |
+
"learning_rate": 0.00014198407318162976,
|
| 258 |
+
"loss": 1.1495547485351563,
|
| 259 |
+
"mean_token_accuracy": 0.736353549361229,
|
| 260 |
+
"num_tokens": 1506048.0,
|
| 261 |
+
"step": 1200
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"entropy": 1.1766791635751723,
|
| 265 |
+
"epoch": 1.1928400954653937,
|
| 266 |
+
"grad_norm": 0.6532445549964905,
|
| 267 |
+
"learning_rate": 0.00013725463810698417,
|
| 268 |
+
"loss": 1.1499956512451173,
|
| 269 |
+
"mean_token_accuracy": 0.7360061597824097,
|
| 270 |
+
"num_tokens": 1569529.0,
|
| 271 |
+
"step": 1250
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"entropy": 1.1588226580619811,
|
| 275 |
+
"epoch": 1.2405727923627685,
|
| 276 |
+
"grad_norm": 0.6756422519683838,
|
| 277 |
+
"learning_rate": 0.0001324263456297599,
|
| 278 |
+
"loss": 1.1256829833984374,
|
| 279 |
+
"mean_token_accuracy": 0.741998724937439,
|
| 280 |
+
"num_tokens": 1632744.0,
|
| 281 |
+
"step": 1300
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"entropy": 1.1586075723171234,
|
| 285 |
+
"epoch": 1.2883054892601433,
|
| 286 |
+
"grad_norm": 0.6124622225761414,
|
| 287 |
+
"learning_rate": 0.00012751200791180962,
|
| 288 |
+
"loss": 1.134525604248047,
|
| 289 |
+
"mean_token_accuracy": 0.740217564702034,
|
| 290 |
+
"num_tokens": 1695454.0,
|
| 291 |
+
"step": 1350
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"entropy": 1.1286164861917496,
|
| 295 |
+
"epoch": 1.336038186157518,
|
| 296 |
+
"grad_norm": 0.6842568516731262,
|
| 297 |
+
"learning_rate": 0.00012252466544116048,
|
| 298 |
+
"loss": 1.1040880584716797,
|
| 299 |
+
"mean_token_accuracy": 0.7439208465814591,
|
| 300 |
+
"num_tokens": 1759868.0,
|
| 301 |
+
"step": 1400
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"entropy": 1.1323925870656968,
|
| 305 |
+
"epoch": 1.3837708830548925,
|
| 306 |
+
"grad_norm": 0.7253908514976501,
|
| 307 |
+
"learning_rate": 0.00011747755242830202,
|
| 308 |
+
"loss": 1.1016536712646485,
|
| 309 |
+
"mean_token_accuracy": 0.7450394695997238,
|
| 310 |
+
"num_tokens": 1820879.0,
|
| 311 |
+
"step": 1450
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"entropy": 1.121083972454071,
|
| 315 |
+
"epoch": 1.4315035799522673,
|
| 316 |
+
"grad_norm": 0.5749630928039551,
|
| 317 |
+
"learning_rate": 0.00011238406168841982,
|
| 318 |
+
"loss": 1.1001790618896485,
|
| 319 |
+
"mean_token_accuracy": 0.7459173601865768,
|
| 320 |
+
"num_tokens": 1883307.0,
|
| 321 |
+
"step": 1500
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"entropy": 1.122628794312477,
|
| 325 |
+
"epoch": 1.479236276849642,
|
| 326 |
+
"grad_norm": 0.6206186413764954,
|
| 327 |
+
"learning_rate": 0.00010725770910276218,
|
| 328 |
+
"loss": 1.0909404754638672,
|
| 329 |
+
"mean_token_accuracy": 0.7463360679149628,
|
| 330 |
+
"num_tokens": 1946095.0,
|
| 331 |
+
"step": 1550
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"entropy": 1.1350409585237502,
|
| 335 |
+
"epoch": 1.5269689737470167,
|
| 336 |
+
"grad_norm": 0.662372887134552,
|
| 337 |
+
"learning_rate": 0.00010211209775344377,
|
| 338 |
+
"loss": 1.1051890563964843,
|
| 339 |
+
"mean_token_accuracy": 0.747498095035553,
|
| 340 |
+
"num_tokens": 2009039.0,
|
| 341 |
+
"step": 1600
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"entropy": 1.1150280052423478,
|
| 345 |
+
"epoch": 1.5747016706443913,
|
| 346 |
+
"grad_norm": 0.6651705503463745,
|
| 347 |
+
"learning_rate": 9.696088182685638e-05,
|
| 348 |
+
"loss": 1.09230224609375,
|
| 349 |
+
"mean_token_accuracy": 0.7472188991308212,
|
| 350 |
+
"num_tokens": 2070866.0,
|
| 351 |
+
"step": 1650
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"entropy": 1.0846411114931107,
|
| 355 |
+
"epoch": 1.622434367541766,
|
| 356 |
+
"grad_norm": 0.7228969931602478,
|
| 357 |
+
"learning_rate": 9.181773038147168e-05,
|
| 358 |
+
"loss": 1.0646434020996094,
|
| 359 |
+
"mean_token_accuracy": 0.756052638888359,
|
| 360 |
+
"num_tokens": 2133531.0,
|
| 361 |
+
"step": 1700
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"entropy": 1.1237550568580628,
|
| 365 |
+
"epoch": 1.6701670644391409,
|
| 366 |
+
"grad_norm": 0.6554394364356995,
|
| 367 |
+
"learning_rate": 8.66962910761798e-05,
|
| 368 |
+
"loss": 1.0866881561279298,
|
| 369 |
+
"mean_token_accuracy": 0.7495866256952286,
|
| 370 |
+
"num_tokens": 2196212.0,
|
| 371 |
+
"step": 1750
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"entropy": 1.0998593443632125,
|
| 375 |
+
"epoch": 1.7178997613365157,
|
| 376 |
+
"grad_norm": 0.6516928672790527,
|
| 377 |
+
"learning_rate": 8.16101539554131e-05,
|
| 378 |
+
"loss": 1.072577590942383,
|
| 379 |
+
"mean_token_accuracy": 0.7526345264911651,
|
| 380 |
+
"num_tokens": 2259117.0,
|
| 381 |
+
"step": 1800
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"entropy": 1.1008843111991882,
|
| 385 |
+
"epoch": 1.7656324582338903,
|
| 386 |
+
"grad_norm": 0.7132663726806641,
|
| 387 |
+
"learning_rate": 7.65728153871533e-05,
|
| 388 |
+
"loss": 1.0717825317382812,
|
| 389 |
+
"mean_token_accuracy": 0.7529473024606704,
|
| 390 |
+
"num_tokens": 2320595.0,
|
| 391 |
+
"step": 1850
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"entropy": 1.091220656633377,
|
| 395 |
+
"epoch": 1.8133651551312648,
|
| 396 |
+
"grad_norm": 0.6660885810852051,
|
| 397 |
+
"learning_rate": 7.159764224951468e-05,
|
| 398 |
+
"loss": 1.060431900024414,
|
| 399 |
+
"mean_token_accuracy": 0.7562662494182587,
|
| 400 |
+
"num_tokens": 2384167.0,
|
| 401 |
+
"step": 1900
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"entropy": 1.1030601847171784,
|
| 405 |
+
"epoch": 1.8610978520286396,
|
| 406 |
+
"grad_norm": 0.6854376196861267,
|
| 407 |
+
"learning_rate": 6.669783646093635e-05,
|
| 408 |
+
"loss": 1.0840390014648438,
|
| 409 |
+
"mean_token_accuracy": 0.7516759240627289,
|
| 410 |
+
"num_tokens": 2444983.0,
|
| 411 |
+
"step": 1950
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"entropy": 1.0597282403707504,
|
| 415 |
+
"epoch": 1.9088305489260144,
|
| 416 |
+
"grad_norm": 0.6586617231369019,
|
| 417 |
+
"learning_rate": 6.188639994810476e-05,
|
| 418 |
+
"loss": 1.0197964477539063,
|
| 419 |
+
"mean_token_accuracy": 0.7626945042610168,
|
| 420 |
+
"num_tokens": 2508413.0,
|
| 421 |
+
"step": 2000
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"entropy": 1.0780229181051255,
|
| 425 |
+
"epoch": 1.956563245823389,
|
| 426 |
+
"grad_norm": 0.6627408862113953,
|
| 427 |
+
"learning_rate": 5.7176100144566437e-05,
|
| 428 |
+
"loss": 1.053470458984375,
|
| 429 |
+
"mean_token_accuracy": 0.7603739106655121,
|
| 430 |
+
"num_tokens": 2570521.0,
|
| 431 |
+
"step": 2050
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"epoch": 2.0,
|
| 435 |
+
"eval_entropy": 1.1270634393606866,
|
| 436 |
+
"eval_loss": 1.2241966724395752,
|
| 437 |
+
"eval_mean_token_accuracy": 0.7277251901337349,
|
| 438 |
+
"eval_num_tokens": 2628024.0,
|
| 439 |
+
"eval_runtime": 86.3772,
|
| 440 |
+
"eval_samples_per_second": 10.211,
|
| 441 |
+
"eval_steps_per_second": 10.211,
|
| 442 |
+
"step": 2096
|
| 443 |
+
}
|
| 444 |
+
],
|
| 445 |
+
"logging_steps": 50,
|
| 446 |
+
"max_steps": 3144,
|
| 447 |
+
"num_input_tokens_seen": 0,
|
| 448 |
+
"num_train_epochs": 3,
|
| 449 |
+
"save_steps": 500,
|
| 450 |
+
"stateful_callbacks": {
|
| 451 |
+
"TrainerControl": {
|
| 452 |
+
"args": {
|
| 453 |
+
"should_epoch_stop": false,
|
| 454 |
+
"should_evaluate": false,
|
| 455 |
+
"should_log": false,
|
| 456 |
+
"should_save": true,
|
| 457 |
+
"should_training_stop": false
|
| 458 |
+
},
|
| 459 |
+
"attributes": {}
|
| 460 |
+
}
|
| 461 |
+
},
|
| 462 |
+
"total_flos": 1.822900010877911e+17,
|
| 463 |
+
"train_batch_size": 8,
|
| 464 |
+
"trial_name": null,
|
| 465 |
+
"trial_params": null
|
| 466 |
+
}
|
checkpoint-2096/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a92f47f215f6192c33d2a857fefbabc108b7e532a835fab7fa19809483c7a6f
|
| 3 |
+
size 5304
|
checkpoint-3144/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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ipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:outputs/exp04_llama_full_lora/stage1
|
| 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.1
|
checkpoint-3144/adapter_config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "outputs/exp04_llama_full_lora/stage1",
|
| 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": 32,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 16,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"down_proj",
|
| 33 |
+
"up_proj",
|
| 34 |
+
"q_proj",
|
| 35 |
+
"gate_proj",
|
| 36 |
+
"o_proj",
|
| 37 |
+
"k_proj",
|
| 38 |
+
"v_proj"
|
| 39 |
+
],
|
| 40 |
+
"target_parameters": null,
|
| 41 |
+
"task_type": "CAUSAL_LM",
|
| 42 |
+
"trainable_token_indices": null,
|
| 43 |
+
"use_dora": false,
|
| 44 |
+
"use_qalora": false,
|
| 45 |
+
"use_rslora": false
|
| 46 |
+
}
|
checkpoint-3144/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9312cbde2c4c3a9b7a3abc1b21eb38e782845a9779a795b248b7caf694a3f89e
|
| 3 |
+
size 167832240
|
checkpoint-3144/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:972510432a74d3667edb77dd99105a688ef7658f3f9256d463c10bcd925dd5f7
|
| 3 |
+
size 86128920
|
checkpoint-3144/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5bd367049ed0fd697ff3d2e9a8f5c7c6d3895ba42c7508317ce576578c750ea
|
| 3 |
+
size 14244
|
checkpoint-3144/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:347fa92e207018e9a9f46566ad6c280b801685fc904993687f51943ee8f2a3f2
|
| 3 |
+
size 1064
|
checkpoint-3144/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b
|
| 3 |
+
size 17209920
|
checkpoint-3144/tokenizer_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<|begin_of_text|>",
|
| 4 |
+
"clean_up_tokenization_spaces": true,
|
| 5 |
+
"eos_token": "<|end_of_text|>",
|
| 6 |
+
"is_local": true,
|
| 7 |
+
"model_input_names": [
|
| 8 |
+
"input_ids",
|
| 9 |
+
"attention_mask"
|
| 10 |
+
],
|
| 11 |
+
"model_max_length": 131072,
|
| 12 |
+
"pad_token": "<|end_of_text|>",
|
| 13 |
+
"tokenizer_class": "TokenizersBackend"
|
| 14 |
+
}
|
checkpoint-3144/trainer_state.json
ADDED
|
@@ -0,0 +1,687 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 3.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 3144,
|
| 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.9169489538669586,
|
| 14 |
+
"epoch": 0.0477326968973747,
|
| 15 |
+
"grad_norm": 0.4528772830963135,
|
| 16 |
+
"learning_rate": 0.00010315789473684211,
|
| 17 |
+
"loss": 2.1467950439453123,
|
| 18 |
+
"mean_token_accuracy": 0.5774942764639854,
|
| 19 |
+
"num_tokens": 62415.0,
|
| 20 |
+
"step": 50
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"entropy": 1.7696015048027038,
|
| 24 |
+
"epoch": 0.0954653937947494,
|
| 25 |
+
"grad_norm": 0.559516429901123,
|
| 26 |
+
"learning_rate": 0.00019999915067429384,
|
| 27 |
+
"loss": 1.7887376403808595,
|
| 28 |
+
"mean_token_accuracy": 0.6264250260591507,
|
| 29 |
+
"num_tokens": 126004.0,
|
| 30 |
+
"step": 100
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"entropy": 1.693043473958969,
|
| 34 |
+
"epoch": 0.1431980906921241,
|
| 35 |
+
"grad_norm": 0.5153214931488037,
|
| 36 |
+
"learning_rate": 0.0001998452500999697,
|
| 37 |
+
"loss": 1.7081011962890624,
|
| 38 |
+
"mean_token_accuracy": 0.6385690844058991,
|
| 39 |
+
"num_tokens": 188614.0,
|
| 40 |
+
"step": 150
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"entropy": 1.6898816537857055,
|
| 44 |
+
"epoch": 0.1909307875894988,
|
| 45 |
+
"grad_norm": 0.5599738955497742,
|
| 46 |
+
"learning_rate": 0.00019942640420376765,
|
| 47 |
+
"loss": 1.7022125244140625,
|
| 48 |
+
"mean_token_accuracy": 0.6406848466396332,
|
| 49 |
+
"num_tokens": 251062.0,
|
| 50 |
+
"step": 200
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"entropy": 1.6405246889591216,
|
| 54 |
+
"epoch": 0.2386634844868735,
|
| 55 |
+
"grad_norm": 0.49600595235824585,
|
| 56 |
+
"learning_rate": 0.00019874372441823629,
|
| 57 |
+
"loss": 1.6459197998046875,
|
| 58 |
+
"mean_token_accuracy": 0.6479257130622864,
|
| 59 |
+
"num_tokens": 313957.0,
|
| 60 |
+
"step": 250
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"entropy": 1.6324861299991609,
|
| 64 |
+
"epoch": 0.2863961813842482,
|
| 65 |
+
"grad_norm": 0.5211499333381653,
|
| 66 |
+
"learning_rate": 0.00019779902227487397,
|
| 67 |
+
"loss": 1.6452156066894532,
|
| 68 |
+
"mean_token_accuracy": 0.6487298482656478,
|
| 69 |
+
"num_tokens": 376779.0,
|
| 70 |
+
"step": 300
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"entropy": 1.5829804718494416,
|
| 74 |
+
"epoch": 0.3341288782816229,
|
| 75 |
+
"grad_norm": 0.5337353348731995,
|
| 76 |
+
"learning_rate": 0.00019659480459712202,
|
| 77 |
+
"loss": 1.5916696166992188,
|
| 78 |
+
"mean_token_accuracy": 0.657093957066536,
|
| 79 |
+
"num_tokens": 439472.0,
|
| 80 |
+
"step": 350
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"entropy": 1.5584524583816528,
|
| 84 |
+
"epoch": 0.3818615751789976,
|
| 85 |
+
"grad_norm": 0.5614678263664246,
|
| 86 |
+
"learning_rate": 0.00019513426684835924,
|
| 87 |
+
"loss": 1.5665699768066406,
|
| 88 |
+
"mean_token_accuracy": 0.6622982215881348,
|
| 89 |
+
"num_tokens": 501279.0,
|
| 90 |
+
"step": 400
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"entropy": 1.5577264988422395,
|
| 94 |
+
"epoch": 0.4295942720763723,
|
| 95 |
+
"grad_norm": 0.5509770512580872,
|
| 96 |
+
"learning_rate": 0.00019342128465254943,
|
| 97 |
+
"loss": 1.5625930786132813,
|
| 98 |
+
"mean_token_accuracy": 0.6628634428977966,
|
| 99 |
+
"num_tokens": 564442.0,
|
| 100 |
+
"step": 450
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"entropy": 1.5444469928741456,
|
| 104 |
+
"epoch": 0.477326968973747,
|
| 105 |
+
"grad_norm": 0.5766333937644958,
|
| 106 |
+
"learning_rate": 0.00019146040351004223,
|
| 107 |
+
"loss": 1.5518899536132813,
|
| 108 |
+
"mean_token_accuracy": 0.6658952581882477,
|
| 109 |
+
"num_tokens": 627102.0,
|
| 110 |
+
"step": 500
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"entropy": 1.5157422959804534,
|
| 114 |
+
"epoch": 0.5250596658711217,
|
| 115 |
+
"grad_norm": 0.5064456462860107,
|
| 116 |
+
"learning_rate": 0.00018925682673581707,
|
| 117 |
+
"loss": 1.517430877685547,
|
| 118 |
+
"mean_token_accuracy": 0.6710657715797425,
|
| 119 |
+
"num_tokens": 689421.0,
|
| 120 |
+
"step": 550
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"entropy": 1.5208299958705902,
|
| 124 |
+
"epoch": 0.5727923627684964,
|
| 125 |
+
"grad_norm": 0.5480907559394836,
|
| 126 |
+
"learning_rate": 0.0001868164016521766,
|
| 127 |
+
"loss": 1.5297586059570312,
|
| 128 |
+
"mean_token_accuracy": 0.6690839475393295,
|
| 129 |
+
"num_tokens": 752388.0,
|
| 130 |
+
"step": 600
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"entropy": 1.4881639647483826,
|
| 134 |
+
"epoch": 0.6205250596658711,
|
| 135 |
+
"grad_norm": 0.5211111307144165,
|
| 136 |
+
"learning_rate": 0.0001841456040725287,
|
| 137 |
+
"loss": 1.4932846069335937,
|
| 138 |
+
"mean_token_accuracy": 0.6743283599615097,
|
| 139 |
+
"num_tokens": 815803.0,
|
| 140 |
+
"step": 650
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"entropy": 1.4972898173332214,
|
| 144 |
+
"epoch": 0.6682577565632458,
|
| 145 |
+
"grad_norm": 0.5176190137863159,
|
| 146 |
+
"learning_rate": 0.00018125152111742946,
|
| 147 |
+
"loss": 1.5032540893554687,
|
| 148 |
+
"mean_token_accuracy": 0.6734136432409287,
|
| 149 |
+
"num_tokens": 878686.0,
|
| 150 |
+
"step": 700
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"entropy": 1.473973354101181,
|
| 154 |
+
"epoch": 0.7159904534606205,
|
| 155 |
+
"grad_norm": 0.5914217829704285,
|
| 156 |
+
"learning_rate": 0.00017814183240848634,
|
| 157 |
+
"loss": 1.4737196350097657,
|
| 158 |
+
"mean_token_accuracy": 0.6782503163814545,
|
| 159 |
+
"num_tokens": 940629.0,
|
| 160 |
+
"step": 750
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"entropy": 1.4514920926094055,
|
| 164 |
+
"epoch": 0.7637231503579952,
|
| 165 |
+
"grad_norm": 0.578711211681366,
|
| 166 |
+
"learning_rate": 0.00017482478969002484,
|
| 167 |
+
"loss": 1.4571778869628906,
|
| 168 |
+
"mean_token_accuracy": 0.6808390617370605,
|
| 169 |
+
"num_tokens": 1002810.0,
|
| 170 |
+
"step": 800
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"entropy": 1.445438961982727,
|
| 174 |
+
"epoch": 0.8114558472553699,
|
| 175 |
+
"grad_norm": 0.5754839181900024,
|
| 176 |
+
"learning_rate": 0.00017130919493259282,
|
| 177 |
+
"loss": 1.4394004821777344,
|
| 178 |
+
"mean_token_accuracy": 0.6844613349437714,
|
| 179 |
+
"num_tokens": 1067041.0,
|
| 180 |
+
"step": 850
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"entropy": 1.4248486053943634,
|
| 184 |
+
"epoch": 0.8591885441527446,
|
| 185 |
+
"grad_norm": 0.5281590819358826,
|
| 186 |
+
"learning_rate": 0.00016760437697640722,
|
| 187 |
+
"loss": 1.4258000183105468,
|
| 188 |
+
"mean_token_accuracy": 0.6896877753734588,
|
| 189 |
+
"num_tokens": 1130309.0,
|
| 190 |
+
"step": 900
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"entropy": 1.435852448940277,
|
| 194 |
+
"epoch": 0.9069212410501193,
|
| 195 |
+
"grad_norm": 0.5507786870002747,
|
| 196 |
+
"learning_rate": 0.00016372016677672037,
|
| 197 |
+
"loss": 1.4390003967285157,
|
| 198 |
+
"mean_token_accuracy": 0.6855950307846069,
|
| 199 |
+
"num_tokens": 1192924.0,
|
| 200 |
+
"step": 950
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"entropy": 1.402035859823227,
|
| 204 |
+
"epoch": 0.954653937947494,
|
| 205 |
+
"grad_norm": 0.49761536717414856,
|
| 206 |
+
"learning_rate": 0.00015966687131679463,
|
| 207 |
+
"loss": 1.3975450134277343,
|
| 208 |
+
"mean_token_accuracy": 0.6939341032505035,
|
| 209 |
+
"num_tokens": 1254418.0,
|
| 210 |
+
"step": 1000
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"epoch": 1.0,
|
| 214 |
+
"eval_entropy": 1.3806531386716026,
|
| 215 |
+
"eval_loss": 1.3620444536209106,
|
| 216 |
+
"eval_mean_token_accuracy": 0.6980640984176237,
|
| 217 |
+
"eval_num_tokens": 1314012.0,
|
| 218 |
+
"eval_runtime": 86.3192,
|
| 219 |
+
"eval_samples_per_second": 10.218,
|
| 220 |
+
"eval_steps_per_second": 10.218,
|
| 221 |
+
"step": 1048
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"entropy": 1.3871761247365162,
|
| 225 |
+
"epoch": 1.001909307875895,
|
| 226 |
+
"grad_norm": 0.5140528082847595,
|
| 227 |
+
"learning_rate": 0.0001554552462577077,
|
| 228 |
+
"loss": 1.3846685791015625,
|
| 229 |
+
"mean_token_accuracy": 0.6949169792310156,
|
| 230 |
+
"num_tokens": 1316679.0,
|
| 231 |
+
"step": 1050
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"entropy": 1.1777105987071992,
|
| 235 |
+
"epoch": 1.0496420047732697,
|
| 236 |
+
"grad_norm": 0.5981715321540833,
|
| 237 |
+
"learning_rate": 0.0001510964673975651,
|
| 238 |
+
"loss": 1.1399847412109374,
|
| 239 |
+
"mean_token_accuracy": 0.737745595574379,
|
| 240 |
+
"num_tokens": 1379361.0,
|
| 241 |
+
"step": 1100
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"entropy": 1.1736225724220275,
|
| 245 |
+
"epoch": 1.0973747016706443,
|
| 246 |
+
"grad_norm": 0.6831048727035522,
|
| 247 |
+
"learning_rate": 0.00014660210101585368,
|
| 248 |
+
"loss": 1.1506944274902344,
|
| 249 |
+
"mean_token_accuracy": 0.7348957419395447,
|
| 250 |
+
"num_tokens": 1442332.0,
|
| 251 |
+
"step": 1150
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"entropy": 1.1798189544677735,
|
| 255 |
+
"epoch": 1.1451073985680191,
|
| 256 |
+
"grad_norm": 0.5928924083709717,
|
| 257 |
+
"learning_rate": 0.00014198407318162976,
|
| 258 |
+
"loss": 1.1495547485351563,
|
| 259 |
+
"mean_token_accuracy": 0.736353549361229,
|
| 260 |
+
"num_tokens": 1506048.0,
|
| 261 |
+
"step": 1200
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"entropy": 1.1766791635751723,
|
| 265 |
+
"epoch": 1.1928400954653937,
|
| 266 |
+
"grad_norm": 0.6532445549964905,
|
| 267 |
+
"learning_rate": 0.00013725463810698417,
|
| 268 |
+
"loss": 1.1499956512451173,
|
| 269 |
+
"mean_token_accuracy": 0.7360061597824097,
|
| 270 |
+
"num_tokens": 1569529.0,
|
| 271 |
+
"step": 1250
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"entropy": 1.1588226580619811,
|
| 275 |
+
"epoch": 1.2405727923627685,
|
| 276 |
+
"grad_norm": 0.6756422519683838,
|
| 277 |
+
"learning_rate": 0.0001324263456297599,
|
| 278 |
+
"loss": 1.1256829833984374,
|
| 279 |
+
"mean_token_accuracy": 0.741998724937439,
|
| 280 |
+
"num_tokens": 1632744.0,
|
| 281 |
+
"step": 1300
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"entropy": 1.1586075723171234,
|
| 285 |
+
"epoch": 1.2883054892601433,
|
| 286 |
+
"grad_norm": 0.6124622225761414,
|
| 287 |
+
"learning_rate": 0.00012751200791180962,
|
| 288 |
+
"loss": 1.134525604248047,
|
| 289 |
+
"mean_token_accuracy": 0.740217564702034,
|
| 290 |
+
"num_tokens": 1695454.0,
|
| 291 |
+
"step": 1350
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"entropy": 1.1286164861917496,
|
| 295 |
+
"epoch": 1.336038186157518,
|
| 296 |
+
"grad_norm": 0.6842568516731262,
|
| 297 |
+
"learning_rate": 0.00012252466544116048,
|
| 298 |
+
"loss": 1.1040880584716797,
|
| 299 |
+
"mean_token_accuracy": 0.7439208465814591,
|
| 300 |
+
"num_tokens": 1759868.0,
|
| 301 |
+
"step": 1400
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"entropy": 1.1323925870656968,
|
| 305 |
+
"epoch": 1.3837708830548925,
|
| 306 |
+
"grad_norm": 0.7253908514976501,
|
| 307 |
+
"learning_rate": 0.00011747755242830202,
|
| 308 |
+
"loss": 1.1016536712646485,
|
| 309 |
+
"mean_token_accuracy": 0.7450394695997238,
|
| 310 |
+
"num_tokens": 1820879.0,
|
| 311 |
+
"step": 1450
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"entropy": 1.121083972454071,
|
| 315 |
+
"epoch": 1.4315035799522673,
|
| 316 |
+
"grad_norm": 0.5749630928039551,
|
| 317 |
+
"learning_rate": 0.00011238406168841982,
|
| 318 |
+
"loss": 1.1001790618896485,
|
| 319 |
+
"mean_token_accuracy": 0.7459173601865768,
|
| 320 |
+
"num_tokens": 1883307.0,
|
| 321 |
+
"step": 1500
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"entropy": 1.122628794312477,
|
| 325 |
+
"epoch": 1.479236276849642,
|
| 326 |
+
"grad_norm": 0.6206186413764954,
|
| 327 |
+
"learning_rate": 0.00010725770910276218,
|
| 328 |
+
"loss": 1.0909404754638672,
|
| 329 |
+
"mean_token_accuracy": 0.7463360679149628,
|
| 330 |
+
"num_tokens": 1946095.0,
|
| 331 |
+
"step": 1550
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"entropy": 1.1350409585237502,
|
| 335 |
+
"epoch": 1.5269689737470167,
|
| 336 |
+
"grad_norm": 0.662372887134552,
|
| 337 |
+
"learning_rate": 0.00010211209775344377,
|
| 338 |
+
"loss": 1.1051890563964843,
|
| 339 |
+
"mean_token_accuracy": 0.747498095035553,
|
| 340 |
+
"num_tokens": 2009039.0,
|
| 341 |
+
"step": 1600
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"entropy": 1.1150280052423478,
|
| 345 |
+
"epoch": 1.5747016706443913,
|
| 346 |
+
"grad_norm": 0.6651705503463745,
|
| 347 |
+
"learning_rate": 9.696088182685638e-05,
|
| 348 |
+
"loss": 1.09230224609375,
|
| 349 |
+
"mean_token_accuracy": 0.7472188991308212,
|
| 350 |
+
"num_tokens": 2070866.0,
|
| 351 |
+
"step": 1650
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"entropy": 1.0846411114931107,
|
| 355 |
+
"epoch": 1.622434367541766,
|
| 356 |
+
"grad_norm": 0.7228969931602478,
|
| 357 |
+
"learning_rate": 9.181773038147168e-05,
|
| 358 |
+
"loss": 1.0646434020996094,
|
| 359 |
+
"mean_token_accuracy": 0.756052638888359,
|
| 360 |
+
"num_tokens": 2133531.0,
|
| 361 |
+
"step": 1700
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"entropy": 1.1237550568580628,
|
| 365 |
+
"epoch": 1.6701670644391409,
|
| 366 |
+
"grad_norm": 0.6554394364356995,
|
| 367 |
+
"learning_rate": 8.66962910761798e-05,
|
| 368 |
+
"loss": 1.0866881561279298,
|
| 369 |
+
"mean_token_accuracy": 0.7495866256952286,
|
| 370 |
+
"num_tokens": 2196212.0,
|
| 371 |
+
"step": 1750
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"entropy": 1.0998593443632125,
|
| 375 |
+
"epoch": 1.7178997613365157,
|
| 376 |
+
"grad_norm": 0.6516928672790527,
|
| 377 |
+
"learning_rate": 8.16101539554131e-05,
|
| 378 |
+
"loss": 1.072577590942383,
|
| 379 |
+
"mean_token_accuracy": 0.7526345264911651,
|
| 380 |
+
"num_tokens": 2259117.0,
|
| 381 |
+
"step": 1800
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"entropy": 1.1008843111991882,
|
| 385 |
+
"epoch": 1.7656324582338903,
|
| 386 |
+
"grad_norm": 0.7132663726806641,
|
| 387 |
+
"learning_rate": 7.65728153871533e-05,
|
| 388 |
+
"loss": 1.0717825317382812,
|
| 389 |
+
"mean_token_accuracy": 0.7529473024606704,
|
| 390 |
+
"num_tokens": 2320595.0,
|
| 391 |
+
"step": 1850
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"entropy": 1.091220656633377,
|
| 395 |
+
"epoch": 1.8133651551312648,
|
| 396 |
+
"grad_norm": 0.6660885810852051,
|
| 397 |
+
"learning_rate": 7.159764224951468e-05,
|
| 398 |
+
"loss": 1.060431900024414,
|
| 399 |
+
"mean_token_accuracy": 0.7562662494182587,
|
| 400 |
+
"num_tokens": 2384167.0,
|
| 401 |
+
"step": 1900
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"entropy": 1.1030601847171784,
|
| 405 |
+
"epoch": 1.8610978520286396,
|
| 406 |
+
"grad_norm": 0.6854376196861267,
|
| 407 |
+
"learning_rate": 6.669783646093635e-05,
|
| 408 |
+
"loss": 1.0840390014648438,
|
| 409 |
+
"mean_token_accuracy": 0.7516759240627289,
|
| 410 |
+
"num_tokens": 2444983.0,
|
| 411 |
+
"step": 1950
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"entropy": 1.0597282403707504,
|
| 415 |
+
"epoch": 1.9088305489260144,
|
| 416 |
+
"grad_norm": 0.6586617231369019,
|
| 417 |
+
"learning_rate": 6.188639994810476e-05,
|
| 418 |
+
"loss": 1.0197964477539063,
|
| 419 |
+
"mean_token_accuracy": 0.7626945042610168,
|
| 420 |
+
"num_tokens": 2508413.0,
|
| 421 |
+
"step": 2000
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"entropy": 1.0780229181051255,
|
| 425 |
+
"epoch": 1.956563245823389,
|
| 426 |
+
"grad_norm": 0.6627408862113953,
|
| 427 |
+
"learning_rate": 5.7176100144566437e-05,
|
| 428 |
+
"loss": 1.053470458984375,
|
| 429 |
+
"mean_token_accuracy": 0.7603739106655121,
|
| 430 |
+
"num_tokens": 2570521.0,
|
| 431 |
+
"step": 2050
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"epoch": 2.0,
|
| 435 |
+
"eval_entropy": 1.1270634393606866,
|
| 436 |
+
"eval_loss": 1.2241966724395752,
|
| 437 |
+
"eval_mean_token_accuracy": 0.7277251901337349,
|
| 438 |
+
"eval_num_tokens": 2628024.0,
|
| 439 |
+
"eval_runtime": 86.3772,
|
| 440 |
+
"eval_samples_per_second": 10.211,
|
| 441 |
+
"eval_steps_per_second": 10.211,
|
| 442 |
+
"step": 2096
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"entropy": 1.0549406896937976,
|
| 446 |
+
"epoch": 2.00381861575179,
|
| 447 |
+
"grad_norm": 0.6006537675857544,
|
| 448 |
+
"learning_rate": 5.257943611158213e-05,
|
| 449 |
+
"loss": 1.0044329071044922,
|
| 450 |
+
"mean_token_accuracy": 0.7685194587466693,
|
| 451 |
+
"num_tokens": 2632866.0,
|
| 452 |
+
"step": 2100
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"entropy": 0.8462848180532455,
|
| 456 |
+
"epoch": 2.0515513126491647,
|
| 457 |
+
"grad_norm": 0.738232433795929,
|
| 458 |
+
"learning_rate": 4.8108605371122664e-05,
|
| 459 |
+
"loss": 0.7164443969726563,
|
| 460 |
+
"mean_token_accuracy": 0.8271950417757035,
|
| 461 |
+
"num_tokens": 2695322.0,
|
| 462 |
+
"step": 2150
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"entropy": 0.83010901927948,
|
| 466 |
+
"epoch": 2.0992840095465395,
|
| 467 |
+
"grad_norm": 0.8230165243148804,
|
| 468 |
+
"learning_rate": 4.377547153901771e-05,
|
| 469 |
+
"loss": 0.7212278747558594,
|
| 470 |
+
"mean_token_accuracy": 0.826329802274704,
|
| 471 |
+
"num_tokens": 2758736.0,
|
| 472 |
+
"step": 2200
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"entropy": 0.8135236877202988,
|
| 476 |
+
"epoch": 2.147016706443914,
|
| 477 |
+
"grad_norm": 0.7282742857933044,
|
| 478 |
+
"learning_rate": 3.959153284414369e-05,
|
| 479 |
+
"loss": 0.6992168426513672,
|
| 480 |
+
"mean_token_accuracy": 0.8299387520551682,
|
| 481 |
+
"num_tokens": 2820842.0,
|
| 482 |
+
"step": 2250
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"entropy": 0.8248880213499069,
|
| 486 |
+
"epoch": 2.1947494033412887,
|
| 487 |
+
"grad_norm": 0.7465704679489136,
|
| 488 |
+
"learning_rate": 3.5567891617188664e-05,
|
| 489 |
+
"loss": 0.7128165435791015,
|
| 490 |
+
"mean_token_accuracy": 0.8283046728372574,
|
| 491 |
+
"num_tokens": 2883956.0,
|
| 492 |
+
"step": 2300
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"entropy": 0.8233794635534286,
|
| 496 |
+
"epoch": 2.2424821002386635,
|
| 497 |
+
"grad_norm": 0.7302447557449341,
|
| 498 |
+
"learning_rate": 3.1715224829955757e-05,
|
| 499 |
+
"loss": 0.7124533081054687,
|
| 500 |
+
"mean_token_accuracy": 0.8284728264808655,
|
| 501 |
+
"num_tokens": 2947262.0,
|
| 502 |
+
"step": 2350
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"entropy": 0.7968180871009827,
|
| 506 |
+
"epoch": 2.2902147971360383,
|
| 507 |
+
"grad_norm": 0.7197865843772888,
|
| 508 |
+
"learning_rate": 2.8043755763382285e-05,
|
| 509 |
+
"loss": 0.6874373626708984,
|
| 510 |
+
"mean_token_accuracy": 0.8334536749124527,
|
| 511 |
+
"num_tokens": 3010412.0,
|
| 512 |
+
"step": 2400
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"entropy": 0.8235478883981705,
|
| 516 |
+
"epoch": 2.337947494033413,
|
| 517 |
+
"grad_norm": 0.7800441980361938,
|
| 518 |
+
"learning_rate": 2.4563226879454594e-05,
|
| 519 |
+
"loss": 0.7153313446044922,
|
| 520 |
+
"mean_token_accuracy": 0.8293009757995605,
|
| 521 |
+
"num_tokens": 3073608.0,
|
| 522 |
+
"step": 2450
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"entropy": 0.8219516462087632,
|
| 526 |
+
"epoch": 2.3856801909307874,
|
| 527 |
+
"grad_norm": 0.7577798366546631,
|
| 528 |
+
"learning_rate": 2.1282873969004237e-05,
|
| 529 |
+
"loss": 0.7069300079345703,
|
| 530 |
+
"mean_token_accuracy": 0.8292675828933715,
|
| 531 |
+
"num_tokens": 3135626.0,
|
| 532 |
+
"step": 2500
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"entropy": 0.7990449127554894,
|
| 536 |
+
"epoch": 2.4334128878281622,
|
| 537 |
+
"grad_norm": 0.7231966853141785,
|
| 538 |
+
"learning_rate": 1.821140164398689e-05,
|
| 539 |
+
"loss": 0.6839562225341796,
|
| 540 |
+
"mean_token_accuracy": 0.8350012344121933,
|
| 541 |
+
"num_tokens": 3199381.0,
|
| 542 |
+
"step": 2550
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"entropy": 0.8046583250164986,
|
| 546 |
+
"epoch": 2.481145584725537,
|
| 547 |
+
"grad_norm": 0.7514696717262268,
|
| 548 |
+
"learning_rate": 1.5356960239275586e-05,
|
| 549 |
+
"loss": 0.6949836730957031,
|
| 550 |
+
"mean_token_accuracy": 0.8329219031333923,
|
| 551 |
+
"num_tokens": 3261575.0,
|
| 552 |
+
"step": 2600
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"entropy": 0.7942794787883759,
|
| 556 |
+
"epoch": 2.528878281622912,
|
| 557 |
+
"grad_norm": 0.7590946555137634,
|
| 558 |
+
"learning_rate": 1.2727124185261197e-05,
|
| 559 |
+
"loss": 0.6895380401611328,
|
| 560 |
+
"mean_token_accuracy": 0.832926099896431,
|
| 561 |
+
"num_tokens": 3323813.0,
|
| 562 |
+
"step": 2650
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"entropy": 0.8118013942241669,
|
| 566 |
+
"epoch": 2.5766109785202866,
|
| 567 |
+
"grad_norm": 0.7059034109115601,
|
| 568 |
+
"learning_rate": 1.0328871908650328e-05,
|
| 569 |
+
"loss": 0.7040079498291015,
|
| 570 |
+
"mean_token_accuracy": 0.8309143006801605,
|
| 571 |
+
"num_tokens": 3386995.0,
|
| 572 |
+
"step": 2700
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"entropy": 0.806537373661995,
|
| 576 |
+
"epoch": 2.624343675417661,
|
| 577 |
+
"grad_norm": 0.7431624531745911,
|
| 578 |
+
"learning_rate": 8.16856731479384e-06,
|
| 579 |
+
"loss": 0.688738021850586,
|
| 580 |
+
"mean_token_accuracy": 0.8332961136102677,
|
| 581 |
+
"num_tokens": 3449788.0,
|
| 582 |
+
"step": 2750
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"entropy": 0.8005938905477524,
|
| 586 |
+
"epoch": 2.672076372315036,
|
| 587 |
+
"grad_norm": 0.8506917953491211,
|
| 588 |
+
"learning_rate": 6.251942900684804e-06,
|
| 589 |
+
"loss": 0.6902422332763671,
|
| 590 |
+
"mean_token_accuracy": 0.8328836613893509,
|
| 591 |
+
"num_tokens": 3511961.0,
|
| 592 |
+
"step": 2800
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"entropy": 0.7861854726076126,
|
| 596 |
+
"epoch": 2.7198090692124106,
|
| 597 |
+
"grad_norm": 0.7526294589042664,
|
| 598 |
+
"learning_rate": 4.584084543436173e-06,
|
| 599 |
+
"loss": 0.6763236236572265,
|
| 600 |
+
"mean_token_accuracy": 0.8362268596887589,
|
| 601 |
+
"num_tokens": 3574785.0,
|
| 602 |
+
"step": 2850
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"entropy": 0.7960345908999443,
|
| 606 |
+
"epoch": 2.767541766109785,
|
| 607 |
+
"grad_norm": 0.7011904120445251,
|
| 608 |
+
"learning_rate": 3.1694180046025646e-06,
|
| 609 |
+
"loss": 0.6868787384033204,
|
| 610 |
+
"mean_token_accuracy": 0.8327940762042999,
|
| 611 |
+
"num_tokens": 3636998.0,
|
| 612 |
+
"step": 2900
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"entropy": 0.7944136542081833,
|
| 616 |
+
"epoch": 2.8152744630071598,
|
| 617 |
+
"grad_norm": 0.7616329193115234,
|
| 618 |
+
"learning_rate": 2.0116971861583565e-06,
|
| 619 |
+
"loss": 0.6847939300537109,
|
| 620 |
+
"mean_token_accuracy": 0.8341733467578888,
|
| 621 |
+
"num_tokens": 3700205.0,
|
| 622 |
+
"step": 2950
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"entropy": 0.7962760901451111,
|
| 626 |
+
"epoch": 2.8630071599045346,
|
| 627 |
+
"grad_norm": 0.7714470624923706,
|
| 628 |
+
"learning_rate": 1.1139941692950074e-06,
|
| 629 |
+
"loss": 0.6834097290039063,
|
| 630 |
+
"mean_token_accuracy": 0.8354327756166459,
|
| 631 |
+
"num_tokens": 3763095.0,
|
| 632 |
+
"step": 3000
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"entropy": 0.7855075746774673,
|
| 636 |
+
"epoch": 2.9107398568019094,
|
| 637 |
+
"grad_norm": 0.7710275053977966,
|
| 638 |
+
"learning_rate": 4.786910624704932e-07,
|
| 639 |
+
"loss": 0.6833212280273437,
|
| 640 |
+
"mean_token_accuracy": 0.8346857005357742,
|
| 641 |
+
"num_tokens": 3826241.0,
|
| 642 |
+
"step": 3050
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"entropy": 0.7781499969959259,
|
| 646 |
+
"epoch": 2.958472553699284,
|
| 647 |
+
"grad_norm": 0.7958815693855286,
|
| 648 |
+
"learning_rate": 1.0747368034260686e-07,
|
| 649 |
+
"loss": 0.6754365539550782,
|
| 650 |
+
"mean_token_accuracy": 0.8352688610553741,
|
| 651 |
+
"num_tokens": 3887718.0,
|
| 652 |
+
"step": 3100
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"epoch": 3.0,
|
| 656 |
+
"eval_entropy": 0.9699639558555588,
|
| 657 |
+
"eval_loss": 1.256901502609253,
|
| 658 |
+
"eval_mean_token_accuracy": 0.7340467933421773,
|
| 659 |
+
"eval_num_tokens": 3942036.0,
|
| 660 |
+
"eval_runtime": 86.059,
|
| 661 |
+
"eval_samples_per_second": 10.249,
|
| 662 |
+
"eval_steps_per_second": 10.249,
|
| 663 |
+
"step": 3144
|
| 664 |
+
}
|
| 665 |
+
],
|
| 666 |
+
"logging_steps": 50,
|
| 667 |
+
"max_steps": 3144,
|
| 668 |
+
"num_input_tokens_seen": 0,
|
| 669 |
+
"num_train_epochs": 3,
|
| 670 |
+
"save_steps": 500,
|
| 671 |
+
"stateful_callbacks": {
|
| 672 |
+
"TrainerControl": {
|
| 673 |
+
"args": {
|
| 674 |
+
"should_epoch_stop": false,
|
| 675 |
+
"should_evaluate": false,
|
| 676 |
+
"should_log": false,
|
| 677 |
+
"should_save": true,
|
| 678 |
+
"should_training_stop": true
|
| 679 |
+
},
|
| 680 |
+
"attributes": {}
|
| 681 |
+
}
|
| 682 |
+
},
|
| 683 |
+
"total_flos": 2.7336608363574067e+17,
|
| 684 |
+
"train_batch_size": 8,
|
| 685 |
+
"trial_name": null,
|
| 686 |
+
"trial_params": null
|
| 687 |
+
}
|
checkpoint-3144/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a92f47f215f6192c33d2a857fefbabc108b7e532a835fab7fa19809483c7a6f
|
| 3 |
+
size 5304
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b
|
| 3 |
+
size 17209920
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<|begin_of_text|>",
|
| 4 |
+
"clean_up_tokenization_spaces": true,
|
| 5 |
+
"eos_token": "<|end_of_text|>",
|
| 6 |
+
"is_local": true,
|
| 7 |
+
"model_input_names": [
|
| 8 |
+
"input_ids",
|
| 9 |
+
"attention_mask"
|
| 10 |
+
],
|
| 11 |
+
"model_max_length": 131072,
|
| 12 |
+
"pad_token": "<|end_of_text|>",
|
| 13 |
+
"tokenizer_class": "TokenizersBackend"
|
| 14 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a92f47f215f6192c33d2a857fefbabc108b7e532a835fab7fa19809483c7a6f
|
| 3 |
+
size 5304
|
training_args.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_name": "meta-llama/Llama-3.1-8B",
|
| 3 |
+
"stage1_method": "full",
|
| 4 |
+
"stage2_method": "lora",
|
| 5 |
+
"stage": "task_specific",
|
| 6 |
+
"num_epochs": 3,
|
| 7 |
+
"config_path": "/home/oelgendy/arabic-medical-llm/script/configs/lora.yaml",
|
| 8 |
+
"stage1_checkpoint": "outputs/exp04_llama_full_lora/stage1",
|
| 9 |
+
"train_samples": 16756,
|
| 10 |
+
"val_samples": 882
|
| 11 |
+
}
|