Instructions to use caffeic/text-to-sql-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use caffeic/text-to-sql-model with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("caffeic/text-to-sql-model", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- checkpoint-400/README.md +207 -0
- checkpoint-400/adapter_config.json +41 -0
- checkpoint-400/adapter_model.safetensors +3 -0
- checkpoint-400/optimizer.pt +3 -0
- checkpoint-400/rng_state.pth +3 -0
- checkpoint-400/scaler.pt +3 -0
- checkpoint-400/scheduler.pt +3 -0
- checkpoint-400/trainer_state.json +162 -0
- checkpoint-400/training_args.bin +3 -0
- checkpoint-484/README.md +207 -0
- checkpoint-484/adapter_config.json +41 -0
- checkpoint-484/adapter_model.safetensors +3 -0
- checkpoint-484/optimizer.pt +3 -0
- checkpoint-484/rng_state.pth +3 -0
- checkpoint-484/scaler.pt +3 -0
- checkpoint-484/scheduler.pt +3 -0
- checkpoint-484/trainer_state.json +191 -0
- checkpoint-484/training_args.bin +3 -0
checkpoint-400/README.md
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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card for Model ID
|
| 12 |
+
|
| 13 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
## Model Details
|
| 18 |
+
|
| 19 |
+
### Model Description
|
| 20 |
+
|
| 21 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
- **Developed by:** [More Information Needed]
|
| 26 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 27 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 28 |
+
- **Model type:** [More Information Needed]
|
| 29 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 30 |
+
- **License:** [More Information Needed]
|
| 31 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 32 |
+
|
| 33 |
+
### Model Sources [optional]
|
| 34 |
+
|
| 35 |
+
<!-- Provide the basic links for the model. -->
|
| 36 |
+
|
| 37 |
+
- **Repository:** [More Information Needed]
|
| 38 |
+
- **Paper [optional]:** [More Information Needed]
|
| 39 |
+
- **Demo [optional]:** [More Information Needed]
|
| 40 |
+
|
| 41 |
+
## Uses
|
| 42 |
+
|
| 43 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 44 |
+
|
| 45 |
+
### Direct Use
|
| 46 |
+
|
| 47 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 48 |
+
|
| 49 |
+
[More Information Needed]
|
| 50 |
+
|
| 51 |
+
### Downstream Use [optional]
|
| 52 |
+
|
| 53 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 54 |
+
|
| 55 |
+
[More Information Needed]
|
| 56 |
+
|
| 57 |
+
### Out-of-Scope Use
|
| 58 |
+
|
| 59 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 60 |
+
|
| 61 |
+
[More Information Needed]
|
| 62 |
+
|
| 63 |
+
## Bias, Risks, and Limitations
|
| 64 |
+
|
| 65 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 66 |
+
|
| 67 |
+
[More Information Needed]
|
| 68 |
+
|
| 69 |
+
### Recommendations
|
| 70 |
+
|
| 71 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 72 |
+
|
| 73 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 74 |
+
|
| 75 |
+
## How to Get Started with the Model
|
| 76 |
+
|
| 77 |
+
Use the code below to get started with the model.
|
| 78 |
+
|
| 79 |
+
[More Information Needed]
|
| 80 |
+
|
| 81 |
+
## Training Details
|
| 82 |
+
|
| 83 |
+
### Training Data
|
| 84 |
+
|
| 85 |
+
<!-- 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. -->
|
| 86 |
+
|
| 87 |
+
[More Information Needed]
|
| 88 |
+
|
| 89 |
+
### Training Procedure
|
| 90 |
+
|
| 91 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 92 |
+
|
| 93 |
+
#### Preprocessing [optional]
|
| 94 |
+
|
| 95 |
+
[More Information Needed]
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
#### Training Hyperparameters
|
| 99 |
+
|
| 100 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 101 |
+
|
| 102 |
+
#### Speeds, Sizes, Times [optional]
|
| 103 |
+
|
| 104 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 105 |
+
|
| 106 |
+
[More Information Needed]
|
| 107 |
+
|
| 108 |
+
## Evaluation
|
| 109 |
+
|
| 110 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 111 |
+
|
| 112 |
+
### Testing Data, Factors & Metrics
|
| 113 |
+
|
| 114 |
+
#### Testing Data
|
| 115 |
+
|
| 116 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 117 |
+
|
| 118 |
+
[More Information Needed]
|
| 119 |
+
|
| 120 |
+
#### Factors
|
| 121 |
+
|
| 122 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 123 |
+
|
| 124 |
+
[More Information Needed]
|
| 125 |
+
|
| 126 |
+
#### Metrics
|
| 127 |
+
|
| 128 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 129 |
+
|
| 130 |
+
[More Information Needed]
|
| 131 |
+
|
| 132 |
+
### Results
|
| 133 |
+
|
| 134 |
+
[More Information Needed]
|
| 135 |
+
|
| 136 |
+
#### Summary
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
## Model Examination [optional]
|
| 141 |
+
|
| 142 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 143 |
+
|
| 144 |
+
[More Information Needed]
|
| 145 |
+
|
| 146 |
+
## Environmental Impact
|
| 147 |
+
|
| 148 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 149 |
+
|
| 150 |
+
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).
|
| 151 |
+
|
| 152 |
+
- **Hardware Type:** [More Information Needed]
|
| 153 |
+
- **Hours used:** [More Information Needed]
|
| 154 |
+
- **Cloud Provider:** [More Information Needed]
|
| 155 |
+
- **Compute Region:** [More Information Needed]
|
| 156 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 157 |
+
|
| 158 |
+
## Technical Specifications [optional]
|
| 159 |
+
|
| 160 |
+
### Model Architecture and Objective
|
| 161 |
+
|
| 162 |
+
[More Information Needed]
|
| 163 |
+
|
| 164 |
+
### Compute Infrastructure
|
| 165 |
+
|
| 166 |
+
[More Information Needed]
|
| 167 |
+
|
| 168 |
+
#### Hardware
|
| 169 |
+
|
| 170 |
+
[More Information Needed]
|
| 171 |
+
|
| 172 |
+
#### Software
|
| 173 |
+
|
| 174 |
+
[More Information Needed]
|
| 175 |
+
|
| 176 |
+
## Citation [optional]
|
| 177 |
+
|
| 178 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 179 |
+
|
| 180 |
+
**BibTeX:**
|
| 181 |
+
|
| 182 |
+
[More Information Needed]
|
| 183 |
+
|
| 184 |
+
**APA:**
|
| 185 |
+
|
| 186 |
+
[More Information Needed]
|
| 187 |
+
|
| 188 |
+
## Glossary [optional]
|
| 189 |
+
|
| 190 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 191 |
+
|
| 192 |
+
[More Information Needed]
|
| 193 |
+
|
| 194 |
+
## More Information [optional]
|
| 195 |
+
|
| 196 |
+
[More Information Needed]
|
| 197 |
+
|
| 198 |
+
## Model Card Authors [optional]
|
| 199 |
+
|
| 200 |
+
[More Information Needed]
|
| 201 |
+
|
| 202 |
+
## Model Card Contact
|
| 203 |
+
|
| 204 |
+
[More Information Needed]
|
| 205 |
+
### Framework versions
|
| 206 |
+
|
| 207 |
+
- PEFT 0.18.1
|
checkpoint-400/adapter_config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
|
| 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 |
+
"q_proj",
|
| 33 |
+
"v_proj"
|
| 34 |
+
],
|
| 35 |
+
"target_parameters": null,
|
| 36 |
+
"task_type": "CAUSAL_LM",
|
| 37 |
+
"trainable_token_indices": null,
|
| 38 |
+
"use_dora": false,
|
| 39 |
+
"use_qalora": false,
|
| 40 |
+
"use_rslora": false
|
| 41 |
+
}
|
checkpoint-400/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c99745bf19957165b6e6709c584041790111dd9c39c6be6183f630e7ab3fda92
|
| 3 |
+
size 27280152
|
checkpoint-400/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0d91ed2929639a4de14e1c2cb94318ad5cc798c7979bb3438ad77a044674a6a
|
| 3 |
+
size 54636235
|
checkpoint-400/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:605ca5131bc42fe14dd6d4432875bdfab6041af97075249298595eb57e5bb3fe
|
| 3 |
+
size 14645
|
checkpoint-400/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:265edfb643a2133b26cbbb62f724b80dc636b6504f99fee38ea7c51aee480d8c
|
| 3 |
+
size 1383
|
checkpoint-400/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:deb8689fba982b5a238419469a8505baefa68a7eef41e05e707edd4bff5625a7
|
| 3 |
+
size 1465
|
checkpoint-400/trainer_state.json
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 0.8277289187790998,
|
| 6 |
+
"eval_steps": 200,
|
| 7 |
+
"global_step": 400,
|
| 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.05173305742369374,
|
| 14 |
+
"grad_norm": 44.211517333984375,
|
| 15 |
+
"learning_rate": 9.50413223140496e-06,
|
| 16 |
+
"loss": 5.16752197265625,
|
| 17 |
+
"step": 25
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.10346611484738748,
|
| 21 |
+
"grad_norm": 12.28664493560791,
|
| 22 |
+
"learning_rate": 8.987603305785125e-06,
|
| 23 |
+
"loss": 1.049238815307617,
|
| 24 |
+
"step": 50
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.1551991722710812,
|
| 28 |
+
"grad_norm": 0.41502949595451355,
|
| 29 |
+
"learning_rate": 8.47107438016529e-06,
|
| 30 |
+
"loss": 0.24581172943115234,
|
| 31 |
+
"step": 75
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.20693222969477496,
|
| 35 |
+
"grad_norm": 0.2254221886396408,
|
| 36 |
+
"learning_rate": 7.954545454545455e-06,
|
| 37 |
+
"loss": 0.2015397071838379,
|
| 38 |
+
"step": 100
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.2586652871184687,
|
| 42 |
+
"grad_norm": 0.23295480012893677,
|
| 43 |
+
"learning_rate": 7.43801652892562e-06,
|
| 44 |
+
"loss": 0.18340133666992187,
|
| 45 |
+
"step": 125
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.3103983445421624,
|
| 49 |
+
"grad_norm": 0.28120383620262146,
|
| 50 |
+
"learning_rate": 6.921487603305785e-06,
|
| 51 |
+
"loss": 0.17128438949584962,
|
| 52 |
+
"step": 150
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.3621314019658562,
|
| 56 |
+
"grad_norm": 0.2782818377017975,
|
| 57 |
+
"learning_rate": 6.404958677685951e-06,
|
| 58 |
+
"loss": 0.14969505310058595,
|
| 59 |
+
"step": 175
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.4138644593895499,
|
| 63 |
+
"grad_norm": 0.23748408257961273,
|
| 64 |
+
"learning_rate": 5.888429752066116e-06,
|
| 65 |
+
"loss": 0.13814952850341797,
|
| 66 |
+
"step": 200
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.4138644593895499,
|
| 70 |
+
"eval_loss": 0.13955296576023102,
|
| 71 |
+
"eval_runtime": 348.0073,
|
| 72 |
+
"eval_samples_per_second": 2.468,
|
| 73 |
+
"eval_steps_per_second": 0.31,
|
| 74 |
+
"step": 200
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"epoch": 0.4655975168132437,
|
| 78 |
+
"grad_norm": 0.3907519578933716,
|
| 79 |
+
"learning_rate": 5.371900826446281e-06,
|
| 80 |
+
"loss": 0.1370067024230957,
|
| 81 |
+
"step": 225
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"epoch": 0.5173305742369374,
|
| 85 |
+
"grad_norm": 0.3136274814605713,
|
| 86 |
+
"learning_rate": 4.855371900826447e-06,
|
| 87 |
+
"loss": 0.13053615570068358,
|
| 88 |
+
"step": 250
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"epoch": 0.5690636316606311,
|
| 92 |
+
"grad_norm": 0.28285646438598633,
|
| 93 |
+
"learning_rate": 4.338842975206612e-06,
|
| 94 |
+
"loss": 0.13400994300842284,
|
| 95 |
+
"step": 275
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"epoch": 0.6207966890843248,
|
| 99 |
+
"grad_norm": 0.3491869866847992,
|
| 100 |
+
"learning_rate": 3.822314049586777e-06,
|
| 101 |
+
"loss": 0.1300451374053955,
|
| 102 |
+
"step": 300
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"epoch": 0.6725297465080187,
|
| 106 |
+
"grad_norm": 0.35684749484062195,
|
| 107 |
+
"learning_rate": 3.3057851239669424e-06,
|
| 108 |
+
"loss": 0.13070807456970215,
|
| 109 |
+
"step": 325
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"epoch": 0.7242628039317124,
|
| 113 |
+
"grad_norm": 0.3009154796600342,
|
| 114 |
+
"learning_rate": 2.789256198347108e-06,
|
| 115 |
+
"loss": 0.12986770629882813,
|
| 116 |
+
"step": 350
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"epoch": 0.7759958613554061,
|
| 120 |
+
"grad_norm": 0.39449068903923035,
|
| 121 |
+
"learning_rate": 2.2727272727272728e-06,
|
| 122 |
+
"loss": 0.12787361145019532,
|
| 123 |
+
"step": 375
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"epoch": 0.8277289187790998,
|
| 127 |
+
"grad_norm": 0.26200222969055176,
|
| 128 |
+
"learning_rate": 1.7561983471074381e-06,
|
| 129 |
+
"loss": 0.13064990043640137,
|
| 130 |
+
"step": 400
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"epoch": 0.8277289187790998,
|
| 134 |
+
"eval_loss": 0.12793640792369843,
|
| 135 |
+
"eval_runtime": 347.793,
|
| 136 |
+
"eval_samples_per_second": 2.47,
|
| 137 |
+
"eval_steps_per_second": 0.311,
|
| 138 |
+
"step": 400
|
| 139 |
+
}
|
| 140 |
+
],
|
| 141 |
+
"logging_steps": 25,
|
| 142 |
+
"max_steps": 484,
|
| 143 |
+
"num_input_tokens_seen": 0,
|
| 144 |
+
"num_train_epochs": 1,
|
| 145 |
+
"save_steps": 200,
|
| 146 |
+
"stateful_callbacks": {
|
| 147 |
+
"TrainerControl": {
|
| 148 |
+
"args": {
|
| 149 |
+
"should_epoch_stop": false,
|
| 150 |
+
"should_evaluate": false,
|
| 151 |
+
"should_log": false,
|
| 152 |
+
"should_save": true,
|
| 153 |
+
"should_training_stop": false
|
| 154 |
+
},
|
| 155 |
+
"attributes": {}
|
| 156 |
+
}
|
| 157 |
+
},
|
| 158 |
+
"total_flos": 1.39935268995072e+17,
|
| 159 |
+
"train_batch_size": 2,
|
| 160 |
+
"trial_name": null,
|
| 161 |
+
"trial_params": null
|
| 162 |
+
}
|
checkpoint-400/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f92c0ad828f9fc53891b102473ec81ea80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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: mistralai/Mistral-7B-v0.1
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:mistralai/Mistral-7B-v0.1
|
| 7 |
+
- lora
|
| 8 |
+
- transformers
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Model Card for Model ID
|
| 12 |
+
|
| 13 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
## Model Details
|
| 18 |
+
|
| 19 |
+
### Model Description
|
| 20 |
+
|
| 21 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
- **Developed by:** [More Information Needed]
|
| 26 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 27 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 28 |
+
- **Model type:** [More Information Needed]
|
| 29 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 30 |
+
- **License:** [More Information Needed]
|
| 31 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 32 |
+
|
| 33 |
+
### Model Sources [optional]
|
| 34 |
+
|
| 35 |
+
<!-- Provide the basic links for the model. -->
|
| 36 |
+
|
| 37 |
+
- **Repository:** [More Information Needed]
|
| 38 |
+
- **Paper [optional]:** [More Information Needed]
|
| 39 |
+
- **Demo [optional]:** [More Information Needed]
|
| 40 |
+
|
| 41 |
+
## Uses
|
| 42 |
+
|
| 43 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 44 |
+
|
| 45 |
+
### Direct Use
|
| 46 |
+
|
| 47 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 48 |
+
|
| 49 |
+
[More Information Needed]
|
| 50 |
+
|
| 51 |
+
### Downstream Use [optional]
|
| 52 |
+
|
| 53 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 54 |
+
|
| 55 |
+
[More Information Needed]
|
| 56 |
+
|
| 57 |
+
### Out-of-Scope Use
|
| 58 |
+
|
| 59 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 60 |
+
|
| 61 |
+
[More Information Needed]
|
| 62 |
+
|
| 63 |
+
## Bias, Risks, and Limitations
|
| 64 |
+
|
| 65 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 66 |
+
|
| 67 |
+
[More Information Needed]
|
| 68 |
+
|
| 69 |
+
### Recommendations
|
| 70 |
+
|
| 71 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 72 |
+
|
| 73 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 74 |
+
|
| 75 |
+
## How to Get Started with the Model
|
| 76 |
+
|
| 77 |
+
Use the code below to get started with the model.
|
| 78 |
+
|
| 79 |
+
[More Information Needed]
|
| 80 |
+
|
| 81 |
+
## Training Details
|
| 82 |
+
|
| 83 |
+
### Training Data
|
| 84 |
+
|
| 85 |
+
<!-- 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. -->
|
| 86 |
+
|
| 87 |
+
[More Information Needed]
|
| 88 |
+
|
| 89 |
+
### Training Procedure
|
| 90 |
+
|
| 91 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 92 |
+
|
| 93 |
+
#### Preprocessing [optional]
|
| 94 |
+
|
| 95 |
+
[More Information Needed]
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
#### Training Hyperparameters
|
| 99 |
+
|
| 100 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 101 |
+
|
| 102 |
+
#### Speeds, Sizes, Times [optional]
|
| 103 |
+
|
| 104 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 105 |
+
|
| 106 |
+
[More Information Needed]
|
| 107 |
+
|
| 108 |
+
## Evaluation
|
| 109 |
+
|
| 110 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 111 |
+
|
| 112 |
+
### Testing Data, Factors & Metrics
|
| 113 |
+
|
| 114 |
+
#### Testing Data
|
| 115 |
+
|
| 116 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 117 |
+
|
| 118 |
+
[More Information Needed]
|
| 119 |
+
|
| 120 |
+
#### Factors
|
| 121 |
+
|
| 122 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 123 |
+
|
| 124 |
+
[More Information Needed]
|
| 125 |
+
|
| 126 |
+
#### Metrics
|
| 127 |
+
|
| 128 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 129 |
+
|
| 130 |
+
[More Information Needed]
|
| 131 |
+
|
| 132 |
+
### Results
|
| 133 |
+
|
| 134 |
+
[More Information Needed]
|
| 135 |
+
|
| 136 |
+
#### Summary
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
## Model Examination [optional]
|
| 141 |
+
|
| 142 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 143 |
+
|
| 144 |
+
[More Information Needed]
|
| 145 |
+
|
| 146 |
+
## Environmental Impact
|
| 147 |
+
|
| 148 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 149 |
+
|
| 150 |
+
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).
|
| 151 |
+
|
| 152 |
+
- **Hardware Type:** [More Information Needed]
|
| 153 |
+
- **Hours used:** [More Information Needed]
|
| 154 |
+
- **Cloud Provider:** [More Information Needed]
|
| 155 |
+
- **Compute Region:** [More Information Needed]
|
| 156 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 157 |
+
|
| 158 |
+
## Technical Specifications [optional]
|
| 159 |
+
|
| 160 |
+
### Model Architecture and Objective
|
| 161 |
+
|
| 162 |
+
[More Information Needed]
|
| 163 |
+
|
| 164 |
+
### Compute Infrastructure
|
| 165 |
+
|
| 166 |
+
[More Information Needed]
|
| 167 |
+
|
| 168 |
+
#### Hardware
|
| 169 |
+
|
| 170 |
+
[More Information Needed]
|
| 171 |
+
|
| 172 |
+
#### Software
|
| 173 |
+
|
| 174 |
+
[More Information Needed]
|
| 175 |
+
|
| 176 |
+
## Citation [optional]
|
| 177 |
+
|
| 178 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 179 |
+
|
| 180 |
+
**BibTeX:**
|
| 181 |
+
|
| 182 |
+
[More Information Needed]
|
| 183 |
+
|
| 184 |
+
**APA:**
|
| 185 |
+
|
| 186 |
+
[More Information Needed]
|
| 187 |
+
|
| 188 |
+
## Glossary [optional]
|
| 189 |
+
|
| 190 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 191 |
+
|
| 192 |
+
[More Information Needed]
|
| 193 |
+
|
| 194 |
+
## More Information [optional]
|
| 195 |
+
|
| 196 |
+
[More Information Needed]
|
| 197 |
+
|
| 198 |
+
## Model Card Authors [optional]
|
| 199 |
+
|
| 200 |
+
[More Information Needed]
|
| 201 |
+
|
| 202 |
+
## Model Card Contact
|
| 203 |
+
|
| 204 |
+
[More Information Needed]
|
| 205 |
+
### Framework versions
|
| 206 |
+
|
| 207 |
+
- PEFT 0.18.1
|
checkpoint-484/adapter_config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
|
| 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 |
+
"q_proj",
|
| 33 |
+
"v_proj"
|
| 34 |
+
],
|
| 35 |
+
"target_parameters": null,
|
| 36 |
+
"task_type": "CAUSAL_LM",
|
| 37 |
+
"trainable_token_indices": null,
|
| 38 |
+
"use_dora": false,
|
| 39 |
+
"use_qalora": false,
|
| 40 |
+
"use_rslora": false
|
| 41 |
+
}
|
checkpoint-484/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ed60626d1acf338905a759a1ef63478876b734c36f2330bffe745f761b0bb9d
|
| 3 |
+
size 27280152
|
checkpoint-484/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7062a93a0f05942f820cbe98302d99fbd60d2068f1ad5f58ac6c06b38f97ff0
|
| 3 |
+
size 54636235
|
checkpoint-484/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ad05d0b125485f9f16fe2a52e6ee6f23ff59a7e2d02c8811c1fb9753e86b841
|
| 3 |
+
size 14645
|
checkpoint-484/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22b011705203c796980cb72d16345e6edb177793ce13489bb184b19a77d972b3
|
| 3 |
+
size 1383
|
checkpoint-484/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid s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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": 200,
|
| 7 |
+
"global_step": 484,
|
| 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.05173305742369374,
|
| 14 |
+
"grad_norm": 44.211517333984375,
|
| 15 |
+
"learning_rate": 9.50413223140496e-06,
|
| 16 |
+
"loss": 5.16752197265625,
|
| 17 |
+
"step": 25
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.10346611484738748,
|
| 21 |
+
"grad_norm": 12.28664493560791,
|
| 22 |
+
"learning_rate": 8.987603305785125e-06,
|
| 23 |
+
"loss": 1.049238815307617,
|
| 24 |
+
"step": 50
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.1551991722710812,
|
| 28 |
+
"grad_norm": 0.41502949595451355,
|
| 29 |
+
"learning_rate": 8.47107438016529e-06,
|
| 30 |
+
"loss": 0.24581172943115234,
|
| 31 |
+
"step": 75
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.20693222969477496,
|
| 35 |
+
"grad_norm": 0.2254221886396408,
|
| 36 |
+
"learning_rate": 7.954545454545455e-06,
|
| 37 |
+
"loss": 0.2015397071838379,
|
| 38 |
+
"step": 100
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.2586652871184687,
|
| 42 |
+
"grad_norm": 0.23295480012893677,
|
| 43 |
+
"learning_rate": 7.43801652892562e-06,
|
| 44 |
+
"loss": 0.18340133666992187,
|
| 45 |
+
"step": 125
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.3103983445421624,
|
| 49 |
+
"grad_norm": 0.28120383620262146,
|
| 50 |
+
"learning_rate": 6.921487603305785e-06,
|
| 51 |
+
"loss": 0.17128438949584962,
|
| 52 |
+
"step": 150
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.3621314019658562,
|
| 56 |
+
"grad_norm": 0.2782818377017975,
|
| 57 |
+
"learning_rate": 6.404958677685951e-06,
|
| 58 |
+
"loss": 0.14969505310058595,
|
| 59 |
+
"step": 175
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.4138644593895499,
|
| 63 |
+
"grad_norm": 0.23748408257961273,
|
| 64 |
+
"learning_rate": 5.888429752066116e-06,
|
| 65 |
+
"loss": 0.13814952850341797,
|
| 66 |
+
"step": 200
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.4138644593895499,
|
| 70 |
+
"eval_loss": 0.13955296576023102,
|
| 71 |
+
"eval_runtime": 348.0073,
|
| 72 |
+
"eval_samples_per_second": 2.468,
|
| 73 |
+
"eval_steps_per_second": 0.31,
|
| 74 |
+
"step": 200
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"epoch": 0.4655975168132437,
|
| 78 |
+
"grad_norm": 0.3907519578933716,
|
| 79 |
+
"learning_rate": 5.371900826446281e-06,
|
| 80 |
+
"loss": 0.1370067024230957,
|
| 81 |
+
"step": 225
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"epoch": 0.5173305742369374,
|
| 85 |
+
"grad_norm": 0.3136274814605713,
|
| 86 |
+
"learning_rate": 4.855371900826447e-06,
|
| 87 |
+
"loss": 0.13053615570068358,
|
| 88 |
+
"step": 250
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"epoch": 0.5690636316606311,
|
| 92 |
+
"grad_norm": 0.28285646438598633,
|
| 93 |
+
"learning_rate": 4.338842975206612e-06,
|
| 94 |
+
"loss": 0.13400994300842284,
|
| 95 |
+
"step": 275
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"epoch": 0.6207966890843248,
|
| 99 |
+
"grad_norm": 0.3491869866847992,
|
| 100 |
+
"learning_rate": 3.822314049586777e-06,
|
| 101 |
+
"loss": 0.1300451374053955,
|
| 102 |
+
"step": 300
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"epoch": 0.6725297465080187,
|
| 106 |
+
"grad_norm": 0.35684749484062195,
|
| 107 |
+
"learning_rate": 3.3057851239669424e-06,
|
| 108 |
+
"loss": 0.13070807456970215,
|
| 109 |
+
"step": 325
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"epoch": 0.7242628039317124,
|
| 113 |
+
"grad_norm": 0.3009154796600342,
|
| 114 |
+
"learning_rate": 2.789256198347108e-06,
|
| 115 |
+
"loss": 0.12986770629882813,
|
| 116 |
+
"step": 350
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"epoch": 0.7759958613554061,
|
| 120 |
+
"grad_norm": 0.39449068903923035,
|
| 121 |
+
"learning_rate": 2.2727272727272728e-06,
|
| 122 |
+
"loss": 0.12787361145019532,
|
| 123 |
+
"step": 375
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"epoch": 0.8277289187790998,
|
| 127 |
+
"grad_norm": 0.26200222969055176,
|
| 128 |
+
"learning_rate": 1.7561983471074381e-06,
|
| 129 |
+
"loss": 0.13064990043640137,
|
| 130 |
+
"step": 400
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"epoch": 0.8277289187790998,
|
| 134 |
+
"eval_loss": 0.12793640792369843,
|
| 135 |
+
"eval_runtime": 347.793,
|
| 136 |
+
"eval_samples_per_second": 2.47,
|
| 137 |
+
"eval_steps_per_second": 0.311,
|
| 138 |
+
"step": 400
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"epoch": 0.8794619762027935,
|
| 142 |
+
"grad_norm": 0.30130302906036377,
|
| 143 |
+
"learning_rate": 1.2396694214876035e-06,
|
| 144 |
+
"loss": 0.1262701416015625,
|
| 145 |
+
"step": 425
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"epoch": 0.9311950336264874,
|
| 149 |
+
"grad_norm": 0.36181512475013733,
|
| 150 |
+
"learning_rate": 7.231404958677686e-07,
|
| 151 |
+
"loss": 0.12590367317199708,
|
| 152 |
+
"step": 450
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"epoch": 0.9829280910501811,
|
| 156 |
+
"grad_norm": 0.2976009249687195,
|
| 157 |
+
"learning_rate": 2.066115702479339e-07,
|
| 158 |
+
"loss": 0.12801036834716797,
|
| 159 |
+
"step": 475
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"epoch": 1.0,
|
| 163 |
+
"eval_loss": 0.12730221450328827,
|
| 164 |
+
"eval_runtime": 348.3825,
|
| 165 |
+
"eval_samples_per_second": 2.466,
|
| 166 |
+
"eval_steps_per_second": 0.31,
|
| 167 |
+
"step": 484
|
| 168 |
+
}
|
| 169 |
+
],
|
| 170 |
+
"logging_steps": 25,
|
| 171 |
+
"max_steps": 484,
|
| 172 |
+
"num_input_tokens_seen": 0,
|
| 173 |
+
"num_train_epochs": 1,
|
| 174 |
+
"save_steps": 200,
|
| 175 |
+
"stateful_callbacks": {
|
| 176 |
+
"TrainerControl": {
|
| 177 |
+
"args": {
|
| 178 |
+
"should_epoch_stop": false,
|
| 179 |
+
"should_evaluate": false,
|
| 180 |
+
"should_log": false,
|
| 181 |
+
"should_save": true,
|
| 182 |
+
"should_training_stop": true
|
| 183 |
+
},
|
| 184 |
+
"attributes": {}
|
| 185 |
+
}
|
| 186 |
+
},
|
| 187 |
+
"total_flos": 1.6903743196889088e+17,
|
| 188 |
+
"train_batch_size": 2,
|
| 189 |
+
"trial_name": null,
|
| 190 |
+
"trial_params": null
|
| 191 |
+
}
|
checkpoint-484/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f92c0ad828f9fc53891b102473ec81ea80ffafa1097d55485de37c3cd5f81501
|
| 3 |
+
size 5137
|