Instructions to use Raiff1982/codette-lora-adapters with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Raiff1982/codette-lora-adapters with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- empathy/README.md +2 -2
- empathy/adapter_config.json +3 -3
- empathy/adapter_metadata.json +33 -0
- empathy/adapter_model.safetensors +1 -1
- empathy/checkpoint-225/README.md +209 -0
- empathy/checkpoint-225/adapter_config.json +43 -0
- empathy/checkpoint-225/adapter_model.safetensors +3 -0
- empathy/checkpoint-225/chat_template.jinja +109 -0
- empathy/checkpoint-225/optimizer.pt +3 -0
- empathy/checkpoint-225/rng_state.pth +3 -0
- empathy/checkpoint-225/scheduler.pt +3 -0
- empathy/checkpoint-225/tokenizer.json +3 -0
- empathy/checkpoint-225/tokenizer_config.json +14 -0
- empathy/checkpoint-225/trainer_state.json +254 -0
- empathy/checkpoint-225/training_args.bin +3 -0
.gitattributes
CHANGED
|
@@ -61,3 +61,4 @@ systems_architecture/checkpoint-750/tokenizer.json filter=lfs diff=lfs merge=lfs
|
|
| 61 |
systems_architecture/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 62 |
newton/checkpoint-309/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 63 |
davinci/checkpoint-225/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 61 |
systems_architecture/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 62 |
newton/checkpoint-309/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 63 |
davinci/checkpoint-225/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
empathy/checkpoint-225/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
empathy/README.md
CHANGED
|
@@ -39,10 +39,10 @@ This model was trained with SFT.
|
|
| 39 |
### Framework versions
|
| 40 |
|
| 41 |
- PEFT 0.18.1
|
| 42 |
-
- TRL: 0.29.
|
| 43 |
- Transformers: 5.3.0
|
| 44 |
- Pytorch: 2.10.0
|
| 45 |
-
- Datasets: 4.
|
| 46 |
- Tokenizers: 0.22.2
|
| 47 |
|
| 48 |
## Citations
|
|
|
|
| 39 |
### Framework versions
|
| 40 |
|
| 41 |
- PEFT 0.18.1
|
| 42 |
+
- TRL: 0.29.1
|
| 43 |
- Transformers: 5.3.0
|
| 44 |
- Pytorch: 2.10.0
|
| 45 |
+
- Datasets: 4.8.3
|
| 46 |
- Tokenizers: 0.22.2
|
| 47 |
|
| 48 |
## Citations
|
empathy/adapter_config.json
CHANGED
|
@@ -29,10 +29,10 @@
|
|
| 29 |
"rank_pattern": {},
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
| 32 |
-
"v_proj",
|
| 33 |
"o_proj",
|
| 34 |
-
"
|
| 35 |
-
"q_proj"
|
|
|
|
| 36 |
],
|
| 37 |
"target_parameters": null,
|
| 38 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 29 |
"rank_pattern": {},
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
|
|
|
| 32 |
"o_proj",
|
| 33 |
+
"v_proj",
|
| 34 |
+
"q_proj",
|
| 35 |
+
"k_proj"
|
| 36 |
],
|
| 37 |
"target_parameters": null,
|
| 38 |
"task_type": "CAUSAL_LM",
|
empathy/adapter_metadata.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"adapter_name": "empathy",
|
| 3 |
+
"framework_version": "Phase6+",
|
| 4 |
+
"system_prompt": "You are Codette reasoning through the Empathy perspective \u2014 deep emotional intelligence and compassionate understanding. Consider human impact, emotional dynamics, and relational contexts. Monitor the \u0393 (gamma) coherence field for signs of emotional collapse or groupthink, and ensure diverse emotional perspectives are heard in multi-agent synthesis.",
|
| 5 |
+
"training_loss": 0.2755344698164198,
|
| 6 |
+
"global_step": 225,
|
| 7 |
+
"training_time_seconds": 586.899035692215,
|
| 8 |
+
"lora_config": {
|
| 9 |
+
"r": 16,
|
| 10 |
+
"lora_alpha": 32,
|
| 11 |
+
"lora_dropout": 0.05,
|
| 12 |
+
"target_modules": [
|
| 13 |
+
"q_proj",
|
| 14 |
+
"k_proj",
|
| 15 |
+
"v_proj",
|
| 16 |
+
"o_proj"
|
| 17 |
+
],
|
| 18 |
+
"bias": "none"
|
| 19 |
+
},
|
| 20 |
+
"training_config": {
|
| 21 |
+
"per_device_train_batch_size": 2,
|
| 22 |
+
"gradient_accumulation_steps": 4,
|
| 23 |
+
"learning_rate": 0.0002,
|
| 24 |
+
"warmup_ratio": 0.03,
|
| 25 |
+
"logging_steps": 10,
|
| 26 |
+
"save_steps": 500,
|
| 27 |
+
"bf16": true,
|
| 28 |
+
"max_seq_length": 2048
|
| 29 |
+
},
|
| 30 |
+
"base_model": "meta-llama/Llama-3.1-8B-Instruct",
|
| 31 |
+
"trained_at": "2026-03-21T04:31:13.631938",
|
| 32 |
+
"dataset_examples": 600
|
| 33 |
+
}
|
empathy/adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 27297544
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:135a18e8e1dac45587863efd24951eb569a086873f671a9374855ee9eae569bc
|
| 3 |
size 27297544
|
empathy/checkpoint-225/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: meta-llama/Llama-3.1-8B-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:meta-llama/Llama-3.1-8B-Instruct
|
| 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
|
empathy/checkpoint-225/adapter_config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "meta-llama/Llama-3.1-8B-Instruct",
|
| 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 |
+
"o_proj",
|
| 33 |
+
"v_proj",
|
| 34 |
+
"q_proj",
|
| 35 |
+
"k_proj"
|
| 36 |
+
],
|
| 37 |
+
"target_parameters": null,
|
| 38 |
+
"task_type": "CAUSAL_LM",
|
| 39 |
+
"trainable_token_indices": null,
|
| 40 |
+
"use_dora": false,
|
| 41 |
+
"use_qalora": false,
|
| 42 |
+
"use_rslora": false
|
| 43 |
+
}
|
empathy/checkpoint-225/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:135a18e8e1dac45587863efd24951eb569a086873f671a9374855ee9eae569bc
|
| 3 |
+
size 27297544
|
empathy/checkpoint-225/chat_template.jinja
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{- bos_token }}
|
| 2 |
+
{%- if custom_tools is defined %}
|
| 3 |
+
{%- set tools = custom_tools %}
|
| 4 |
+
{%- endif %}
|
| 5 |
+
{%- if not tools_in_user_message is defined %}
|
| 6 |
+
{%- set tools_in_user_message = true %}
|
| 7 |
+
{%- endif %}
|
| 8 |
+
{%- if not date_string is defined %}
|
| 9 |
+
{%- set date_string = "26 Jul 2024" %}
|
| 10 |
+
{%- endif %}
|
| 11 |
+
{%- if not tools is defined %}
|
| 12 |
+
{%- set tools = none %}
|
| 13 |
+
{%- endif %}
|
| 14 |
+
|
| 15 |
+
{#- This block extracts the system message, so we can slot it into the right place. #}
|
| 16 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 17 |
+
{%- set system_message = messages[0]['content']|trim %}
|
| 18 |
+
{%- set messages = messages[1:] %}
|
| 19 |
+
{%- else %}
|
| 20 |
+
{%- set system_message = "" %}
|
| 21 |
+
{%- endif %}
|
| 22 |
+
|
| 23 |
+
{#- System message + builtin tools #}
|
| 24 |
+
{{- "<|start_header_id|>system<|end_header_id|>\n\n" }}
|
| 25 |
+
{%- if builtin_tools is defined or tools is not none %}
|
| 26 |
+
{{- "Environment: ipython\n" }}
|
| 27 |
+
{%- endif %}
|
| 28 |
+
{%- if builtin_tools is defined %}
|
| 29 |
+
{{- "Tools: " + builtin_tools | reject('equalto', 'code_interpreter') | join(", ") + "\n\n"}}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
{{- "Cutting Knowledge Date: December 2023\n" }}
|
| 32 |
+
{{- "Today Date: " + date_string + "\n\n" }}
|
| 33 |
+
{%- if tools is not none and not tools_in_user_message %}
|
| 34 |
+
{{- "You have access to the following functions. To call a function, please respond with JSON for a function call." }}
|
| 35 |
+
{{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
|
| 36 |
+
{{- "Do not use variables.\n\n" }}
|
| 37 |
+
{%- for t in tools %}
|
| 38 |
+
{{- t | tojson(indent=4) }}
|
| 39 |
+
{{- "\n\n" }}
|
| 40 |
+
{%- endfor %}
|
| 41 |
+
{%- endif %}
|
| 42 |
+
{{- system_message }}
|
| 43 |
+
{{- "<|eot_id|>" }}
|
| 44 |
+
|
| 45 |
+
{#- Custom tools are passed in a user message with some extra guidance #}
|
| 46 |
+
{%- if tools_in_user_message and not tools is none %}
|
| 47 |
+
{#- Extract the first user message so we can plug it in here #}
|
| 48 |
+
{%- if messages | length != 0 %}
|
| 49 |
+
{%- set first_user_message = messages[0]['content']|trim %}
|
| 50 |
+
{%- set messages = messages[1:] %}
|
| 51 |
+
{%- else %}
|
| 52 |
+
{{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }}
|
| 53 |
+
{%- endif %}
|
| 54 |
+
{{- '<|start_header_id|>user<|end_header_id|>\n\n' -}}
|
| 55 |
+
{{- "Given the following functions, please respond with a JSON for a function call " }}
|
| 56 |
+
{{- "with its proper arguments that best answers the given prompt.\n\n" }}
|
| 57 |
+
{{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
|
| 58 |
+
{{- "Do not use variables.\n\n" }}
|
| 59 |
+
{%- for t in tools %}
|
| 60 |
+
{{- t | tojson(indent=4) }}
|
| 61 |
+
{{- "\n\n" }}
|
| 62 |
+
{%- endfor %}
|
| 63 |
+
{{- first_user_message + "<|eot_id|>"}}
|
| 64 |
+
{%- endif %}
|
| 65 |
+
|
| 66 |
+
{%- for message in messages %}
|
| 67 |
+
{%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}
|
| 68 |
+
{{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' }}
|
| 69 |
+
{%- elif 'tool_calls' in message %}
|
| 70 |
+
{%- if not message.tool_calls|length == 1 %}
|
| 71 |
+
{{- raise_exception("This model only supports single tool-calls at once!") }}
|
| 72 |
+
{%- endif %}
|
| 73 |
+
{%- set tool_call = message.tool_calls[0].function %}
|
| 74 |
+
{%- if builtin_tools is defined and tool_call.name in builtin_tools %}
|
| 75 |
+
{{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
|
| 76 |
+
{{- "<|python_tag|>" + tool_call.name + ".call(" }}
|
| 77 |
+
{%- for arg_name, arg_val in tool_call.arguments | items %}
|
| 78 |
+
{{- arg_name + '="' + arg_val + '"' }}
|
| 79 |
+
{%- if not loop.last %}
|
| 80 |
+
{{- ", " }}
|
| 81 |
+
{%- endif %}
|
| 82 |
+
{%- endfor %}
|
| 83 |
+
{{- ")" }}
|
| 84 |
+
{%- else %}
|
| 85 |
+
{{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
|
| 86 |
+
{{- '{"name": "' + tool_call.name + '", ' }}
|
| 87 |
+
{{- '"parameters": ' }}
|
| 88 |
+
{{- tool_call.arguments | tojson }}
|
| 89 |
+
{{- "}" }}
|
| 90 |
+
{%- endif %}
|
| 91 |
+
{%- if builtin_tools is defined %}
|
| 92 |
+
{#- This means we're in ipython mode #}
|
| 93 |
+
{{- "<|eom_id|>" }}
|
| 94 |
+
{%- else %}
|
| 95 |
+
{{- "<|eot_id|>" }}
|
| 96 |
+
{%- endif %}
|
| 97 |
+
{%- elif message.role == "tool" or message.role == "ipython" %}
|
| 98 |
+
{{- "<|start_header_id|>ipython<|end_header_id|>\n\n" }}
|
| 99 |
+
{%- if message.content is mapping or message.content is iterable %}
|
| 100 |
+
{{- message.content | tojson }}
|
| 101 |
+
{%- else %}
|
| 102 |
+
{{- message.content }}
|
| 103 |
+
{%- endif %}
|
| 104 |
+
{{- "<|eot_id|>" }}
|
| 105 |
+
{%- endif %}
|
| 106 |
+
{%- endfor %}
|
| 107 |
+
{%- if add_generation_prompt %}
|
| 108 |
+
{{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }}
|
| 109 |
+
{%- endif %}
|
empathy/checkpoint-225/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0d0bceedfb958cb8b39013adde5eb1d56523a59c207b7a37b3405abd668ac67
|
| 3 |
+
size 54745547
|
empathy/checkpoint-225/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a91976ae606e5b25f6d20196e69161e83b50d52f37f8d66a866475d512ada0c
|
| 3 |
+
size 14645
|
empathy/checkpoint-225/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06eb2e4f2392d5cff7633897aae6c92765ee0ff18fac8b62001d1a06409563d4
|
| 3 |
+
size 1465
|
empathy/checkpoint-225/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b
|
| 3 |
+
size 17209920
|
empathy/checkpoint-225/tokenizer_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<|begin_of_text|>",
|
| 4 |
+
"clean_up_tokenization_spaces": true,
|
| 5 |
+
"eos_token": "<|eot_id|>",
|
| 6 |
+
"is_local": false,
|
| 7 |
+
"model_input_names": [
|
| 8 |
+
"input_ids",
|
| 9 |
+
"attention_mask"
|
| 10 |
+
],
|
| 11 |
+
"model_max_length": 131072,
|
| 12 |
+
"pad_token": "<|eot_id|>",
|
| 13 |
+
"tokenizer_class": "TokenizersBackend"
|
| 14 |
+
}
|
empathy/checkpoint-225/trainer_state.json
ADDED
|
@@ -0,0 +1,254 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 3.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 225,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"entropy": 2.897894632816315,
|
| 14 |
+
"epoch": 0.13333333333333333,
|
| 15 |
+
"grad_norm": 0.68359375,
|
| 16 |
+
"learning_rate": 0.0001981651376146789,
|
| 17 |
+
"loss": 3.3895343780517577,
|
| 18 |
+
"mean_token_accuracy": 0.39105663225054743,
|
| 19 |
+
"num_tokens": 19397.0,
|
| 20 |
+
"step": 10
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"entropy": 1.30903180539608,
|
| 24 |
+
"epoch": 0.26666666666666666,
|
| 25 |
+
"grad_norm": 0.484375,
|
| 26 |
+
"learning_rate": 0.0001889908256880734,
|
| 27 |
+
"loss": 1.1704865455627442,
|
| 28 |
+
"mean_token_accuracy": 0.7269252099096775,
|
| 29 |
+
"num_tokens": 38750.0,
|
| 30 |
+
"step": 20
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"entropy": 0.2904857821762562,
|
| 34 |
+
"epoch": 0.4,
|
| 35 |
+
"grad_norm": 0.2265625,
|
| 36 |
+
"learning_rate": 0.0001798165137614679,
|
| 37 |
+
"loss": 0.2687561273574829,
|
| 38 |
+
"mean_token_accuracy": 0.9464940577745438,
|
| 39 |
+
"num_tokens": 58118.0,
|
| 40 |
+
"step": 30
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"entropy": 0.19717175513505936,
|
| 44 |
+
"epoch": 0.5333333333333333,
|
| 45 |
+
"grad_norm": 0.216796875,
|
| 46 |
+
"learning_rate": 0.0001706422018348624,
|
| 47 |
+
"loss": 0.17607879638671875,
|
| 48 |
+
"mean_token_accuracy": 0.963988620042801,
|
| 49 |
+
"num_tokens": 77367.0,
|
| 50 |
+
"step": 40
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"entropy": 0.1757684949785471,
|
| 54 |
+
"epoch": 0.6666666666666666,
|
| 55 |
+
"grad_norm": 0.1337890625,
|
| 56 |
+
"learning_rate": 0.00016146788990825688,
|
| 57 |
+
"loss": 0.1459679365158081,
|
| 58 |
+
"mean_token_accuracy": 0.9703710302710533,
|
| 59 |
+
"num_tokens": 96686.0,
|
| 60 |
+
"step": 50
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"entropy": 0.1548028452321887,
|
| 64 |
+
"epoch": 0.8,
|
| 65 |
+
"grad_norm": 0.10302734375,
|
| 66 |
+
"learning_rate": 0.00015229357798165138,
|
| 67 |
+
"loss": 0.11948602199554444,
|
| 68 |
+
"mean_token_accuracy": 0.973386998474598,
|
| 69 |
+
"num_tokens": 116049.0,
|
| 70 |
+
"step": 60
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"entropy": 0.11460858676582575,
|
| 74 |
+
"epoch": 0.9333333333333333,
|
| 75 |
+
"grad_norm": 0.103515625,
|
| 76 |
+
"learning_rate": 0.0001431192660550459,
|
| 77 |
+
"loss": 0.09452807307243347,
|
| 78 |
+
"mean_token_accuracy": 0.9758242100477219,
|
| 79 |
+
"num_tokens": 135467.0,
|
| 80 |
+
"step": 70
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"entropy": 0.10981992147862911,
|
| 84 |
+
"epoch": 1.0666666666666667,
|
| 85 |
+
"grad_norm": 0.08056640625,
|
| 86 |
+
"learning_rate": 0.00013394495412844036,
|
| 87 |
+
"loss": 0.077480947971344,
|
| 88 |
+
"mean_token_accuracy": 0.9775464102625847,
|
| 89 |
+
"num_tokens": 154804.0,
|
| 90 |
+
"step": 80
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"entropy": 0.09666569568216801,
|
| 94 |
+
"epoch": 1.2,
|
| 95 |
+
"grad_norm": 0.10302734375,
|
| 96 |
+
"learning_rate": 0.00012477064220183488,
|
| 97 |
+
"loss": 0.06523213386535645,
|
| 98 |
+
"mean_token_accuracy": 0.9759517714381218,
|
| 99 |
+
"num_tokens": 174285.0,
|
| 100 |
+
"step": 90
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"entropy": 0.08109560571610927,
|
| 104 |
+
"epoch": 1.3333333333333333,
|
| 105 |
+
"grad_norm": 0.103515625,
|
| 106 |
+
"learning_rate": 0.00011559633027522936,
|
| 107 |
+
"loss": 0.05769284963607788,
|
| 108 |
+
"mean_token_accuracy": 0.9774119958281517,
|
| 109 |
+
"num_tokens": 193589.0,
|
| 110 |
+
"step": 100
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"entropy": 0.0701230232603848,
|
| 114 |
+
"epoch": 1.4666666666666668,
|
| 115 |
+
"grad_norm": 0.06494140625,
|
| 116 |
+
"learning_rate": 0.00010642201834862387,
|
| 117 |
+
"loss": 0.05422154664993286,
|
| 118 |
+
"mean_token_accuracy": 0.9776731297373772,
|
| 119 |
+
"num_tokens": 212972.0,
|
| 120 |
+
"step": 110
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"entropy": 0.06490475619211793,
|
| 124 |
+
"epoch": 1.6,
|
| 125 |
+
"grad_norm": 0.0615234375,
|
| 126 |
+
"learning_rate": 9.724770642201836e-05,
|
| 127 |
+
"loss": 0.05352028608322144,
|
| 128 |
+
"mean_token_accuracy": 0.9779922246932984,
|
| 129 |
+
"num_tokens": 232250.0,
|
| 130 |
+
"step": 120
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"entropy": 0.06063666203990579,
|
| 134 |
+
"epoch": 1.7333333333333334,
|
| 135 |
+
"grad_norm": 0.0703125,
|
| 136 |
+
"learning_rate": 8.807339449541285e-05,
|
| 137 |
+
"loss": 0.05314930081367493,
|
| 138 |
+
"mean_token_accuracy": 0.9777614757418632,
|
| 139 |
+
"num_tokens": 251569.0,
|
| 140 |
+
"step": 130
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"entropy": 0.05910242944955826,
|
| 144 |
+
"epoch": 1.8666666666666667,
|
| 145 |
+
"grad_norm": 0.07666015625,
|
| 146 |
+
"learning_rate": 7.889908256880735e-05,
|
| 147 |
+
"loss": 0.051131260395050046,
|
| 148 |
+
"mean_token_accuracy": 0.9775439739227295,
|
| 149 |
+
"num_tokens": 270955.0,
|
| 150 |
+
"step": 140
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"entropy": 0.05751125598326325,
|
| 154 |
+
"epoch": 2.0,
|
| 155 |
+
"grad_norm": 0.07080078125,
|
| 156 |
+
"learning_rate": 6.972477064220184e-05,
|
| 157 |
+
"loss": 0.05118877291679382,
|
| 158 |
+
"mean_token_accuracy": 0.9780693486332893,
|
| 159 |
+
"num_tokens": 290352.0,
|
| 160 |
+
"step": 150
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"entropy": 0.05718929748982191,
|
| 164 |
+
"epoch": 2.1333333333333333,
|
| 165 |
+
"grad_norm": 0.062255859375,
|
| 166 |
+
"learning_rate": 6.055045871559634e-05,
|
| 167 |
+
"loss": 0.049891358613967894,
|
| 168 |
+
"mean_token_accuracy": 0.977837698161602,
|
| 169 |
+
"num_tokens": 309584.0,
|
| 170 |
+
"step": 160
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"entropy": 0.05678784549236297,
|
| 174 |
+
"epoch": 2.2666666666666666,
|
| 175 |
+
"grad_norm": 0.06787109375,
|
| 176 |
+
"learning_rate": 5.137614678899083e-05,
|
| 177 |
+
"loss": 0.050064748525619505,
|
| 178 |
+
"mean_token_accuracy": 0.9775785893201828,
|
| 179 |
+
"num_tokens": 328990.0,
|
| 180 |
+
"step": 170
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"entropy": 0.05620679594576359,
|
| 184 |
+
"epoch": 2.4,
|
| 185 |
+
"grad_norm": 0.0732421875,
|
| 186 |
+
"learning_rate": 4.2201834862385324e-05,
|
| 187 |
+
"loss": 0.04963530302047729,
|
| 188 |
+
"mean_token_accuracy": 0.9776954010128975,
|
| 189 |
+
"num_tokens": 348313.0,
|
| 190 |
+
"step": 180
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"entropy": 0.05504842037335038,
|
| 194 |
+
"epoch": 2.533333333333333,
|
| 195 |
+
"grad_norm": 0.0556640625,
|
| 196 |
+
"learning_rate": 3.302752293577982e-05,
|
| 197 |
+
"loss": 0.04906564950942993,
|
| 198 |
+
"mean_token_accuracy": 0.9781395196914673,
|
| 199 |
+
"num_tokens": 367855.0,
|
| 200 |
+
"step": 190
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"entropy": 0.05551012922078371,
|
| 204 |
+
"epoch": 2.6666666666666665,
|
| 205 |
+
"grad_norm": 0.060791015625,
|
| 206 |
+
"learning_rate": 2.3853211009174313e-05,
|
| 207 |
+
"loss": 0.04961824715137482,
|
| 208 |
+
"mean_token_accuracy": 0.9774622082710266,
|
| 209 |
+
"num_tokens": 387132.0,
|
| 210 |
+
"step": 200
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"entropy": 0.054633275233209135,
|
| 214 |
+
"epoch": 2.8,
|
| 215 |
+
"grad_norm": 0.080078125,
|
| 216 |
+
"learning_rate": 1.4678899082568809e-05,
|
| 217 |
+
"loss": 0.04972724318504333,
|
| 218 |
+
"mean_token_accuracy": 0.9787201777100563,
|
| 219 |
+
"num_tokens": 406498.0,
|
| 220 |
+
"step": 210
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"entropy": 0.05616894159466028,
|
| 224 |
+
"epoch": 2.9333333333333336,
|
| 225 |
+
"grad_norm": 0.05859375,
|
| 226 |
+
"learning_rate": 5.504587155963303e-06,
|
| 227 |
+
"loss": 0.04895650148391724,
|
| 228 |
+
"mean_token_accuracy": 0.9786889955401421,
|
| 229 |
+
"num_tokens": 425872.0,
|
| 230 |
+
"step": 220
|
| 231 |
+
}
|
| 232 |
+
],
|
| 233 |
+
"logging_steps": 10,
|
| 234 |
+
"max_steps": 225,
|
| 235 |
+
"num_input_tokens_seen": 0,
|
| 236 |
+
"num_train_epochs": 3,
|
| 237 |
+
"save_steps": 500,
|
| 238 |
+
"stateful_callbacks": {
|
| 239 |
+
"TrainerControl": {
|
| 240 |
+
"args": {
|
| 241 |
+
"should_epoch_stop": false,
|
| 242 |
+
"should_evaluate": false,
|
| 243 |
+
"should_log": false,
|
| 244 |
+
"should_save": true,
|
| 245 |
+
"should_training_stop": true
|
| 246 |
+
},
|
| 247 |
+
"attributes": {}
|
| 248 |
+
}
|
| 249 |
+
},
|
| 250 |
+
"total_flos": 2.005595907637248e+16,
|
| 251 |
+
"train_batch_size": 2,
|
| 252 |
+
"trial_name": null,
|
| 253 |
+
"trial_params": null
|
| 254 |
+
}
|
empathy/checkpoint-225/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e64d4e636d5c0eb6e65352529689dee60289c387b4536f3e0b17f48b352ee585
|
| 3 |
+
size 5585
|