Instructions to use harshith0214/svg-lora-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use harshith0214/svg-lora-v2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen2.5-7b-instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "harshith0214/svg-lora-v2") - Transformers
How to use harshith0214/svg-lora-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="harshith0214/svg-lora-v2") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("harshith0214/svg-lora-v2", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use harshith0214/svg-lora-v2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "harshith0214/svg-lora-v2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "harshith0214/svg-lora-v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/harshith0214/svg-lora-v2
- SGLang
How to use harshith0214/svg-lora-v2 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "harshith0214/svg-lora-v2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "harshith0214/svg-lora-v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "harshith0214/svg-lora-v2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "harshith0214/svg-lora-v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Studio new
How to use harshith0214/svg-lora-v2 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for harshith0214/svg-lora-v2 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for harshith0214/svg-lora-v2 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for harshith0214/svg-lora-v2 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="harshith0214/svg-lora-v2", max_seq_length=2048, ) - Docker Model Runner
How to use harshith0214/svg-lora-v2 with Docker Model Runner:
docker model run hf.co/harshith0214/svg-lora-v2
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +210 -0
- adapter_config.json +50 -0
- adapter_model.safetensors +3 -0
- chat_template.jinja +54 -0
- tokenizer.json +3 -0
- tokenizer_config.json +15 -0
- trainer_state.json +502 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: unsloth/qwen2.5-7b-instruct-bnb-4bit
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:unsloth/qwen2.5-7b-instruct-bnb-4bit
|
| 7 |
+
- lora
|
| 8 |
+
- sft
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
- unsloth
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Model Card for Model ID
|
| 15 |
+
|
| 16 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
## Model Details
|
| 21 |
+
|
| 22 |
+
### Model Description
|
| 23 |
+
|
| 24 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
- **Developed by:** [More Information Needed]
|
| 29 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 30 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 31 |
+
- **Model type:** [More Information Needed]
|
| 32 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 33 |
+
- **License:** [More Information Needed]
|
| 34 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
### Model Sources [optional]
|
| 37 |
+
|
| 38 |
+
<!-- Provide the basic links for the model. -->
|
| 39 |
+
|
| 40 |
+
- **Repository:** [More Information Needed]
|
| 41 |
+
- **Paper [optional]:** [More Information Needed]
|
| 42 |
+
- **Demo [optional]:** [More Information Needed]
|
| 43 |
+
|
| 44 |
+
## Uses
|
| 45 |
+
|
| 46 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 47 |
+
|
| 48 |
+
### Direct Use
|
| 49 |
+
|
| 50 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 51 |
+
|
| 52 |
+
[More Information Needed]
|
| 53 |
+
|
| 54 |
+
### Downstream Use [optional]
|
| 55 |
+
|
| 56 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 57 |
+
|
| 58 |
+
[More Information Needed]
|
| 59 |
+
|
| 60 |
+
### Out-of-Scope Use
|
| 61 |
+
|
| 62 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 63 |
+
|
| 64 |
+
[More Information Needed]
|
| 65 |
+
|
| 66 |
+
## Bias, Risks, and Limitations
|
| 67 |
+
|
| 68 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 69 |
+
|
| 70 |
+
[More Information Needed]
|
| 71 |
+
|
| 72 |
+
### Recommendations
|
| 73 |
+
|
| 74 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 75 |
+
|
| 76 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 77 |
+
|
| 78 |
+
## How to Get Started with the Model
|
| 79 |
+
|
| 80 |
+
Use the code below to get started with the model.
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
## Training Details
|
| 85 |
+
|
| 86 |
+
### Training Data
|
| 87 |
+
|
| 88 |
+
<!-- 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. -->
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
### Training Procedure
|
| 93 |
+
|
| 94 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 95 |
+
|
| 96 |
+
#### Preprocessing [optional]
|
| 97 |
+
|
| 98 |
+
[More Information Needed]
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
#### Training Hyperparameters
|
| 102 |
+
|
| 103 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 104 |
+
|
| 105 |
+
#### Speeds, Sizes, Times [optional]
|
| 106 |
+
|
| 107 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 108 |
+
|
| 109 |
+
[More Information Needed]
|
| 110 |
+
|
| 111 |
+
## Evaluation
|
| 112 |
+
|
| 113 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 114 |
+
|
| 115 |
+
### Testing Data, Factors & Metrics
|
| 116 |
+
|
| 117 |
+
#### Testing Data
|
| 118 |
+
|
| 119 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 120 |
+
|
| 121 |
+
[More Information Needed]
|
| 122 |
+
|
| 123 |
+
#### Factors
|
| 124 |
+
|
| 125 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 126 |
+
|
| 127 |
+
[More Information Needed]
|
| 128 |
+
|
| 129 |
+
#### Metrics
|
| 130 |
+
|
| 131 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 132 |
+
|
| 133 |
+
[More Information Needed]
|
| 134 |
+
|
| 135 |
+
### Results
|
| 136 |
+
|
| 137 |
+
[More Information Needed]
|
| 138 |
+
|
| 139 |
+
#### Summary
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
## Model Examination [optional]
|
| 144 |
+
|
| 145 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 146 |
+
|
| 147 |
+
[More Information Needed]
|
| 148 |
+
|
| 149 |
+
## Environmental Impact
|
| 150 |
+
|
| 151 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 152 |
+
|
| 153 |
+
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).
|
| 154 |
+
|
| 155 |
+
- **Hardware Type:** [More Information Needed]
|
| 156 |
+
- **Hours used:** [More Information Needed]
|
| 157 |
+
- **Cloud Provider:** [More Information Needed]
|
| 158 |
+
- **Compute Region:** [More Information Needed]
|
| 159 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 160 |
+
|
| 161 |
+
## Technical Specifications [optional]
|
| 162 |
+
|
| 163 |
+
### Model Architecture and Objective
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
### Compute Infrastructure
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
#### Hardware
|
| 172 |
+
|
| 173 |
+
[More Information Needed]
|
| 174 |
+
|
| 175 |
+
#### Software
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
## Citation [optional]
|
| 180 |
+
|
| 181 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 182 |
+
|
| 183 |
+
**BibTeX:**
|
| 184 |
+
|
| 185 |
+
[More Information Needed]
|
| 186 |
+
|
| 187 |
+
**APA:**
|
| 188 |
+
|
| 189 |
+
[More Information Needed]
|
| 190 |
+
|
| 191 |
+
## Glossary [optional]
|
| 192 |
+
|
| 193 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## More Information [optional]
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
|
| 201 |
+
## Model Card Authors [optional]
|
| 202 |
+
|
| 203 |
+
[More Information Needed]
|
| 204 |
+
|
| 205 |
+
## Model Card Contact
|
| 206 |
+
|
| 207 |
+
[More Information Needed]
|
| 208 |
+
### Framework versions
|
| 209 |
+
|
| 210 |
+
- PEFT 0.18.1
|
adapter_config.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": {
|
| 6 |
+
"base_model_class": "Qwen2ForCausalLM",
|
| 7 |
+
"parent_library": "transformers.models.qwen2.modeling_qwen2",
|
| 8 |
+
"unsloth_fixed": true
|
| 9 |
+
},
|
| 10 |
+
"base_model_name_or_path": "unsloth/qwen2.5-7b-instruct-bnb-4bit",
|
| 11 |
+
"bias": "none",
|
| 12 |
+
"corda_config": null,
|
| 13 |
+
"ensure_weight_tying": false,
|
| 14 |
+
"eva_config": null,
|
| 15 |
+
"exclude_modules": null,
|
| 16 |
+
"fan_in_fan_out": false,
|
| 17 |
+
"inference_mode": true,
|
| 18 |
+
"init_lora_weights": true,
|
| 19 |
+
"layer_replication": null,
|
| 20 |
+
"layers_pattern": null,
|
| 21 |
+
"layers_to_transform": null,
|
| 22 |
+
"loftq_config": {},
|
| 23 |
+
"lora_alpha": 64,
|
| 24 |
+
"lora_bias": false,
|
| 25 |
+
"lora_dropout": 0,
|
| 26 |
+
"megatron_config": null,
|
| 27 |
+
"megatron_core": "megatron.core",
|
| 28 |
+
"modules_to_save": null,
|
| 29 |
+
"peft_type": "LORA",
|
| 30 |
+
"peft_version": "0.18.1",
|
| 31 |
+
"qalora_group_size": 16,
|
| 32 |
+
"r": 64,
|
| 33 |
+
"rank_pattern": {},
|
| 34 |
+
"revision": null,
|
| 35 |
+
"target_modules": [
|
| 36 |
+
"down_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"q_proj",
|
| 39 |
+
"o_proj",
|
| 40 |
+
"gate_proj",
|
| 41 |
+
"v_proj",
|
| 42 |
+
"k_proj"
|
| 43 |
+
],
|
| 44 |
+
"target_parameters": null,
|
| 45 |
+
"task_type": "CAUSAL_LM",
|
| 46 |
+
"trainable_token_indices": null,
|
| 47 |
+
"use_dora": false,
|
| 48 |
+
"use_qalora": false,
|
| 49 |
+
"use_rslora": false
|
| 50 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f9d91724cfada56ffd69d1c8fd78fe2cd949b9b2b1396df9aef072f3d8ae8d8
|
| 3 |
+
size 645975704
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
+
{{- messages[0]['content'] }}
|
| 5 |
+
{%- else %}
|
| 6 |
+
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
|
| 7 |
+
{%- endif %}
|
| 8 |
+
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 9 |
+
{%- for tool in tools %}
|
| 10 |
+
{{- "\n" }}
|
| 11 |
+
{{- tool | tojson }}
|
| 12 |
+
{%- endfor %}
|
| 13 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 14 |
+
{%- else %}
|
| 15 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
+
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
+
{%- else %}
|
| 18 |
+
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
|
| 19 |
+
{%- endif %}
|
| 20 |
+
{%- endif %}
|
| 21 |
+
{%- for message in messages %}
|
| 22 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
|
| 23 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 24 |
+
{%- elif message.role == "assistant" %}
|
| 25 |
+
{{- '<|im_start|>' + message.role }}
|
| 26 |
+
{%- if message.content %}
|
| 27 |
+
{{- '\n' + message.content }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- for tool_call in message.tool_calls %}
|
| 30 |
+
{%- if tool_call.function is defined %}
|
| 31 |
+
{%- set tool_call = tool_call.function %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '\n<tool_call>\n{"name": "' }}
|
| 34 |
+
{{- tool_call.name }}
|
| 35 |
+
{{- '", "arguments": ' }}
|
| 36 |
+
{{- tool_call.arguments | tojson }}
|
| 37 |
+
{{- '}\n</tool_call>' }}
|
| 38 |
+
{%- endfor %}
|
| 39 |
+
{{- '<|im_end|>\n' }}
|
| 40 |
+
{%- elif message.role == "tool" %}
|
| 41 |
+
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 42 |
+
{{- '<|im_start|>user' }}
|
| 43 |
+
{%- endif %}
|
| 44 |
+
{{- '\n<tool_response>\n' }}
|
| 45 |
+
{{- message.content }}
|
| 46 |
+
{{- '\n</tool_response>' }}
|
| 47 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 48 |
+
{{- '<|im_end|>\n' }}
|
| 49 |
+
{%- endif %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{%- if add_generation_prompt %}
|
| 53 |
+
{{- '<|im_start|>assistant\n' }}
|
| 54 |
+
{%- endif %}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd5948af71b4f56cf697f7580814c7ce8b80595ef985544efcacf716126a2e31
|
| 3 |
+
size 11422356
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"is_local": false,
|
| 9 |
+
"model_max_length": 32768,
|
| 10 |
+
"pad_token": "<|PAD_TOKEN|>",
|
| 11 |
+
"padding_side": "right",
|
| 12 |
+
"split_special_tokens": false,
|
| 13 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 14 |
+
"unk_token": null
|
| 15 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,502 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": 1200,
|
| 3 |
+
"best_metric": 0.2331986129283905,
|
| 4 |
+
"best_model_checkpoint": "/scratch/hk4488/SVG-Generation/outputs/svg_sft_v2/checkpoint-1200",
|
| 5 |
+
"epoch": 1.315919374742904,
|
| 6 |
+
"eval_steps": 200,
|
| 7 |
+
"global_step": 1200,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.021938845468257234,
|
| 14 |
+
"grad_norm": 0.14227350056171417,
|
| 15 |
+
"learning_rate": 1.9e-05,
|
| 16 |
+
"loss": 0.6225212097167969,
|
| 17 |
+
"step": 20
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.04387769093651447,
|
| 21 |
+
"grad_norm": 0.10197694599628448,
|
| 22 |
+
"learning_rate": 3.9000000000000006e-05,
|
| 23 |
+
"loss": 0.445261812210083,
|
| 24 |
+
"step": 40
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.0658165364047717,
|
| 28 |
+
"grad_norm": 0.0512363500893116,
|
| 29 |
+
"learning_rate": 5.9e-05,
|
| 30 |
+
"loss": 0.3574248790740967,
|
| 31 |
+
"step": 60
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.08775538187302893,
|
| 35 |
+
"grad_norm": 0.0563778318464756,
|
| 36 |
+
"learning_rate": 7.900000000000001e-05,
|
| 37 |
+
"loss": 0.3272172212600708,
|
| 38 |
+
"step": 80
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.10969422734128617,
|
| 42 |
+
"grad_norm": 0.08214055001735687,
|
| 43 |
+
"learning_rate": 9.900000000000001e-05,
|
| 44 |
+
"loss": 0.31246020793914797,
|
| 45 |
+
"step": 100
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.1316330728095434,
|
| 49 |
+
"grad_norm": 0.09033175557851791,
|
| 50 |
+
"learning_rate": 9.998718148881854e-05,
|
| 51 |
+
"loss": 0.30087225437164306,
|
| 52 |
+
"step": 120
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.15357191827780062,
|
| 56 |
+
"grad_norm": 0.09569519013166428,
|
| 57 |
+
"learning_rate": 9.994599922823862e-05,
|
| 58 |
+
"loss": 0.28826444149017333,
|
| 59 |
+
"step": 140
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.17551076374605787,
|
| 63 |
+
"grad_norm": 0.0767015665769577,
|
| 64 |
+
"learning_rate": 9.987644110531813e-05,
|
| 65 |
+
"loss": 0.30547878742218015,
|
| 66 |
+
"step": 160
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.1974496092143151,
|
| 70 |
+
"grad_norm": 0.07112172991037369,
|
| 71 |
+
"learning_rate": 9.977854663817161e-05,
|
| 72 |
+
"loss": 0.28853645324707033,
|
| 73 |
+
"step": 180
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.21938845468257234,
|
| 77 |
+
"grad_norm": 0.09182991087436676,
|
| 78 |
+
"learning_rate": 9.965237144366463e-05,
|
| 79 |
+
"loss": 0.28967244625091554,
|
| 80 |
+
"step": 200
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.21938845468257234,
|
| 84 |
+
"eval_loss": 0.27366939187049866,
|
| 85 |
+
"eval_runtime": 78.78,
|
| 86 |
+
"eval_samples_per_second": 4.227,
|
| 87 |
+
"eval_steps_per_second": 1.066,
|
| 88 |
+
"step": 200
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"epoch": 0.24132730015082957,
|
| 92 |
+
"grad_norm": 0.07705853879451752,
|
| 93 |
+
"learning_rate": 9.949798720581605e-05,
|
| 94 |
+
"loss": 0.29224610328674316,
|
| 95 |
+
"step": 220
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"epoch": 0.2632661456190868,
|
| 99 |
+
"grad_norm": 0.07098541408777237,
|
| 100 |
+
"learning_rate": 9.931548163507207e-05,
|
| 101 |
+
"loss": 0.276334285736084,
|
| 102 |
+
"step": 240
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"epoch": 0.28520499108734404,
|
| 106 |
+
"grad_norm": 0.07781675457954407,
|
| 107 |
+
"learning_rate": 9.910495841847541e-05,
|
| 108 |
+
"loss": 0.2759185075759888,
|
| 109 |
+
"step": 260
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"epoch": 0.30714383655560124,
|
| 113 |
+
"grad_norm": 0.08888023346662521,
|
| 114 |
+
"learning_rate": 9.886653716075723e-05,
|
| 115 |
+
"loss": 0.27445273399353026,
|
| 116 |
+
"step": 280
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"epoch": 0.3290826820238585,
|
| 120 |
+
"grad_norm": 0.06509074568748474,
|
| 121 |
+
"learning_rate": 9.860035331638622e-05,
|
| 122 |
+
"loss": 0.2757601737976074,
|
| 123 |
+
"step": 300
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"epoch": 0.35102152749211574,
|
| 127 |
+
"grad_norm": 0.09211590141057968,
|
| 128 |
+
"learning_rate": 9.830655811261269e-05,
|
| 129 |
+
"loss": 0.27563354969024656,
|
| 130 |
+
"step": 320
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"epoch": 0.372960372960373,
|
| 134 |
+
"grad_norm": 0.07276469469070435,
|
| 135 |
+
"learning_rate": 9.79853184635516e-05,
|
| 136 |
+
"loss": 0.27464828491210935,
|
| 137 |
+
"step": 340
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"epoch": 0.3948992184286302,
|
| 141 |
+
"grad_norm": 0.08323675394058228,
|
| 142 |
+
"learning_rate": 9.763681687535361e-05,
|
| 143 |
+
"loss": 0.27996742725372314,
|
| 144 |
+
"step": 360
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"epoch": 0.41683806389688743,
|
| 148 |
+
"grad_norm": 0.06468376517295837,
|
| 149 |
+
"learning_rate": 9.726125134251768e-05,
|
| 150 |
+
"loss": 0.26534523963928225,
|
| 151 |
+
"step": 380
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"epoch": 0.4387769093651447,
|
| 155 |
+
"grad_norm": 0.07151263952255249,
|
| 156 |
+
"learning_rate": 9.68588352354043e-05,
|
| 157 |
+
"loss": 0.2829176664352417,
|
| 158 |
+
"step": 400
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"epoch": 0.4387769093651447,
|
| 162 |
+
"eval_loss": 0.258375346660614,
|
| 163 |
+
"eval_runtime": 77.8053,
|
| 164 |
+
"eval_samples_per_second": 4.28,
|
| 165 |
+
"eval_steps_per_second": 1.08,
|
| 166 |
+
"step": 400
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"epoch": 0.4607157548334019,
|
| 170 |
+
"grad_norm": 0.08009252697229385,
|
| 171 |
+
"learning_rate": 9.642979717901318e-05,
|
| 172 |
+
"loss": 0.26982746124267576,
|
| 173 |
+
"step": 420
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"epoch": 0.48265460030165913,
|
| 177 |
+
"grad_norm": 0.06844024360179901,
|
| 178 |
+
"learning_rate": 9.597438092309434e-05,
|
| 179 |
+
"loss": 0.2733712911605835,
|
| 180 |
+
"step": 440
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"epoch": 0.5045934457699164,
|
| 184 |
+
"grad_norm": 0.0659785270690918,
|
| 185 |
+
"learning_rate": 9.549284520366639e-05,
|
| 186 |
+
"loss": 0.2664241552352905,
|
| 187 |
+
"step": 460
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"epoch": 0.5265322912381736,
|
| 191 |
+
"grad_norm": 0.07495546340942383,
|
| 192 |
+
"learning_rate": 9.498546359602058e-05,
|
| 193 |
+
"loss": 0.25587546825408936,
|
| 194 |
+
"step": 480
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"epoch": 0.5484711367064308,
|
| 198 |
+
"grad_norm": 0.06304614990949631,
|
| 199 |
+
"learning_rate": 9.445252435929433e-05,
|
| 200 |
+
"loss": 0.2597985744476318,
|
| 201 |
+
"step": 500
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"epoch": 0.5704099821746881,
|
| 205 |
+
"grad_norm": 0.061547983437776566,
|
| 206 |
+
"learning_rate": 9.389433027270216e-05,
|
| 207 |
+
"loss": 0.2667828559875488,
|
| 208 |
+
"step": 520
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"epoch": 0.5923488276429453,
|
| 212 |
+
"grad_norm": 0.121893972158432,
|
| 213 |
+
"learning_rate": 9.331119846351766e-05,
|
| 214 |
+
"loss": 0.2628504514694214,
|
| 215 |
+
"step": 540
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"epoch": 0.6142876731112025,
|
| 219 |
+
"grad_norm": 0.06609015166759491,
|
| 220 |
+
"learning_rate": 9.27034602269036e-05,
|
| 221 |
+
"loss": 0.2580559492111206,
|
| 222 |
+
"step": 560
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"epoch": 0.6362265185794598,
|
| 226 |
+
"grad_norm": 0.06037086248397827,
|
| 227 |
+
"learning_rate": 9.207146083769294e-05,
|
| 228 |
+
"loss": 0.257999324798584,
|
| 229 |
+
"step": 580
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"epoch": 0.658165364047717,
|
| 233 |
+
"grad_norm": 0.06207006052136421,
|
| 234 |
+
"learning_rate": 9.141555935422756e-05,
|
| 235 |
+
"loss": 0.25744664669036865,
|
| 236 |
+
"step": 600
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"epoch": 0.658165364047717,
|
| 240 |
+
"eval_loss": 0.24755167961120605,
|
| 241 |
+
"eval_runtime": 77.8144,
|
| 242 |
+
"eval_samples_per_second": 4.279,
|
| 243 |
+
"eval_steps_per_second": 1.079,
|
| 244 |
+
"step": 600
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"epoch": 0.6801042095159742,
|
| 248 |
+
"grad_norm": 0.06428562849760056,
|
| 249 |
+
"learning_rate": 9.073612841436621e-05,
|
| 250 |
+
"loss": 0.26201529502868653,
|
| 251 |
+
"step": 620
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"epoch": 0.7020430549842315,
|
| 255 |
+
"grad_norm": 0.06118078902363777,
|
| 256 |
+
"learning_rate": 9.003355402377736e-05,
|
| 257 |
+
"loss": 0.2533463954925537,
|
| 258 |
+
"step": 640
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"epoch": 0.7239819004524887,
|
| 262 |
+
"grad_norm": 0.07041861861944199,
|
| 263 |
+
"learning_rate": 8.93082353366375e-05,
|
| 264 |
+
"loss": 0.26145546436309813,
|
| 265 |
+
"step": 660
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"epoch": 0.745920745920746,
|
| 269 |
+
"grad_norm": 0.07119100540876389,
|
| 270 |
+
"learning_rate": 8.856058442885934e-05,
|
| 271 |
+
"loss": 0.24657819271087647,
|
| 272 |
+
"step": 680
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"epoch": 0.7678595913890032,
|
| 276 |
+
"grad_norm": 0.06876585632562637,
|
| 277 |
+
"learning_rate": 8.779102606397887e-05,
|
| 278 |
+
"loss": 0.2610438823699951,
|
| 279 |
+
"step": 700
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"epoch": 0.7897984368572604,
|
| 283 |
+
"grad_norm": 0.07696516066789627,
|
| 284 |
+
"learning_rate": 8.699999745183391e-05,
|
| 285 |
+
"loss": 0.2537281274795532,
|
| 286 |
+
"step": 720
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"epoch": 0.8117372823255177,
|
| 290 |
+
"grad_norm": 0.06649173051118851,
|
| 291 |
+
"learning_rate": 8.618794800017189e-05,
|
| 292 |
+
"loss": 0.25040783882141116,
|
| 293 |
+
"step": 740
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"epoch": 0.8336761277937749,
|
| 297 |
+
"grad_norm": 0.06621742248535156,
|
| 298 |
+
"learning_rate": 8.535533905932738e-05,
|
| 299 |
+
"loss": 0.2587742805480957,
|
| 300 |
+
"step": 760
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"epoch": 0.8556149732620321,
|
| 304 |
+
"grad_norm": 0.06762684881687164,
|
| 305 |
+
"learning_rate": 8.450264366011475e-05,
|
| 306 |
+
"loss": 0.2528057336807251,
|
| 307 |
+
"step": 780
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"epoch": 0.8775538187302894,
|
| 311 |
+
"grad_norm": 0.07194508612155914,
|
| 312 |
+
"learning_rate": 8.363034624508475e-05,
|
| 313 |
+
"loss": 0.25876269340515134,
|
| 314 |
+
"step": 800
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"epoch": 0.8775538187302894,
|
| 318 |
+
"eval_loss": 0.2410527616739273,
|
| 319 |
+
"eval_runtime": 78.1022,
|
| 320 |
+
"eval_samples_per_second": 4.264,
|
| 321 |
+
"eval_steps_per_second": 1.076,
|
| 322 |
+
"step": 800
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"epoch": 0.8994926641985466,
|
| 326 |
+
"grad_norm": 0.06729619204998016,
|
| 327 |
+
"learning_rate": 8.273894239329778e-05,
|
| 328 |
+
"loss": 0.24897451400756837,
|
| 329 |
+
"step": 820
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"epoch": 0.9214315096668038,
|
| 333 |
+
"grad_norm": 0.061502765864133835,
|
| 334 |
+
"learning_rate": 8.182893853877018e-05,
|
| 335 |
+
"loss": 0.25374341011047363,
|
| 336 |
+
"step": 840
|
| 337 |
+
},
|
| 338 |
+
{
|
| 339 |
+
"epoch": 0.9433703551350611,
|
| 340 |
+
"grad_norm": 0.058828603476285934,
|
| 341 |
+
"learning_rate": 8.09008516827534e-05,
|
| 342 |
+
"loss": 0.25022833347320556,
|
| 343 |
+
"step": 860
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"epoch": 0.9653092006033183,
|
| 347 |
+
"grad_norm": 0.07917571067810059,
|
| 348 |
+
"learning_rate": 7.995520910000965e-05,
|
| 349 |
+
"loss": 0.24162437915802001,
|
| 350 |
+
"step": 880
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"epoch": 0.9872480460715755,
|
| 354 |
+
"grad_norm": 0.06906663626432419,
|
| 355 |
+
"learning_rate": 7.899254803925081e-05,
|
| 356 |
+
"loss": 0.2524584770202637,
|
| 357 |
+
"step": 900
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"epoch": 1.008775538187303,
|
| 361 |
+
"grad_norm": 0.06018976867198944,
|
| 362 |
+
"learning_rate": 7.801341541791102e-05,
|
| 363 |
+
"loss": 0.24264614582061766,
|
| 364 |
+
"step": 920
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"epoch": 1.0307143836555601,
|
| 368 |
+
"grad_norm": 0.06674794107675552,
|
| 369 |
+
"learning_rate": 7.701836751142583e-05,
|
| 370 |
+
"loss": 0.23144776821136476,
|
| 371 |
+
"step": 940
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"epoch": 1.0526532291238173,
|
| 375 |
+
"grad_norm": 0.06158677116036415,
|
| 376 |
+
"learning_rate": 7.600796963719511e-05,
|
| 377 |
+
"loss": 0.24413840770721434,
|
| 378 |
+
"step": 960
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"epoch": 1.0745920745920745,
|
| 382 |
+
"grad_norm": 0.06630289554595947,
|
| 383 |
+
"learning_rate": 7.498279583340874e-05,
|
| 384 |
+
"loss": 0.23648512363433838,
|
| 385 |
+
"step": 980
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"epoch": 1.096530920060332,
|
| 389 |
+
"grad_norm": 0.061364974826574326,
|
| 390 |
+
"learning_rate": 7.39434285329178e-05,
|
| 391 |
+
"loss": 0.25753345489501955,
|
| 392 |
+
"step": 1000
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"epoch": 1.096530920060332,
|
| 396 |
+
"eval_loss": 0.2369629442691803,
|
| 397 |
+
"eval_runtime": 78.0044,
|
| 398 |
+
"eval_samples_per_second": 4.269,
|
| 399 |
+
"eval_steps_per_second": 1.077,
|
| 400 |
+
"step": 1000
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"epoch": 1.1184697655285891,
|
| 404 |
+
"grad_norm": 0.06297387927770615,
|
| 405 |
+
"learning_rate": 7.289045823233657e-05,
|
| 406 |
+
"loss": 0.24016919136047363,
|
| 407 |
+
"step": 1020
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"epoch": 1.1404086109968463,
|
| 411 |
+
"grad_norm": 0.07347658276557922,
|
| 412 |
+
"learning_rate": 7.182448315656311e-05,
|
| 413 |
+
"loss": 0.2379443407058716,
|
| 414 |
+
"step": 1040
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"epoch": 1.1623474564651035,
|
| 418 |
+
"grad_norm": 0.059618670493364334,
|
| 419 |
+
"learning_rate": 7.074610891890934e-05,
|
| 420 |
+
"loss": 0.23564295768737792,
|
| 421 |
+
"step": 1060
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"epoch": 1.1842863019333607,
|
| 425 |
+
"grad_norm": 0.07202780246734619,
|
| 426 |
+
"learning_rate": 6.965594817703333e-05,
|
| 427 |
+
"loss": 0.23296499252319336,
|
| 428 |
+
"step": 1080
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"epoch": 1.206225147401618,
|
| 432 |
+
"grad_norm": 0.06817714124917984,
|
| 433 |
+
"learning_rate": 6.855462028486975e-05,
|
| 434 |
+
"loss": 0.252462100982666,
|
| 435 |
+
"step": 1100
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"epoch": 1.228163992869875,
|
| 439 |
+
"grad_norm": 0.06484023481607437,
|
| 440 |
+
"learning_rate": 6.744275094075565e-05,
|
| 441 |
+
"loss": 0.24110569953918456,
|
| 442 |
+
"step": 1120
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"epoch": 1.2501028383381325,
|
| 446 |
+
"grad_norm": 0.05871213600039482,
|
| 447 |
+
"learning_rate": 6.6320971831952e-05,
|
| 448 |
+
"loss": 0.24410395622253417,
|
| 449 |
+
"step": 1140
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"epoch": 1.2720416838063897,
|
| 453 |
+
"grad_norm": 0.06409748643636703,
|
| 454 |
+
"learning_rate": 6.518992027576267e-05,
|
| 455 |
+
"loss": 0.2396394729614258,
|
| 456 |
+
"step": 1160
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"epoch": 1.293980529274647,
|
| 460 |
+
"grad_norm": 0.06916816532611847,
|
| 461 |
+
"learning_rate": 6.405023885745488e-05,
|
| 462 |
+
"loss": 0.25106277465820315,
|
| 463 |
+
"step": 1180
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"epoch": 1.315919374742904,
|
| 467 |
+
"grad_norm": 0.06698701530694962,
|
| 468 |
+
"learning_rate": 6.290257506518655e-05,
|
| 469 |
+
"loss": 0.23651955127716065,
|
| 470 |
+
"step": 1200
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"epoch": 1.315919374742904,
|
| 474 |
+
"eval_loss": 0.2331986129283905,
|
| 475 |
+
"eval_runtime": 78.0786,
|
| 476 |
+
"eval_samples_per_second": 4.265,
|
| 477 |
+
"eval_steps_per_second": 1.076,
|
| 478 |
+
"step": 1200
|
| 479 |
+
}
|
| 480 |
+
],
|
| 481 |
+
"logging_steps": 20,
|
| 482 |
+
"max_steps": 2736,
|
| 483 |
+
"num_input_tokens_seen": 0,
|
| 484 |
+
"num_train_epochs": 3,
|
| 485 |
+
"save_steps": 200,
|
| 486 |
+
"stateful_callbacks": {
|
| 487 |
+
"TrainerControl": {
|
| 488 |
+
"args": {
|
| 489 |
+
"should_epoch_stop": false,
|
| 490 |
+
"should_evaluate": false,
|
| 491 |
+
"should_log": false,
|
| 492 |
+
"should_save": true,
|
| 493 |
+
"should_training_stop": false
|
| 494 |
+
},
|
| 495 |
+
"attributes": {}
|
| 496 |
+
}
|
| 497 |
+
},
|
| 498 |
+
"total_flos": 6.789060984339809e+18,
|
| 499 |
+
"train_batch_size": 2,
|
| 500 |
+
"trial_name": null,
|
| 501 |
+
"trial_params": null
|
| 502 |
+
}
|