Upload folder using huggingface_hub
Browse files- README.md +62 -0
- adapter_config.json +46 -0
- adapter_model.safetensors +3 -0
- chat_template.jinja +24 -0
- checkpoint-200/README.md +209 -0
- checkpoint-200/adapter_config.json +46 -0
- checkpoint-200/adapter_model.safetensors +3 -0
- checkpoint-200/chat_template.jinja +24 -0
- checkpoint-200/optimizer.pt +3 -0
- checkpoint-200/rng_state.pth +3 -0
- checkpoint-200/scheduler.pt +3 -0
- checkpoint-200/tokenizer.json +0 -0
- checkpoint-200/tokenizer_config.json +17 -0
- checkpoint-200/trainer_state.json +256 -0
- checkpoint-200/training_args.bin +3 -0
- checkpoint-240/README.md +209 -0
- checkpoint-240/adapter_config.json +46 -0
- checkpoint-240/adapter_model.safetensors +3 -0
- checkpoint-240/chat_template.jinja +24 -0
- checkpoint-240/optimizer.pt +3 -0
- checkpoint-240/rng_state.pth +3 -0
- checkpoint-240/scheduler.pt +3 -0
- checkpoint-240/tokenizer.json +0 -0
- checkpoint-240/tokenizer_config.json +17 -0
- checkpoint-240/trainer_state.json +296 -0
- checkpoint-240/training_args.bin +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +17 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.2
|
| 3 |
+
library_name: peft
|
| 4 |
+
model_name: lora-output
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:mistralai/Mistral-7B-Instruct-v0.2
|
| 7 |
+
- lora
|
| 8 |
+
- sft
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
licence: license
|
| 12 |
+
pipeline_tag: text-generation
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Model Card for lora-output
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2).
|
| 18 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 19 |
+
|
| 20 |
+
## Quick start
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
from transformers import pipeline
|
| 24 |
+
|
| 25 |
+
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
| 26 |
+
generator = pipeline("text-generation", model="None", device="cuda")
|
| 27 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 28 |
+
print(output["generated_text"])
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
## Training procedure
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
This model was trained with SFT.
|
| 38 |
+
|
| 39 |
+
### Framework versions
|
| 40 |
+
|
| 41 |
+
- PEFT 0.18.1
|
| 42 |
+
- TRL: 0.29.0
|
| 43 |
+
- Transformers: 5.2.0
|
| 44 |
+
- Pytorch: 2.10.0
|
| 45 |
+
- Datasets: 4.6.1
|
| 46 |
+
- Tokenizers: 0.22.2
|
| 47 |
+
|
| 48 |
+
## Citations
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
Cite TRL as:
|
| 53 |
+
|
| 54 |
+
```bibtex
|
| 55 |
+
@software{vonwerra2020trl,
|
| 56 |
+
title = {{TRL: Transformers Reinforcement Learning}},
|
| 57 |
+
author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
|
| 58 |
+
license = {Apache-2.0},
|
| 59 |
+
url = {https://github.com/huggingface/trl},
|
| 60 |
+
year = {2020}
|
| 61 |
+
}
|
| 62 |
+
```
|
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": "mistralai/Mistral-7B-Instruct-v0.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": 64,
|
| 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": 32,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"v_proj",
|
| 33 |
+
"o_proj",
|
| 34 |
+
"down_proj",
|
| 35 |
+
"k_proj",
|
| 36 |
+
"q_proj",
|
| 37 |
+
"gate_proj",
|
| 38 |
+
"up_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
|
| 2 |
+
oid sha256:72b013d01342db5b92eb257e6838fd6f864be365af81b172975a1a6377b50672
|
| 3 |
+
size 167832688
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 2 |
+
{%- set system_message = messages[0]['content'] %}
|
| 3 |
+
{%- set loop_messages = messages[1:] %}
|
| 4 |
+
{%- else %}
|
| 5 |
+
{%- set loop_messages = messages %}
|
| 6 |
+
{%- endif %}
|
| 7 |
+
|
| 8 |
+
{{- bos_token }}
|
| 9 |
+
{%- for message in loop_messages %}
|
| 10 |
+
{%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}
|
| 11 |
+
{{- raise_exception('After the optional system message, conversation roles must alternate user/assistant/user/assistant/...') }}
|
| 12 |
+
{%- endif %}
|
| 13 |
+
{%- if message['role'] == 'user' %}
|
| 14 |
+
{%- if loop.first and system_message is defined %}
|
| 15 |
+
{{- ' [INST] ' + system_message + '\n\n' + message['content'] + ' [/INST]' }}
|
| 16 |
+
{%- else %}
|
| 17 |
+
{{- ' [INST] ' + message['content'] + ' [/INST]' }}
|
| 18 |
+
{%- endif %}
|
| 19 |
+
{%- elif message['role'] == 'assistant' %}
|
| 20 |
+
{{- ' ' + message['content'] + eos_token}}
|
| 21 |
+
{%- else %}
|
| 22 |
+
{{- raise_exception('Only user and assistant roles are supported, with the exception of an initial optional system message!') }}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
checkpoint-200/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.2
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:mistralai/Mistral-7B-Instruct-v0.2
|
| 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-200/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": "mistralai/Mistral-7B-Instruct-v0.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": 64,
|
| 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": 32,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"v_proj",
|
| 33 |
+
"o_proj",
|
| 34 |
+
"down_proj",
|
| 35 |
+
"k_proj",
|
| 36 |
+
"q_proj",
|
| 37 |
+
"gate_proj",
|
| 38 |
+
"up_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-200/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ff4187a466f138acc4a47c032b6f3e2851815d25ac627696957f05618cb1eeda
|
| 3 |
+
size 167832688
|
checkpoint-200/chat_template.jinja
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 2 |
+
{%- set system_message = messages[0]['content'] %}
|
| 3 |
+
{%- set loop_messages = messages[1:] %}
|
| 4 |
+
{%- else %}
|
| 5 |
+
{%- set loop_messages = messages %}
|
| 6 |
+
{%- endif %}
|
| 7 |
+
|
| 8 |
+
{{- bos_token }}
|
| 9 |
+
{%- for message in loop_messages %}
|
| 10 |
+
{%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}
|
| 11 |
+
{{- raise_exception('After the optional system message, conversation roles must alternate user/assistant/user/assistant/...') }}
|
| 12 |
+
{%- endif %}
|
| 13 |
+
{%- if message['role'] == 'user' %}
|
| 14 |
+
{%- if loop.first and system_message is defined %}
|
| 15 |
+
{{- ' [INST] ' + system_message + '\n\n' + message['content'] + ' [/INST]' }}
|
| 16 |
+
{%- else %}
|
| 17 |
+
{{- ' [INST] ' + message['content'] + ' [/INST]' }}
|
| 18 |
+
{%- endif %}
|
| 19 |
+
{%- elif message['role'] == 'assistant' %}
|
| 20 |
+
{{- ' ' + message['content'] + eos_token}}
|
| 21 |
+
{%- else %}
|
| 22 |
+
{{- raise_exception('Only user and assistant roles are supported, with the exception of an initial optional system message!') }}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
checkpoint-200/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73161f7a923b24d5ef267c1c9abc4085ddd45eb6f069501347bb3f269518f12b
|
| 3 |
+
size 170934309
|
checkpoint-200/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8631a7b643f0be950f9cd325aaf0b52251278d3aea0914df6a57a18e149fa67
|
| 3 |
+
size 14645
|
checkpoint-200/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd974eab46a8eb1ebfc832ad484cc313ed5be41647092e7185c8c638c948c9e7
|
| 3 |
+
size 1465
|
checkpoint-200/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-200/tokenizer_config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": null,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<s>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "</s>",
|
| 7 |
+
"extra_special_tokens": [],
|
| 8 |
+
"is_local": false,
|
| 9 |
+
"legacy": false,
|
| 10 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 11 |
+
"pad_token": "</s>",
|
| 12 |
+
"sp_model_kwargs": {},
|
| 13 |
+
"spaces_between_special_tokens": false,
|
| 14 |
+
"tokenizer_class": "TokenizersBackend",
|
| 15 |
+
"unk_token": "<unk>",
|
| 16 |
+
"use_default_system_prompt": false
|
| 17 |
+
}
|
checkpoint-200/trainer_state.json
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 2.502749410840534,
|
| 6 |
+
"eval_steps": 100,
|
| 7 |
+
"global_step": 200,
|
| 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.4948265369981528,
|
| 14 |
+
"epoch": 0.12568735271013354,
|
| 15 |
+
"grad_norm": 0.0615234375,
|
| 16 |
+
"learning_rate": 0.00015000000000000001,
|
| 17 |
+
"loss": 1.7029500961303712,
|
| 18 |
+
"mean_token_accuracy": 0.6537273893132806,
|
| 19 |
+
"num_tokens": 156024.0,
|
| 20 |
+
"step": 10
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"entropy": 1.1234326036646962,
|
| 24 |
+
"epoch": 0.2513747054202671,
|
| 25 |
+
"grad_norm": 0.037353515625,
|
| 26 |
+
"learning_rate": 0.00019953520716943371,
|
| 27 |
+
"loss": 1.1771140098571777,
|
| 28 |
+
"mean_token_accuracy": 0.7510503690689803,
|
| 29 |
+
"num_tokens": 298620.0,
|
| 30 |
+
"step": 20
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"entropy": 1.0369394151493907,
|
| 34 |
+
"epoch": 0.3770620581304006,
|
| 35 |
+
"grad_norm": 0.0267333984375,
|
| 36 |
+
"learning_rate": 0.0001972690659618564,
|
| 37 |
+
"loss": 1.1110390663146972,
|
| 38 |
+
"mean_token_accuracy": 0.7662029687315226,
|
| 39 |
+
"num_tokens": 449966.0,
|
| 40 |
+
"step": 30
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"entropy": 1.0444004433229566,
|
| 44 |
+
"epoch": 0.5027494108405341,
|
| 45 |
+
"grad_norm": 0.02880859375,
|
| 46 |
+
"learning_rate": 0.0001931591088051279,
|
| 47 |
+
"loss": 1.1269343376159668,
|
| 48 |
+
"mean_token_accuracy": 0.7651370905339718,
|
| 49 |
+
"num_tokens": 608754.0,
|
| 50 |
+
"step": 40
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"entropy": 1.051739121414721,
|
| 54 |
+
"epoch": 0.6284367635506677,
|
| 55 |
+
"grad_norm": 0.0255126953125,
|
| 56 |
+
"learning_rate": 0.00018728324335139814,
|
| 57 |
+
"loss": 1.088887882232666,
|
| 58 |
+
"mean_token_accuracy": 0.7666051037609577,
|
| 59 |
+
"num_tokens": 764583.0,
|
| 60 |
+
"step": 50
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"entropy": 0.9839291835203767,
|
| 64 |
+
"epoch": 0.7541241162608012,
|
| 65 |
+
"grad_norm": 0.029052734375,
|
| 66 |
+
"learning_rate": 0.0001797528515115709,
|
| 67 |
+
"loss": 1.020584487915039,
|
| 68 |
+
"mean_token_accuracy": 0.7803368698805571,
|
| 69 |
+
"num_tokens": 912716.0,
|
| 70 |
+
"step": 60
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"entropy": 1.0362637933343648,
|
| 74 |
+
"epoch": 0.8798114689709348,
|
| 75 |
+
"grad_norm": 0.0244140625,
|
| 76 |
+
"learning_rate": 0.00017071067811865476,
|
| 77 |
+
"loss": 1.0753373146057128,
|
| 78 |
+
"mean_token_accuracy": 0.7713750531896949,
|
| 79 |
+
"num_tokens": 1064494.0,
|
| 80 |
+
"step": 70
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"entropy": 0.9550455894345552,
|
| 84 |
+
"epoch": 1.0,
|
| 85 |
+
"grad_norm": 0.02880859375,
|
| 86 |
+
"learning_rate": 0.0001603281250808719,
|
| 87 |
+
"loss": 0.9675676345825195,
|
| 88 |
+
"mean_token_accuracy": 0.7857394160008898,
|
| 89 |
+
"num_tokens": 1201271.0,
|
| 90 |
+
"step": 80
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"entropy": 0.9374621393159032,
|
| 94 |
+
"epoch": 1.1256873527101336,
|
| 95 |
+
"grad_norm": 0.0244140625,
|
| 96 |
+
"learning_rate": 0.00014880200231609983,
|
| 97 |
+
"loss": 0.9870312690734864,
|
| 98 |
+
"mean_token_accuracy": 0.7901170210912823,
|
| 99 |
+
"num_tokens": 1349133.0,
|
| 100 |
+
"step": 90
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"entropy": 0.949882148578763,
|
| 104 |
+
"epoch": 1.251374705420267,
|
| 105 |
+
"grad_norm": 0.03173828125,
|
| 106 |
+
"learning_rate": 0.00013635079705638298,
|
| 107 |
+
"loss": 0.9436046600341796,
|
| 108 |
+
"mean_token_accuracy": 0.788494935259223,
|
| 109 |
+
"num_tokens": 1500927.0,
|
| 110 |
+
"step": 100
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"epoch": 1.251374705420267,
|
| 114 |
+
"eval_entropy": 0.9404270783276625,
|
| 115 |
+
"eval_loss": 0.9446325302124023,
|
| 116 |
+
"eval_mean_token_accuracy": 0.7829881757497787,
|
| 117 |
+
"eval_num_tokens": 1500927.0,
|
| 118 |
+
"eval_runtime": 86.1079,
|
| 119 |
+
"eval_samples_per_second": 1.649,
|
| 120 |
+
"eval_steps_per_second": 1.649,
|
| 121 |
+
"step": 100
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"entropy": 0.9173299714922905,
|
| 125 |
+
"epoch": 1.3770620581304005,
|
| 126 |
+
"grad_norm": 0.0233154296875,
|
| 127 |
+
"learning_rate": 0.0001232105322409468,
|
| 128 |
+
"loss": 0.9481925964355469,
|
| 129 |
+
"mean_token_accuracy": 0.7930883213877677,
|
| 130 |
+
"num_tokens": 1646678.0,
|
| 131 |
+
"step": 110
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"entropy": 0.9073959412053227,
|
| 135 |
+
"epoch": 1.5027494108405341,
|
| 136 |
+
"grad_norm": 0.03076171875,
|
| 137 |
+
"learning_rate": 0.00010963029250531418,
|
| 138 |
+
"loss": 0.9351880073547363,
|
| 139 |
+
"mean_token_accuracy": 0.7968914289027452,
|
| 140 |
+
"num_tokens": 1799797.0,
|
| 141 |
+
"step": 120
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"entropy": 0.9462396390736103,
|
| 145 |
+
"epoch": 1.6284367635506678,
|
| 146 |
+
"grad_norm": 0.029296875,
|
| 147 |
+
"learning_rate": 9.586750257511867e-05,
|
| 148 |
+
"loss": 0.9954720497131347,
|
| 149 |
+
"mean_token_accuracy": 0.789978607185185,
|
| 150 |
+
"num_tokens": 1958692.0,
|
| 151 |
+
"step": 130
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"entropy": 0.9035223769024014,
|
| 155 |
+
"epoch": 1.7541241162608012,
|
| 156 |
+
"grad_norm": 0.02880859375,
|
| 157 |
+
"learning_rate": 8.218304756658072e-05,
|
| 158 |
+
"loss": 0.9473580360412598,
|
| 159 |
+
"mean_token_accuracy": 0.7965094247832895,
|
| 160 |
+
"num_tokens": 2098856.0,
|
| 161 |
+
"step": 140
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"entropy": 0.9002945913001895,
|
| 165 |
+
"epoch": 1.8798114689709347,
|
| 166 |
+
"grad_norm": 0.035888671875,
|
| 167 |
+
"learning_rate": 6.883632769240589e-05,
|
| 168 |
+
"loss": 0.9326913833618165,
|
| 169 |
+
"mean_token_accuracy": 0.800568002089858,
|
| 170 |
+
"num_tokens": 2253582.0,
|
| 171 |
+
"step": 150
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"entropy": 0.8597502765897053,
|
| 175 |
+
"epoch": 2.0,
|
| 176 |
+
"grad_norm": 0.031494140625,
|
| 177 |
+
"learning_rate": 5.608034111526298e-05,
|
| 178 |
+
"loss": 0.8665840148925781,
|
| 179 |
+
"mean_token_accuracy": 0.8103327634287816,
|
| 180 |
+
"num_tokens": 2402542.0,
|
| 181 |
+
"step": 160
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"entropy": 0.8727964337915182,
|
| 185 |
+
"epoch": 2.1256873527101336,
|
| 186 |
+
"grad_norm": 0.03173828125,
|
| 187 |
+
"learning_rate": 4.415688815743858e-05,
|
| 188 |
+
"loss": 0.9112902641296386,
|
| 189 |
+
"mean_token_accuracy": 0.8074018105864524,
|
| 190 |
+
"num_tokens": 2554831.0,
|
| 191 |
+
"step": 170
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"entropy": 0.8327508143149316,
|
| 195 |
+
"epoch": 2.2513747054202673,
|
| 196 |
+
"grad_norm": 0.03955078125,
|
| 197 |
+
"learning_rate": 3.329198777485869e-05,
|
| 198 |
+
"loss": 0.8397786140441894,
|
| 199 |
+
"mean_token_accuracy": 0.816638495773077,
|
| 200 |
+
"num_tokens": 2700898.0,
|
| 201 |
+
"step": 180
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"entropy": 0.8549322345294058,
|
| 205 |
+
"epoch": 2.3770620581304005,
|
| 206 |
+
"grad_norm": 0.041015625,
|
| 207 |
+
"learning_rate": 2.3691593180019366e-05,
|
| 208 |
+
"loss": 0.8526265144348144,
|
| 209 |
+
"mean_token_accuracy": 0.8113520180806517,
|
| 210 |
+
"num_tokens": 2854824.0,
|
| 211 |
+
"step": 190
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"entropy": 0.8102049398235976,
|
| 215 |
+
"epoch": 2.502749410840534,
|
| 216 |
+
"grad_norm": 0.06787109375,
|
| 217 |
+
"learning_rate": 1.553768782775351e-05,
|
| 218 |
+
"loss": 0.8202457427978516,
|
| 219 |
+
"mean_token_accuracy": 0.8225593730807305,
|
| 220 |
+
"num_tokens": 3003572.0,
|
| 221 |
+
"step": 200
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"epoch": 2.502749410840534,
|
| 225 |
+
"eval_entropy": 0.8503286918284187,
|
| 226 |
+
"eval_loss": 0.8580905795097351,
|
| 227 |
+
"eval_mean_token_accuracy": 0.8025841964802272,
|
| 228 |
+
"eval_num_tokens": 3003572.0,
|
| 229 |
+
"eval_runtime": 85.9551,
|
| 230 |
+
"eval_samples_per_second": 1.652,
|
| 231 |
+
"eval_steps_per_second": 1.652,
|
| 232 |
+
"step": 200
|
| 233 |
+
}
|
| 234 |
+
],
|
| 235 |
+
"logging_steps": 10,
|
| 236 |
+
"max_steps": 240,
|
| 237 |
+
"num_input_tokens_seen": 0,
|
| 238 |
+
"num_train_epochs": 3,
|
| 239 |
+
"save_steps": 200,
|
| 240 |
+
"stateful_callbacks": {
|
| 241 |
+
"TrainerControl": {
|
| 242 |
+
"args": {
|
| 243 |
+
"should_epoch_stop": false,
|
| 244 |
+
"should_evaluate": false,
|
| 245 |
+
"should_log": false,
|
| 246 |
+
"should_save": true,
|
| 247 |
+
"should_training_stop": false
|
| 248 |
+
},
|
| 249 |
+
"attributes": {}
|
| 250 |
+
}
|
| 251 |
+
},
|
| 252 |
+
"total_flos": 1.2965602468164403e+17,
|
| 253 |
+
"train_batch_size": 1,
|
| 254 |
+
"trial_name": null,
|
| 255 |
+
"trial_params": null
|
| 256 |
+
}
|
checkpoint-200/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13b53f9087af6406754f9d4a944b842846aaebb983e7344dbff137c8f3f21285
|
| 3 |
+
size 5649
|
checkpoint-240/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.2
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:mistralai/Mistral-7B-Instruct-v0.2
|
| 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-240/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": "mistralai/Mistral-7B-Instruct-v0.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": 64,
|
| 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": 32,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"v_proj",
|
| 33 |
+
"o_proj",
|
| 34 |
+
"down_proj",
|
| 35 |
+
"k_proj",
|
| 36 |
+
"q_proj",
|
| 37 |
+
"gate_proj",
|
| 38 |
+
"up_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-240/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72b013d01342db5b92eb257e6838fd6f864be365af81b172975a1a6377b50672
|
| 3 |
+
size 167832688
|
checkpoint-240/chat_template.jinja
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 2 |
+
{%- set system_message = messages[0]['content'] %}
|
| 3 |
+
{%- set loop_messages = messages[1:] %}
|
| 4 |
+
{%- else %}
|
| 5 |
+
{%- set loop_messages = messages %}
|
| 6 |
+
{%- endif %}
|
| 7 |
+
|
| 8 |
+
{{- bos_token }}
|
| 9 |
+
{%- for message in loop_messages %}
|
| 10 |
+
{%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}
|
| 11 |
+
{{- raise_exception('After the optional system message, conversation roles must alternate user/assistant/user/assistant/...') }}
|
| 12 |
+
{%- endif %}
|
| 13 |
+
{%- if message['role'] == 'user' %}
|
| 14 |
+
{%- if loop.first and system_message is defined %}
|
| 15 |
+
{{- ' [INST] ' + system_message + '\n\n' + message['content'] + ' [/INST]' }}
|
| 16 |
+
{%- else %}
|
| 17 |
+
{{- ' [INST] ' + message['content'] + ' [/INST]' }}
|
| 18 |
+
{%- endif %}
|
| 19 |
+
{%- elif message['role'] == 'assistant' %}
|
| 20 |
+
{{- ' ' + message['content'] + eos_token}}
|
| 21 |
+
{%- else %}
|
| 22 |
+
{{- raise_exception('Only user and assistant roles are supported, with the exception of an initial optional system message!') }}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
checkpoint-240/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1b8ebb32685ec9f9f7275850b319072e453a1ac873b9b54b34106838109dc8e
|
| 3 |
+
size 170934309
|
checkpoint-240/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fac6065aad7129a0a012d9dbf74576977fc6e57d2aa725d6d299df37a52ec6f9
|
| 3 |
+
size 14645
|
checkpoint-240/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03ca1a11d830dd1fe262b52bdd49d3d858aa6f94fb097b5f8cbe02edb1720435
|
| 3 |
+
size 1465
|
checkpoint-240/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-240/tokenizer_config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": null,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<s>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "</s>",
|
| 7 |
+
"extra_special_tokens": [],
|
| 8 |
+
"is_local": false,
|
| 9 |
+
"legacy": false,
|
| 10 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 11 |
+
"pad_token": "</s>",
|
| 12 |
+
"sp_model_kwargs": {},
|
| 13 |
+
"spaces_between_special_tokens": false,
|
| 14 |
+
"tokenizer_class": "TokenizersBackend",
|
| 15 |
+
"unk_token": "<unk>",
|
| 16 |
+
"use_default_system_prompt": false
|
| 17 |
+
}
|
checkpoint-240/trainer_state.json
ADDED
|
@@ -0,0 +1,296 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 3.0,
|
| 6 |
+
"eval_steps": 100,
|
| 7 |
+
"global_step": 240,
|
| 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.4948265369981528,
|
| 14 |
+
"epoch": 0.12568735271013354,
|
| 15 |
+
"grad_norm": 0.0615234375,
|
| 16 |
+
"learning_rate": 0.00015000000000000001,
|
| 17 |
+
"loss": 1.7029500961303712,
|
| 18 |
+
"mean_token_accuracy": 0.6537273893132806,
|
| 19 |
+
"num_tokens": 156024.0,
|
| 20 |
+
"step": 10
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"entropy": 1.1234326036646962,
|
| 24 |
+
"epoch": 0.2513747054202671,
|
| 25 |
+
"grad_norm": 0.037353515625,
|
| 26 |
+
"learning_rate": 0.00019953520716943371,
|
| 27 |
+
"loss": 1.1771140098571777,
|
| 28 |
+
"mean_token_accuracy": 0.7510503690689803,
|
| 29 |
+
"num_tokens": 298620.0,
|
| 30 |
+
"step": 20
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"entropy": 1.0369394151493907,
|
| 34 |
+
"epoch": 0.3770620581304006,
|
| 35 |
+
"grad_norm": 0.0267333984375,
|
| 36 |
+
"learning_rate": 0.0001972690659618564,
|
| 37 |
+
"loss": 1.1110390663146972,
|
| 38 |
+
"mean_token_accuracy": 0.7662029687315226,
|
| 39 |
+
"num_tokens": 449966.0,
|
| 40 |
+
"step": 30
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"entropy": 1.0444004433229566,
|
| 44 |
+
"epoch": 0.5027494108405341,
|
| 45 |
+
"grad_norm": 0.02880859375,
|
| 46 |
+
"learning_rate": 0.0001931591088051279,
|
| 47 |
+
"loss": 1.1269343376159668,
|
| 48 |
+
"mean_token_accuracy": 0.7651370905339718,
|
| 49 |
+
"num_tokens": 608754.0,
|
| 50 |
+
"step": 40
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"entropy": 1.051739121414721,
|
| 54 |
+
"epoch": 0.6284367635506677,
|
| 55 |
+
"grad_norm": 0.0255126953125,
|
| 56 |
+
"learning_rate": 0.00018728324335139814,
|
| 57 |
+
"loss": 1.088887882232666,
|
| 58 |
+
"mean_token_accuracy": 0.7666051037609577,
|
| 59 |
+
"num_tokens": 764583.0,
|
| 60 |
+
"step": 50
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"entropy": 0.9839291835203767,
|
| 64 |
+
"epoch": 0.7541241162608012,
|
| 65 |
+
"grad_norm": 0.029052734375,
|
| 66 |
+
"learning_rate": 0.0001797528515115709,
|
| 67 |
+
"loss": 1.020584487915039,
|
| 68 |
+
"mean_token_accuracy": 0.7803368698805571,
|
| 69 |
+
"num_tokens": 912716.0,
|
| 70 |
+
"step": 60
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"entropy": 1.0362637933343648,
|
| 74 |
+
"epoch": 0.8798114689709348,
|
| 75 |
+
"grad_norm": 0.0244140625,
|
| 76 |
+
"learning_rate": 0.00017071067811865476,
|
| 77 |
+
"loss": 1.0753373146057128,
|
| 78 |
+
"mean_token_accuracy": 0.7713750531896949,
|
| 79 |
+
"num_tokens": 1064494.0,
|
| 80 |
+
"step": 70
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"entropy": 0.9550455894345552,
|
| 84 |
+
"epoch": 1.0,
|
| 85 |
+
"grad_norm": 0.02880859375,
|
| 86 |
+
"learning_rate": 0.0001603281250808719,
|
| 87 |
+
"loss": 0.9675676345825195,
|
| 88 |
+
"mean_token_accuracy": 0.7857394160008898,
|
| 89 |
+
"num_tokens": 1201271.0,
|
| 90 |
+
"step": 80
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"entropy": 0.9374621393159032,
|
| 94 |
+
"epoch": 1.1256873527101336,
|
| 95 |
+
"grad_norm": 0.0244140625,
|
| 96 |
+
"learning_rate": 0.00014880200231609983,
|
| 97 |
+
"loss": 0.9870312690734864,
|
| 98 |
+
"mean_token_accuracy": 0.7901170210912823,
|
| 99 |
+
"num_tokens": 1349133.0,
|
| 100 |
+
"step": 90
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"entropy": 0.949882148578763,
|
| 104 |
+
"epoch": 1.251374705420267,
|
| 105 |
+
"grad_norm": 0.03173828125,
|
| 106 |
+
"learning_rate": 0.00013635079705638298,
|
| 107 |
+
"loss": 0.9436046600341796,
|
| 108 |
+
"mean_token_accuracy": 0.788494935259223,
|
| 109 |
+
"num_tokens": 1500927.0,
|
| 110 |
+
"step": 100
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"epoch": 1.251374705420267,
|
| 114 |
+
"eval_entropy": 0.9404270783276625,
|
| 115 |
+
"eval_loss": 0.9446325302124023,
|
| 116 |
+
"eval_mean_token_accuracy": 0.7829881757497787,
|
| 117 |
+
"eval_num_tokens": 1500927.0,
|
| 118 |
+
"eval_runtime": 86.1079,
|
| 119 |
+
"eval_samples_per_second": 1.649,
|
| 120 |
+
"eval_steps_per_second": 1.649,
|
| 121 |
+
"step": 100
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"entropy": 0.9173299714922905,
|
| 125 |
+
"epoch": 1.3770620581304005,
|
| 126 |
+
"grad_norm": 0.0233154296875,
|
| 127 |
+
"learning_rate": 0.0001232105322409468,
|
| 128 |
+
"loss": 0.9481925964355469,
|
| 129 |
+
"mean_token_accuracy": 0.7930883213877677,
|
| 130 |
+
"num_tokens": 1646678.0,
|
| 131 |
+
"step": 110
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"entropy": 0.9073959412053227,
|
| 135 |
+
"epoch": 1.5027494108405341,
|
| 136 |
+
"grad_norm": 0.03076171875,
|
| 137 |
+
"learning_rate": 0.00010963029250531418,
|
| 138 |
+
"loss": 0.9351880073547363,
|
| 139 |
+
"mean_token_accuracy": 0.7968914289027452,
|
| 140 |
+
"num_tokens": 1799797.0,
|
| 141 |
+
"step": 120
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"entropy": 0.9462396390736103,
|
| 145 |
+
"epoch": 1.6284367635506678,
|
| 146 |
+
"grad_norm": 0.029296875,
|
| 147 |
+
"learning_rate": 9.586750257511867e-05,
|
| 148 |
+
"loss": 0.9954720497131347,
|
| 149 |
+
"mean_token_accuracy": 0.789978607185185,
|
| 150 |
+
"num_tokens": 1958692.0,
|
| 151 |
+
"step": 130
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"entropy": 0.9035223769024014,
|
| 155 |
+
"epoch": 1.7541241162608012,
|
| 156 |
+
"grad_norm": 0.02880859375,
|
| 157 |
+
"learning_rate": 8.218304756658072e-05,
|
| 158 |
+
"loss": 0.9473580360412598,
|
| 159 |
+
"mean_token_accuracy": 0.7965094247832895,
|
| 160 |
+
"num_tokens": 2098856.0,
|
| 161 |
+
"step": 140
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"entropy": 0.9002945913001895,
|
| 165 |
+
"epoch": 1.8798114689709347,
|
| 166 |
+
"grad_norm": 0.035888671875,
|
| 167 |
+
"learning_rate": 6.883632769240589e-05,
|
| 168 |
+
"loss": 0.9326913833618165,
|
| 169 |
+
"mean_token_accuracy": 0.800568002089858,
|
| 170 |
+
"num_tokens": 2253582.0,
|
| 171 |
+
"step": 150
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"entropy": 0.8597502765897053,
|
| 175 |
+
"epoch": 2.0,
|
| 176 |
+
"grad_norm": 0.031494140625,
|
| 177 |
+
"learning_rate": 5.608034111526298e-05,
|
| 178 |
+
"loss": 0.8665840148925781,
|
| 179 |
+
"mean_token_accuracy": 0.8103327634287816,
|
| 180 |
+
"num_tokens": 2402542.0,
|
| 181 |
+
"step": 160
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"entropy": 0.8727964337915182,
|
| 185 |
+
"epoch": 2.1256873527101336,
|
| 186 |
+
"grad_norm": 0.03173828125,
|
| 187 |
+
"learning_rate": 4.415688815743858e-05,
|
| 188 |
+
"loss": 0.9112902641296386,
|
| 189 |
+
"mean_token_accuracy": 0.8074018105864524,
|
| 190 |
+
"num_tokens": 2554831.0,
|
| 191 |
+
"step": 170
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"entropy": 0.8327508143149316,
|
| 195 |
+
"epoch": 2.2513747054202673,
|
| 196 |
+
"grad_norm": 0.03955078125,
|
| 197 |
+
"learning_rate": 3.329198777485869e-05,
|
| 198 |
+
"loss": 0.8397786140441894,
|
| 199 |
+
"mean_token_accuracy": 0.816638495773077,
|
| 200 |
+
"num_tokens": 2700898.0,
|
| 201 |
+
"step": 180
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"entropy": 0.8549322345294058,
|
| 205 |
+
"epoch": 2.3770620581304005,
|
| 206 |
+
"grad_norm": 0.041015625,
|
| 207 |
+
"learning_rate": 2.3691593180019366e-05,
|
| 208 |
+
"loss": 0.8526265144348144,
|
| 209 |
+
"mean_token_accuracy": 0.8113520180806517,
|
| 210 |
+
"num_tokens": 2854824.0,
|
| 211 |
+
"step": 190
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"entropy": 0.8102049398235976,
|
| 215 |
+
"epoch": 2.502749410840534,
|
| 216 |
+
"grad_norm": 0.06787109375,
|
| 217 |
+
"learning_rate": 1.553768782775351e-05,
|
| 218 |
+
"loss": 0.8202457427978516,
|
| 219 |
+
"mean_token_accuracy": 0.8225593730807305,
|
| 220 |
+
"num_tokens": 3003572.0,
|
| 221 |
+
"step": 200
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"epoch": 2.502749410840534,
|
| 225 |
+
"eval_entropy": 0.8503286918284187,
|
| 226 |
+
"eval_loss": 0.8580905795097351,
|
| 227 |
+
"eval_mean_token_accuracy": 0.8025841964802272,
|
| 228 |
+
"eval_num_tokens": 3003572.0,
|
| 229 |
+
"eval_runtime": 85.9551,
|
| 230 |
+
"eval_samples_per_second": 1.652,
|
| 231 |
+
"eval_steps_per_second": 1.652,
|
| 232 |
+
"step": 200
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"entropy": 0.8026974092237651,
|
| 236 |
+
"epoch": 2.628436763550668,
|
| 237 |
+
"grad_norm": 0.04736328125,
|
| 238 |
+
"learning_rate": 8.98483576766631e-06,
|
| 239 |
+
"loss": 0.805226993560791,
|
| 240 |
+
"mean_token_accuracy": 0.8234594237059355,
|
| 241 |
+
"num_tokens": 3151440.0,
|
| 242 |
+
"step": 210
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"entropy": 0.7800698866136372,
|
| 246 |
+
"epoch": 2.754124116260801,
|
| 247 |
+
"grad_norm": 0.05029296875,
|
| 248 |
+
"learning_rate": 4.1572517541747294e-06,
|
| 249 |
+
"loss": 0.7574594020843506,
|
| 250 |
+
"mean_token_accuracy": 0.8299322757869959,
|
| 251 |
+
"num_tokens": 3316394.0,
|
| 252 |
+
"step": 220
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"entropy": 0.7608709936961532,
|
| 256 |
+
"epoch": 2.8798114689709347,
|
| 257 |
+
"grad_norm": 0.04736328125,
|
| 258 |
+
"learning_rate": 1.146446652649169e-06,
|
| 259 |
+
"loss": 0.7368635654449462,
|
| 260 |
+
"mean_token_accuracy": 0.8316391207277775,
|
| 261 |
+
"num_tokens": 3459207.0,
|
| 262 |
+
"step": 230
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"entropy": 0.7886644739146326,
|
| 266 |
+
"epoch": 3.0,
|
| 267 |
+
"grad_norm": 0.052001953125,
|
| 268 |
+
"learning_rate": 9.49277494008971e-09,
|
| 269 |
+
"loss": 0.737561845779419,
|
| 270 |
+
"mean_token_accuracy": 0.828946531208512,
|
| 271 |
+
"num_tokens": 3603813.0,
|
| 272 |
+
"step": 240
|
| 273 |
+
}
|
| 274 |
+
],
|
| 275 |
+
"logging_steps": 10,
|
| 276 |
+
"max_steps": 240,
|
| 277 |
+
"num_input_tokens_seen": 0,
|
| 278 |
+
"num_train_epochs": 3,
|
| 279 |
+
"save_steps": 200,
|
| 280 |
+
"stateful_callbacks": {
|
| 281 |
+
"TrainerControl": {
|
| 282 |
+
"args": {
|
| 283 |
+
"should_epoch_stop": false,
|
| 284 |
+
"should_evaluate": false,
|
| 285 |
+
"should_log": false,
|
| 286 |
+
"should_save": true,
|
| 287 |
+
"should_training_stop": true
|
| 288 |
+
},
|
| 289 |
+
"attributes": {}
|
| 290 |
+
}
|
| 291 |
+
},
|
| 292 |
+
"total_flos": 1.5556679422901453e+17,
|
| 293 |
+
"train_batch_size": 1,
|
| 294 |
+
"trial_name": null,
|
| 295 |
+
"trial_params": null
|
| 296 |
+
}
|
checkpoint-240/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13b53f9087af6406754f9d4a944b842846aaebb983e7344dbff137c8f3f21285
|
| 3 |
+
size 5649
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": null,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<s>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "</s>",
|
| 7 |
+
"extra_special_tokens": [],
|
| 8 |
+
"is_local": false,
|
| 9 |
+
"legacy": false,
|
| 10 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 11 |
+
"pad_token": "</s>",
|
| 12 |
+
"sp_model_kwargs": {},
|
| 13 |
+
"spaces_between_special_tokens": false,
|
| 14 |
+
"tokenizer_class": "TokenizersBackend",
|
| 15 |
+
"unk_token": "<unk>",
|
| 16 |
+
"use_default_system_prompt": false
|
| 17 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13b53f9087af6406754f9d4a944b842846aaebb983e7344dbff137c8f3f21285
|
| 3 |
+
size 5649
|