Instructions to use mohammedahmedezz2004/bayan_model_lora_phase2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mohammedahmedezz2004/bayan_model_lora_phase2 with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("mohammed525671/final_arabic_grammarly_2") model = PeftModel.from_pretrained(base_model, "mohammedahmedezz2004/bayan_model_lora_phase2") - Transformers
How to use mohammedahmedezz2004/bayan_model_lora_phase2 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mohammedahmedezz2004/bayan_model_lora_phase2", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Forced push from Callback: Step 5000
Browse files- checkpoint-5000/README.md +206 -0
- checkpoint-5000/adapter_config.json +43 -0
- checkpoint-5000/adapter_model.safetensors +3 -0
- checkpoint-5000/optimizer.pt +3 -0
- checkpoint-5000/rng_state.pth +3 -0
- checkpoint-5000/scheduler.pt +3 -0
- checkpoint-5000/tokenizer.json +0 -0
- checkpoint-5000/tokenizer_config.json +16 -0
- checkpoint-5000/trainer_state.json +439 -0
- checkpoint-5000/training_args.bin +3 -0
checkpoint-5000/README.md
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
| 10 |
+
# Model Card for Model ID
|
| 11 |
+
|
| 12 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
## Model Details
|
| 17 |
+
|
| 18 |
+
### Model Description
|
| 19 |
+
|
| 20 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
- **Developed by:** [More Information Needed]
|
| 25 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 26 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 27 |
+
- **Model type:** [More Information Needed]
|
| 28 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 29 |
+
- **License:** [More Information Needed]
|
| 30 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 31 |
+
|
| 32 |
+
### Model Sources [optional]
|
| 33 |
+
|
| 34 |
+
<!-- Provide the basic links for the model. -->
|
| 35 |
+
|
| 36 |
+
- **Repository:** [More Information Needed]
|
| 37 |
+
- **Paper [optional]:** [More Information Needed]
|
| 38 |
+
- **Demo [optional]:** [More Information Needed]
|
| 39 |
+
|
| 40 |
+
## Uses
|
| 41 |
+
|
| 42 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 43 |
+
|
| 44 |
+
### Direct Use
|
| 45 |
+
|
| 46 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 47 |
+
|
| 48 |
+
[More Information Needed]
|
| 49 |
+
|
| 50 |
+
### Downstream Use [optional]
|
| 51 |
+
|
| 52 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 53 |
+
|
| 54 |
+
[More Information Needed]
|
| 55 |
+
|
| 56 |
+
### Out-of-Scope Use
|
| 57 |
+
|
| 58 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 59 |
+
|
| 60 |
+
[More Information Needed]
|
| 61 |
+
|
| 62 |
+
## Bias, Risks, and Limitations
|
| 63 |
+
|
| 64 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 65 |
+
|
| 66 |
+
[More Information Needed]
|
| 67 |
+
|
| 68 |
+
### Recommendations
|
| 69 |
+
|
| 70 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 71 |
+
|
| 72 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 73 |
+
|
| 74 |
+
## How to Get Started with the Model
|
| 75 |
+
|
| 76 |
+
Use the code below to get started with the model.
|
| 77 |
+
|
| 78 |
+
[More Information Needed]
|
| 79 |
+
|
| 80 |
+
## Training Details
|
| 81 |
+
|
| 82 |
+
### Training Data
|
| 83 |
+
|
| 84 |
+
<!-- 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. -->
|
| 85 |
+
|
| 86 |
+
[More Information Needed]
|
| 87 |
+
|
| 88 |
+
### Training Procedure
|
| 89 |
+
|
| 90 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 91 |
+
|
| 92 |
+
#### Preprocessing [optional]
|
| 93 |
+
|
| 94 |
+
[More Information Needed]
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
#### Training Hyperparameters
|
| 98 |
+
|
| 99 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 100 |
+
|
| 101 |
+
#### Speeds, Sizes, Times [optional]
|
| 102 |
+
|
| 103 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 104 |
+
|
| 105 |
+
[More Information Needed]
|
| 106 |
+
|
| 107 |
+
## Evaluation
|
| 108 |
+
|
| 109 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 110 |
+
|
| 111 |
+
### Testing Data, Factors & Metrics
|
| 112 |
+
|
| 113 |
+
#### Testing Data
|
| 114 |
+
|
| 115 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 116 |
+
|
| 117 |
+
[More Information Needed]
|
| 118 |
+
|
| 119 |
+
#### Factors
|
| 120 |
+
|
| 121 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 122 |
+
|
| 123 |
+
[More Information Needed]
|
| 124 |
+
|
| 125 |
+
#### Metrics
|
| 126 |
+
|
| 127 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 128 |
+
|
| 129 |
+
[More Information Needed]
|
| 130 |
+
|
| 131 |
+
### Results
|
| 132 |
+
|
| 133 |
+
[More Information Needed]
|
| 134 |
+
|
| 135 |
+
#### Summary
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
## Model Examination [optional]
|
| 140 |
+
|
| 141 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 142 |
+
|
| 143 |
+
[More Information Needed]
|
| 144 |
+
|
| 145 |
+
## Environmental Impact
|
| 146 |
+
|
| 147 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 148 |
+
|
| 149 |
+
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).
|
| 150 |
+
|
| 151 |
+
- **Hardware Type:** [More Information Needed]
|
| 152 |
+
- **Hours used:** [More Information Needed]
|
| 153 |
+
- **Cloud Provider:** [More Information Needed]
|
| 154 |
+
- **Compute Region:** [More Information Needed]
|
| 155 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 156 |
+
|
| 157 |
+
## Technical Specifications [optional]
|
| 158 |
+
|
| 159 |
+
### Model Architecture and Objective
|
| 160 |
+
|
| 161 |
+
[More Information Needed]
|
| 162 |
+
|
| 163 |
+
### Compute Infrastructure
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
#### Hardware
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
#### Software
|
| 172 |
+
|
| 173 |
+
[More Information Needed]
|
| 174 |
+
|
| 175 |
+
## Citation [optional]
|
| 176 |
+
|
| 177 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 178 |
+
|
| 179 |
+
**BibTeX:**
|
| 180 |
+
|
| 181 |
+
[More Information Needed]
|
| 182 |
+
|
| 183 |
+
**APA:**
|
| 184 |
+
|
| 185 |
+
[More Information Needed]
|
| 186 |
+
|
| 187 |
+
## Glossary [optional]
|
| 188 |
+
|
| 189 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 190 |
+
|
| 191 |
+
[More Information Needed]
|
| 192 |
+
|
| 193 |
+
## More Information [optional]
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## Model Card Authors [optional]
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
|
| 201 |
+
## Model Card Contact
|
| 202 |
+
|
| 203 |
+
[More Information Needed]
|
| 204 |
+
### Framework versions
|
| 205 |
+
|
| 206 |
+
- PEFT 0.19.1
|
checkpoint-5000/adapter_config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "mohammed525671/final_arabic_grammarly_2",
|
| 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 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
+
"r": 16,
|
| 30 |
+
"rank_pattern": {},
|
| 31 |
+
"revision": null,
|
| 32 |
+
"target_modules": [
|
| 33 |
+
"q",
|
| 34 |
+
"v"
|
| 35 |
+
],
|
| 36 |
+
"target_parameters": null,
|
| 37 |
+
"task_type": "SEQ_2_SEQ_LM",
|
| 38 |
+
"trainable_token_indices": null,
|
| 39 |
+
"use_bdlora": null,
|
| 40 |
+
"use_dora": false,
|
| 41 |
+
"use_qalora": false,
|
| 42 |
+
"use_rslora": false
|
| 43 |
+
}
|
checkpoint-5000/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8f0d86708f4b8e985c3f61818ed0c86a2ac5e94f277b68f46e32cbce8e4ef1d
|
| 3 |
+
size 7098016
|
checkpoint-5000/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b07d0a74c09f4c412a15e114e2ce88f4b8919617ff0970dcf071afc62406f77d
|
| 3 |
+
size 14279243
|
checkpoint-5000/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:67d15f0bbd2c71ec574bb1d7b2c633e4e374002332e1ac7de5631b73736c9812
|
| 3 |
+
size 14645
|
checkpoint-5000/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9eefe8f48812a0946379983776b850099bd0c97bf44f570d8bd4587584ff3dd
|
| 3 |
+
size 1465
|
checkpoint-5000/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-5000/tokenizer_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"eos_token": "</s>",
|
| 4 |
+
"extra_ids": 0,
|
| 5 |
+
"extra_special_tokens": [
|
| 6 |
+
"<pad>",
|
| 7 |
+
"</s>"
|
| 8 |
+
],
|
| 9 |
+
"is_local": false,
|
| 10 |
+
"local_files_only": false,
|
| 11 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 12 |
+
"pad_token": "<pad>",
|
| 13 |
+
"tokenizer_class": "T5Tokenizer",
|
| 14 |
+
"unk_id": 2,
|
| 15 |
+
"unk_token": "<unk>"
|
| 16 |
+
}
|
check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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": 5000,
|
| 3 |
+
"best_metric": 0.2988842723825056,
|
| 4 |
+
"best_model_checkpoint": "/content/lora_checkpoints/checkpoint-5000",
|
| 5 |
+
"epoch": 0.584932147870847,
|
| 6 |
+
"eval_steps": 1000,
|
| 7 |
+
"global_step": 5000,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.01169864295741694,
|
| 14 |
+
"grad_norm": 0.17465531826019287,
|
| 15 |
+
"learning_rate": 3.960000000000001e-05,
|
| 16 |
+
"loss": 0.8288492584228515,
|
| 17 |
+
"step": 100
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.02339728591483388,
|
| 21 |
+
"grad_norm": 0.10292098671197891,
|
| 22 |
+
"learning_rate": 7.960000000000001e-05,
|
| 23 |
+
"loss": 0.8100727844238281,
|
| 24 |
+
"step": 200
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.03509592887225082,
|
| 28 |
+
"grad_norm": 0.7526177763938904,
|
| 29 |
+
"learning_rate": 0.00011960000000000001,
|
| 30 |
+
"loss": 0.6363310241699218,
|
| 31 |
+
"step": 300
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.04679457182966776,
|
| 35 |
+
"grad_norm": 0.13997608423233032,
|
| 36 |
+
"learning_rate": 0.0001596,
|
| 37 |
+
"loss": 0.667275161743164,
|
| 38 |
+
"step": 400
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.0584932147870847,
|
| 42 |
+
"grad_norm": 0.435800701379776,
|
| 43 |
+
"learning_rate": 0.0001996,
|
| 44 |
+
"loss": 0.666079330444336,
|
| 45 |
+
"step": 500
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.07019185774450164,
|
| 49 |
+
"grad_norm": 0.29729676246643066,
|
| 50 |
+
"learning_rate": 0.0001988069414316703,
|
| 51 |
+
"loss": 0.7561639404296875,
|
| 52 |
+
"step": 600
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.08189050070191858,
|
| 56 |
+
"grad_norm": 0.5007213354110718,
|
| 57 |
+
"learning_rate": 0.00019760183176669078,
|
| 58 |
+
"loss": 0.9136177825927735,
|
| 59 |
+
"step": 700
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.09358914365933552,
|
| 63 |
+
"grad_norm": 0.3354756832122803,
|
| 64 |
+
"learning_rate": 0.00019639672210171127,
|
| 65 |
+
"loss": 0.7920448303222656,
|
| 66 |
+
"step": 800
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.10528778661675246,
|
| 70 |
+
"grad_norm": 0.2753271460533142,
|
| 71 |
+
"learning_rate": 0.00019519161243673175,
|
| 72 |
+
"loss": 0.7825648498535156,
|
| 73 |
+
"step": 900
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.1169864295741694,
|
| 77 |
+
"grad_norm": 0.2488747239112854,
|
| 78 |
+
"learning_rate": 0.00019398650277175223,
|
| 79 |
+
"loss": 0.8908327484130859,
|
| 80 |
+
"step": 1000
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.1169864295741694,
|
| 84 |
+
"eval_bleu": 14.159322048476906,
|
| 85 |
+
"eval_chrf++": 37.25199978938141,
|
| 86 |
+
"eval_gleu": 0.29527796770330317,
|
| 87 |
+
"eval_loss": 0.13655707240104675,
|
| 88 |
+
"eval_runtime": 3076.623,
|
| 89 |
+
"eval_samples_per_second": 8.126,
|
| 90 |
+
"eval_steps_per_second": 1.016,
|
| 91 |
+
"step": 1000
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"epoch": 0.12868507253158634,
|
| 95 |
+
"grad_norm": 0.30232590436935425,
|
| 96 |
+
"learning_rate": 0.00019278139310677272,
|
| 97 |
+
"loss": 0.7722515106201172,
|
| 98 |
+
"step": 1100
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"epoch": 0.14038371548900327,
|
| 102 |
+
"grad_norm": 0.38113218545913696,
|
| 103 |
+
"learning_rate": 0.00019157628344179323,
|
| 104 |
+
"loss": 0.761008529663086,
|
| 105 |
+
"step": 1200
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"epoch": 0.1520823584464202,
|
| 109 |
+
"grad_norm": 0.833577036857605,
|
| 110 |
+
"learning_rate": 0.0001903711737768137,
|
| 111 |
+
"loss": 0.729088134765625,
|
| 112 |
+
"step": 1300
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"epoch": 0.16378100140383717,
|
| 116 |
+
"grad_norm": 0.27296575903892517,
|
| 117 |
+
"learning_rate": 0.0001891660641118342,
|
| 118 |
+
"loss": 0.7132440948486328,
|
| 119 |
+
"step": 1400
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"epoch": 0.1754796443612541,
|
| 123 |
+
"grad_norm": 0.43808019161224365,
|
| 124 |
+
"learning_rate": 0.00018796095444685468,
|
| 125 |
+
"loss": 0.7673744964599609,
|
| 126 |
+
"step": 1500
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"epoch": 0.18717828731867103,
|
| 130 |
+
"grad_norm": 0.5978686213493347,
|
| 131 |
+
"learning_rate": 0.00018675584478187516,
|
| 132 |
+
"loss": 0.7649851989746094,
|
| 133 |
+
"step": 1600
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"epoch": 0.19887693027608797,
|
| 137 |
+
"grad_norm": 0.27942633628845215,
|
| 138 |
+
"learning_rate": 0.00018555073511689564,
|
| 139 |
+
"loss": 0.73284912109375,
|
| 140 |
+
"step": 1700
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"epoch": 0.21057557323350493,
|
| 144 |
+
"grad_norm": 0.7221409678459167,
|
| 145 |
+
"learning_rate": 0.00018434562545191613,
|
| 146 |
+
"loss": 0.8051951599121093,
|
| 147 |
+
"step": 1800
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"epoch": 0.22227421619092186,
|
| 151 |
+
"grad_norm": 0.5762982964515686,
|
| 152 |
+
"learning_rate": 0.00018314051578693664,
|
| 153 |
+
"loss": 0.7878440856933594,
|
| 154 |
+
"step": 1900
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"epoch": 0.2339728591483388,
|
| 158 |
+
"grad_norm": 0.5500592589378357,
|
| 159 |
+
"learning_rate": 0.0001819354061219571,
|
| 160 |
+
"loss": 0.7237545013427734,
|
| 161 |
+
"step": 2000
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"epoch": 0.2339728591483388,
|
| 165 |
+
"eval_bleu": 14.170822767293767,
|
| 166 |
+
"eval_chrf++": 37.26464042738157,
|
| 167 |
+
"eval_gleu": 0.29572456761353044,
|
| 168 |
+
"eval_loss": 0.1321471929550171,
|
| 169 |
+
"eval_runtime": 3046.6444,
|
| 170 |
+
"eval_samples_per_second": 8.206,
|
| 171 |
+
"eval_steps_per_second": 1.026,
|
| 172 |
+
"step": 2000
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"epoch": 0.24567150210575572,
|
| 176 |
+
"grad_norm": 0.24421566724777222,
|
| 177 |
+
"learning_rate": 0.00018073029645697758,
|
| 178 |
+
"loss": 0.8127301025390625,
|
| 179 |
+
"step": 2100
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"epoch": 0.2573701450631727,
|
| 183 |
+
"grad_norm": 0.4300897419452667,
|
| 184 |
+
"learning_rate": 0.0001795251867919981,
|
| 185 |
+
"loss": 0.7431999206542969,
|
| 186 |
+
"step": 2200
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"epoch": 0.2690687880205896,
|
| 190 |
+
"grad_norm": 0.4674065411090851,
|
| 191 |
+
"learning_rate": 0.00017832007712701857,
|
| 192 |
+
"loss": 0.7770858764648437,
|
| 193 |
+
"step": 2300
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"epoch": 0.28076743097800655,
|
| 197 |
+
"grad_norm": 0.3334859311580658,
|
| 198 |
+
"learning_rate": 0.00017711496746203905,
|
| 199 |
+
"loss": 0.7566382598876953,
|
| 200 |
+
"step": 2400
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"epoch": 0.2924660739354235,
|
| 204 |
+
"grad_norm": 0.5279520153999329,
|
| 205 |
+
"learning_rate": 0.00017590985779705954,
|
| 206 |
+
"loss": 0.7609191131591797,
|
| 207 |
+
"step": 2500
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"epoch": 0.3041647168928404,
|
| 211 |
+
"grad_norm": 0.40749409794807434,
|
| 212 |
+
"learning_rate": 0.00017470474813208002,
|
| 213 |
+
"loss": 0.8018978118896485,
|
| 214 |
+
"step": 2600
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"epoch": 0.3158633598502574,
|
| 218 |
+
"grad_norm": 0.5021436214447021,
|
| 219 |
+
"learning_rate": 0.0001734996384671005,
|
| 220 |
+
"loss": 0.704549560546875,
|
| 221 |
+
"step": 2700
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"epoch": 0.32756200280767434,
|
| 225 |
+
"grad_norm": 0.21254391968250275,
|
| 226 |
+
"learning_rate": 0.00017229452880212102,
|
| 227 |
+
"loss": 0.6860762786865234,
|
| 228 |
+
"step": 2800
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"epoch": 0.33926064576509124,
|
| 232 |
+
"grad_norm": 0.5828664898872375,
|
| 233 |
+
"learning_rate": 0.0001710894191371415,
|
| 234 |
+
"loss": 0.7940917205810547,
|
| 235 |
+
"step": 2900
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"epoch": 0.3509592887225082,
|
| 239 |
+
"grad_norm": 0.6279259920120239,
|
| 240 |
+
"learning_rate": 0.00016988430947216198,
|
| 241 |
+
"loss": 0.7563919830322265,
|
| 242 |
+
"step": 3000
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"epoch": 0.3509592887225082,
|
| 246 |
+
"eval_bleu": 14.190561307729688,
|
| 247 |
+
"eval_chrf++": 37.282843281422906,
|
| 248 |
+
"eval_gleu": 0.2959946351903762,
|
| 249 |
+
"eval_loss": 0.1300257444381714,
|
| 250 |
+
"eval_runtime": 3028.8248,
|
| 251 |
+
"eval_samples_per_second": 8.254,
|
| 252 |
+
"eval_steps_per_second": 1.032,
|
| 253 |
+
"step": 3000
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"epoch": 0.3626579316799251,
|
| 257 |
+
"grad_norm": 0.49756914377212524,
|
| 258 |
+
"learning_rate": 0.00016867919980718247,
|
| 259 |
+
"loss": 0.7388571929931641,
|
| 260 |
+
"step": 3100
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"epoch": 0.37435657463734207,
|
| 264 |
+
"grad_norm": 0.2790064513683319,
|
| 265 |
+
"learning_rate": 0.00016747409014220295,
|
| 266 |
+
"loss": 0.8041506958007812,
|
| 267 |
+
"step": 3200
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"epoch": 0.386055217594759,
|
| 271 |
+
"grad_norm": 0.4176758825778961,
|
| 272 |
+
"learning_rate": 0.00016626898047722343,
|
| 273 |
+
"loss": 0.7459670257568359,
|
| 274 |
+
"step": 3300
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"epoch": 0.39775386055217593,
|
| 278 |
+
"grad_norm": 0.643490731716156,
|
| 279 |
+
"learning_rate": 0.00016506387081224392,
|
| 280 |
+
"loss": 0.7993578338623046,
|
| 281 |
+
"step": 3400
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"epoch": 0.4094525035095929,
|
| 285 |
+
"grad_norm": 0.4160093665122986,
|
| 286 |
+
"learning_rate": 0.00016385876114726443,
|
| 287 |
+
"loss": 0.7083788299560547,
|
| 288 |
+
"step": 3500
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"epoch": 0.42115114646700985,
|
| 292 |
+
"grad_norm": 0.5131481289863586,
|
| 293 |
+
"learning_rate": 0.00016265365148228488,
|
| 294 |
+
"loss": 0.7386051177978515,
|
| 295 |
+
"step": 3600
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"epoch": 0.43284978942442676,
|
| 299 |
+
"grad_norm": 0.34466978907585144,
|
| 300 |
+
"learning_rate": 0.00016144854181730537,
|
| 301 |
+
"loss": 0.7423291778564454,
|
| 302 |
+
"step": 3700
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"epoch": 0.4445484323818437,
|
| 306 |
+
"grad_norm": 0.3849602937698364,
|
| 307 |
+
"learning_rate": 0.00016024343215232588,
|
| 308 |
+
"loss": 0.7886087799072266,
|
| 309 |
+
"step": 3800
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"epoch": 0.4562470753392606,
|
| 313 |
+
"grad_norm": 1.0863958597183228,
|
| 314 |
+
"learning_rate": 0.00015903832248734636,
|
| 315 |
+
"loss": 0.7084539031982422,
|
| 316 |
+
"step": 3900
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"epoch": 0.4679457182966776,
|
| 320 |
+
"grad_norm": 0.5512566566467285,
|
| 321 |
+
"learning_rate": 0.00015783321282236684,
|
| 322 |
+
"loss": 0.7262689208984375,
|
| 323 |
+
"step": 4000
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"epoch": 0.4679457182966776,
|
| 327 |
+
"eval_bleu": 14.223643604859138,
|
| 328 |
+
"eval_chrf++": 37.31221944095716,
|
| 329 |
+
"eval_gleu": 0.29643493674629917,
|
| 330 |
+
"eval_loss": 0.13029149174690247,
|
| 331 |
+
"eval_runtime": 3029.0038,
|
| 332 |
+
"eval_samples_per_second": 8.254,
|
| 333 |
+
"eval_steps_per_second": 1.032,
|
| 334 |
+
"step": 4000
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"epoch": 0.47964436125409454,
|
| 338 |
+
"grad_norm": 0.5066221356391907,
|
| 339 |
+
"learning_rate": 0.00015662810315738733,
|
| 340 |
+
"loss": 0.7101921844482422,
|
| 341 |
+
"step": 4100
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"epoch": 0.49134300421151145,
|
| 345 |
+
"grad_norm": 0.25377070903778076,
|
| 346 |
+
"learning_rate": 0.0001554229934924078,
|
| 347 |
+
"loss": 0.8036322021484374,
|
| 348 |
+
"step": 4200
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"epoch": 0.5030416471689284,
|
| 352 |
+
"grad_norm": 0.36515700817108154,
|
| 353 |
+
"learning_rate": 0.0001542178838274283,
|
| 354 |
+
"loss": 0.7672134399414062,
|
| 355 |
+
"step": 4300
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"epoch": 0.5147402901263454,
|
| 359 |
+
"grad_norm": 0.5217819213867188,
|
| 360 |
+
"learning_rate": 0.00015301277416244878,
|
| 361 |
+
"loss": 0.7055610656738281,
|
| 362 |
+
"step": 4400
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"epoch": 0.5264389330837623,
|
| 366 |
+
"grad_norm": 0.5822096467018127,
|
| 367 |
+
"learning_rate": 0.0001518076644974693,
|
| 368 |
+
"loss": 0.7314647674560547,
|
| 369 |
+
"step": 4500
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"epoch": 0.5381375760411792,
|
| 373 |
+
"grad_norm": 0.35088884830474854,
|
| 374 |
+
"learning_rate": 0.00015060255483248977,
|
| 375 |
+
"loss": 0.7090898132324219,
|
| 376 |
+
"step": 4600
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"epoch": 0.5498362189985961,
|
| 380 |
+
"grad_norm": 0.32798826694488525,
|
| 381 |
+
"learning_rate": 0.00014939744516751023,
|
| 382 |
+
"loss": 0.7123609161376954,
|
| 383 |
+
"step": 4700
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"epoch": 0.5615348619560131,
|
| 387 |
+
"grad_norm": 0.36279675364494324,
|
| 388 |
+
"learning_rate": 0.00014819233550253074,
|
| 389 |
+
"loss": 0.6808916473388672,
|
| 390 |
+
"step": 4800
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"epoch": 0.5732335049134301,
|
| 394 |
+
"grad_norm": 0.2988830506801605,
|
| 395 |
+
"learning_rate": 0.00014698722583755122,
|
| 396 |
+
"loss": 0.7374357604980468,
|
| 397 |
+
"step": 4900
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"epoch": 0.584932147870847,
|
| 401 |
+
"grad_norm": 0.3163226246833801,
|
| 402 |
+
"learning_rate": 0.0001457821161725717,
|
| 403 |
+
"loss": 0.7219663238525391,
|
| 404 |
+
"step": 5000
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"epoch": 0.584932147870847,
|
| 408 |
+
"eval_bleu": 14.478830100713067,
|
| 409 |
+
"eval_chrf++": 37.47970478737833,
|
| 410 |
+
"eval_gleu": 0.2988842723825056,
|
| 411 |
+
"eval_loss": 0.11943691223859787,
|
| 412 |
+
"eval_runtime": 1205.6734,
|
| 413 |
+
"eval_samples_per_second": 8.294,
|
| 414 |
+
"eval_steps_per_second": 1.037,
|
| 415 |
+
"step": 5000
|
| 416 |
+
}
|
| 417 |
+
],
|
| 418 |
+
"logging_steps": 100,
|
| 419 |
+
"max_steps": 17096,
|
| 420 |
+
"num_input_tokens_seen": 0,
|
| 421 |
+
"num_train_epochs": 2,
|
| 422 |
+
"save_steps": 1000,
|
| 423 |
+
"stateful_callbacks": {
|
| 424 |
+
"TrainerControl": {
|
| 425 |
+
"args": {
|
| 426 |
+
"should_epoch_stop": false,
|
| 427 |
+
"should_evaluate": false,
|
| 428 |
+
"should_log": false,
|
| 429 |
+
"should_save": true,
|
| 430 |
+
"should_training_stop": false
|
| 431 |
+
},
|
| 432 |
+
"attributes": {}
|
| 433 |
+
}
|
| 434 |
+
},
|
| 435 |
+
"total_flos": 1.4853509406978048e+16,
|
| 436 |
+
"train_batch_size": 4,
|
| 437 |
+
"trial_name": null,
|
| 438 |
+
"trial_params": null
|
| 439 |
+
}
|
checkpoint-5000/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2f1adfeab5b878e23075d9ce65374fe908112ad4fdc3ea083b3fff413cae702
|
| 3 |
+
size 5393
|