Instructions to use ynanxiu/qwen25-3b-coffee-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ynanxiu/qwen25-3b-coffee-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-3B-Instruct") model = PeftModel.from_pretrained(base_model, "ynanxiu/qwen25-3b-coffee-lora") - Transformers
How to use ynanxiu/qwen25-3b-coffee-lora with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ynanxiu/qwen25-3b-coffee-lora") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ynanxiu/qwen25-3b-coffee-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ynanxiu/qwen25-3b-coffee-lora with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf ynanxiu/qwen25-3b-coffee-lora # Run inference directly in the terminal: llama cli -hf ynanxiu/qwen25-3b-coffee-lora
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ynanxiu/qwen25-3b-coffee-lora # Run inference directly in the terminal: llama cli -hf ynanxiu/qwen25-3b-coffee-lora
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf ynanxiu/qwen25-3b-coffee-lora # Run inference directly in the terminal: ./llama-cli -hf ynanxiu/qwen25-3b-coffee-lora
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf ynanxiu/qwen25-3b-coffee-lora # Run inference directly in the terminal: ./build/bin/llama-cli -hf ynanxiu/qwen25-3b-coffee-lora
Use Docker
docker model run hf.co/ynanxiu/qwen25-3b-coffee-lora
- LM Studio
- Jan
- vLLM
How to use ynanxiu/qwen25-3b-coffee-lora with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ynanxiu/qwen25-3b-coffee-lora" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ynanxiu/qwen25-3b-coffee-lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ynanxiu/qwen25-3b-coffee-lora
- SGLang
How to use ynanxiu/qwen25-3b-coffee-lora 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 "ynanxiu/qwen25-3b-coffee-lora" \ --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": "ynanxiu/qwen25-3b-coffee-lora", "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 "ynanxiu/qwen25-3b-coffee-lora" \ --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": "ynanxiu/qwen25-3b-coffee-lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use ynanxiu/qwen25-3b-coffee-lora with Ollama:
ollama run hf.co/ynanxiu/qwen25-3b-coffee-lora
- Unsloth Desktop
- Pi
How to use ynanxiu/qwen25-3b-coffee-lora with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ynanxiu/qwen25-3b-coffee-lora
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ynanxiu/qwen25-3b-coffee-lora" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ynanxiu/qwen25-3b-coffee-lora with Docker Model Runner:
docker model run hf.co/ynanxiu/qwen25-3b-coffee-lora
- Lemonade
How to use ynanxiu/qwen25-3b-coffee-lora with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ynanxiu/qwen25-3b-coffee-lora
Run and chat with the model
lemonade run user.qwen25-3b-coffee-lora-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use ynanxiu/qwen25-3b-coffee-lora with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ynanxiu/qwen25-3b-coffee-lora
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default ynanxiu/qwen25-3b-coffee-lora
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ynanxiu/qwen25-3b-coffee-lora with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ynanxiu/qwen25-3b-coffee-lora
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "ynanxiu/qwen25-3b-coffee-lora" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
v29: 87 multi-turn tool samples, price accuracy fix
Browse files- README.md +209 -41
- adapter_config.json +6 -6
- adapter_model.safetensors +1 -1
- chat_template.jinja +54 -0
- checkpoint-1000/README.md +209 -0
- checkpoint-1000/adapter_config.json +48 -0
- checkpoint-1000/adapter_model.safetensors +3 -0
- checkpoint-1000/chat_template.jinja +54 -0
- checkpoint-1000/optimizer.pt +3 -0
- checkpoint-1000/rng_state.pth +3 -0
- checkpoint-1000/scheduler.pt +3 -0
- checkpoint-1000/tokenizer.json +3 -0
- checkpoint-1000/tokenizer_config.json +30 -0
- checkpoint-1000/trainer_state.json +384 -0
- checkpoint-1000/training_args.bin +3 -0
- checkpoint-1161/README.md +209 -0
- checkpoint-1161/adapter_config.json +48 -0
- checkpoint-1161/adapter_model.safetensors +3 -0
- checkpoint-1161/chat_template.jinja +54 -0
- checkpoint-1161/optimizer.pt +3 -0
- checkpoint-1161/rng_state.pth +3 -0
- checkpoint-1161/scheduler.pt +3 -0
- checkpoint-1161/tokenizer.json +3 -0
- checkpoint-1161/tokenizer_config.json +30 -0
- checkpoint-1161/trainer_state.json +440 -0
- checkpoint-1161/training_args.bin +3 -0
- tokenizer.json +2 -2
- tokenizer_config.json +1 -0
README.md
CHANGED
|
@@ -1,41 +1,209 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
-
|
| 7 |
-
- lora
|
| 8 |
-
-
|
| 9 |
-
-
|
| 10 |
-
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2.5-3B-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:Qwen/Qwen2.5-3B-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.19.1
|
adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": "
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
@@ -30,13 +30,13 @@
|
|
| 30 |
"rank_pattern": {},
|
| 31 |
"revision": null,
|
| 32 |
"target_modules": [
|
|
|
|
| 33 |
"down_proj",
|
| 34 |
-
"v_proj",
|
| 35 |
-
"up_proj",
|
| 36 |
-
"gate_proj",
|
| 37 |
"k_proj",
|
| 38 |
-
"
|
| 39 |
-
"
|
|
|
|
|
|
|
| 40 |
],
|
| 41 |
"target_parameters": null,
|
| 42 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen2.5-3B-Instruct",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 30 |
"rank_pattern": {},
|
| 31 |
"revision": null,
|
| 32 |
"target_modules": [
|
| 33 |
+
"o_proj",
|
| 34 |
"down_proj",
|
|
|
|
|
|
|
|
|
|
| 35 |
"k_proj",
|
| 36 |
+
"q_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"v_proj",
|
| 39 |
+
"gate_proj"
|
| 40 |
],
|
| 41 |
"target_parameters": null,
|
| 42 |
"task_type": "CAUSAL_LM",
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 119801528
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37e0bcc89874ad7b6243f9bb7d8a1a5b403a608323019210f95975a62f84a74f
|
| 3 |
size 119801528
|
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 %}
|
checkpoint-1000/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: F:/huggingface_cache/modelscope/Qwen/Qwen2___5-3B-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:F:/huggingface_cache/modelscope/Qwen/Qwen2___5-3B-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.19.1
|
checkpoint-1000/adapter_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "F:/huggingface_cache/modelscope/Qwen/Qwen2___5-3B-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 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
+
"r": 16,
|
| 30 |
+
"rank_pattern": {},
|
| 31 |
+
"revision": null,
|
| 32 |
+
"target_modules": [
|
| 33 |
+
"o_proj",
|
| 34 |
+
"down_proj",
|
| 35 |
+
"k_proj",
|
| 36 |
+
"q_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"v_proj",
|
| 39 |
+
"gate_proj"
|
| 40 |
+
],
|
| 41 |
+
"target_parameters": null,
|
| 42 |
+
"task_type": "CAUSAL_LM",
|
| 43 |
+
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
+
"use_dora": false,
|
| 46 |
+
"use_qalora": false,
|
| 47 |
+
"use_rslora": false
|
| 48 |
+
}
|
checkpoint-1000/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:80494d4c3358ef01360cb1d2c89dc08e23af128de6f12738414a5dbe82487dce
|
| 3 |
+
size 119801528
|
checkpoint-1000/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 %}
|
checkpoint-1000/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:439a97744b71da7f7064b634718de8345baf21952105082e70bdb042d018b116
|
| 3 |
+
size 61397748
|
checkpoint-1000/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d639b55ba2c25f0a7d6432c7a8c2bac3a8d7da3ffb15720faa402b936d30fc4
|
| 3 |
+
size 14244
|
checkpoint-1000/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d65cad729ad10737d79ca1f6caf69e3e9d7bf782ecb2c87c2d2fa8151845241
|
| 3 |
+
size 1064
|
checkpoint-1000/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e2b7649a086fbb9771cd78ec5b7ffa7069e16a82424a382950fedfa1e057861
|
| 3 |
+
size 11421991
|
checkpoint-1000/tokenizer_config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": true,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
+
"model_max_length": 131072,
|
| 26 |
+
"pad_token": "<|im_end|>",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"unk_token": null
|
| 30 |
+
}
|
checkpoint-1000/trainer_state.json
ADDED
|
@@ -0,0 +1,384 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 2.5839793281653747,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 1000,
|
| 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.05167958656330749,
|
| 14 |
+
"grad_norm": 2.3638713359832764,
|
| 15 |
+
"learning_rate": 3.247863247863248e-05,
|
| 16 |
+
"loss": 3.697529602050781,
|
| 17 |
+
"step": 20
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.10335917312661498,
|
| 21 |
+
"grad_norm": 1.4564697742462158,
|
| 22 |
+
"learning_rate": 6.666666666666667e-05,
|
| 23 |
+
"loss": 2.6823841094970704,
|
| 24 |
+
"step": 40
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.15503875968992248,
|
| 28 |
+
"grad_norm": 1.700142502784729,
|
| 29 |
+
"learning_rate": 0.00010085470085470086,
|
| 30 |
+
"loss": 2.2297285079956053,
|
| 31 |
+
"step": 60
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.20671834625322996,
|
| 35 |
+
"grad_norm": 1.4372305870056152,
|
| 36 |
+
"learning_rate": 0.00013504273504273505,
|
| 37 |
+
"loss": 2.0764354705810546,
|
| 38 |
+
"step": 80
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.25839793281653745,
|
| 42 |
+
"grad_norm": 1.347029685974121,
|
| 43 |
+
"learning_rate": 0.00016923076923076923,
|
| 44 |
+
"loss": 2.112162780761719,
|
| 45 |
+
"step": 100
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.31007751937984496,
|
| 49 |
+
"grad_norm": 1.366845965385437,
|
| 50 |
+
"learning_rate": 0.00019999818896254264,
|
| 51 |
+
"loss": 1.9324199676513671,
|
| 52 |
+
"step": 120
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.36175710594315247,
|
| 56 |
+
"grad_norm": 1.6302649974822998,
|
| 57 |
+
"learning_rate": 0.00019978094382897864,
|
| 58 |
+
"loss": 1.9345558166503907,
|
| 59 |
+
"step": 140
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.4134366925064599,
|
| 63 |
+
"grad_norm": 1.0776095390319824,
|
| 64 |
+
"learning_rate": 0.00019920239262746043,
|
| 65 |
+
"loss": 1.9519723892211913,
|
| 66 |
+
"step": 160
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.46511627906976744,
|
| 70 |
+
"grad_norm": 1.4549709558486938,
|
| 71 |
+
"learning_rate": 0.00019826463028765806,
|
| 72 |
+
"loss": 1.8996370315551758,
|
| 73 |
+
"step": 180
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.5167958656330749,
|
| 77 |
+
"grad_norm": 1.1103456020355225,
|
| 78 |
+
"learning_rate": 0.0001969710524401465,
|
| 79 |
+
"loss": 1.9069103240966796,
|
| 80 |
+
"step": 200
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.5684754521963824,
|
| 84 |
+
"grad_norm": 1.1133742332458496,
|
| 85 |
+
"learning_rate": 0.0001953263431208523,
|
| 86 |
+
"loss": 1.9087753295898438,
|
| 87 |
+
"step": 220
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.6201550387596899,
|
| 91 |
+
"grad_norm": 2.0121960639953613,
|
| 92 |
+
"learning_rate": 0.0001933364578101936,
|
| 93 |
+
"loss": 1.8332429885864259,
|
| 94 |
+
"step": 240
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.6718346253229974,
|
| 98 |
+
"grad_norm": 1.308897852897644,
|
| 99 |
+
"learning_rate": 0.0001910086018683293,
|
| 100 |
+
"loss": 1.6910011291503906,
|
| 101 |
+
"step": 260
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.7235142118863049,
|
| 105 |
+
"grad_norm": 1.0277446508407593,
|
| 106 |
+
"learning_rate": 0.0001883512044446023,
|
| 107 |
+
"loss": 1.8142807006835937,
|
| 108 |
+
"step": 280
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.7751937984496124,
|
| 112 |
+
"grad_norm": 1.229369044303894,
|
| 113 |
+
"learning_rate": 0.0001853738879556517,
|
| 114 |
+
"loss": 1.7444652557373046,
|
| 115 |
+
"step": 300
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 0.8268733850129198,
|
| 119 |
+
"grad_norm": 1.3609251976013184,
|
| 120 |
+
"learning_rate": 0.00018208743324271223,
|
| 121 |
+
"loss": 1.8992649078369142,
|
| 122 |
+
"step": 320
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.8785529715762274,
|
| 126 |
+
"grad_norm": 1.1828709840774536,
|
| 127 |
+
"learning_rate": 0.00017850374053426723,
|
| 128 |
+
"loss": 1.7536972045898438,
|
| 129 |
+
"step": 340
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.9302325581395349,
|
| 133 |
+
"grad_norm": 1.5242210626602173,
|
| 134 |
+
"learning_rate": 0.00017463578635540814,
|
| 135 |
+
"loss": 1.739478302001953,
|
| 136 |
+
"step": 360
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 0.9819121447028424,
|
| 140 |
+
"grad_norm": 1.2488418817520142,
|
| 141 |
+
"learning_rate": 0.000170497576539932,
|
| 142 |
+
"loss": 1.6565961837768555,
|
| 143 |
+
"step": 380
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 1.0335917312661498,
|
| 147 |
+
"grad_norm": 1.2542833089828491,
|
| 148 |
+
"learning_rate": 0.00016610409551532005,
|
| 149 |
+
"loss": 1.5599370002746582,
|
| 150 |
+
"step": 400
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 1.0852713178294573,
|
| 154 |
+
"grad_norm": 1.3143174648284912,
|
| 155 |
+
"learning_rate": 0.00016147125204423482,
|
| 156 |
+
"loss": 1.4662731170654297,
|
| 157 |
+
"step": 420
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 1.1369509043927648,
|
| 161 |
+
"grad_norm": 1.5313301086425781,
|
| 162 |
+
"learning_rate": 0.00015661582161900745,
|
| 163 |
+
"loss": 1.4357215881347656,
|
| 164 |
+
"step": 440
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 1.1886304909560723,
|
| 168 |
+
"grad_norm": 1.3127131462097168,
|
| 169 |
+
"learning_rate": 0.00015155538571770218,
|
| 170 |
+
"loss": 1.464371109008789,
|
| 171 |
+
"step": 460
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 1.2403100775193798,
|
| 175 |
+
"grad_norm": 1.862076759338379,
|
| 176 |
+
"learning_rate": 0.0001463082681417131,
|
| 177 |
+
"loss": 1.383882427215576,
|
| 178 |
+
"step": 480
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 1.2919896640826873,
|
| 182 |
+
"grad_norm": 1.5377577543258667,
|
| 183 |
+
"learning_rate": 0.00014089346866541318,
|
| 184 |
+
"loss": 1.418553066253662,
|
| 185 |
+
"step": 500
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 1.3436692506459949,
|
| 189 |
+
"grad_norm": 1.2910993099212646,
|
| 190 |
+
"learning_rate": 0.00013533059423811026,
|
| 191 |
+
"loss": 1.297602653503418,
|
| 192 |
+
"step": 520
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 1.3953488372093024,
|
| 196 |
+
"grad_norm": 1.6720293760299683,
|
| 197 |
+
"learning_rate": 0.00012963978798742693,
|
| 198 |
+
"loss": 1.4095107078552247,
|
| 199 |
+
"step": 540
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"epoch": 1.4470284237726099,
|
| 203 |
+
"grad_norm": 1.1922463178634644,
|
| 204 |
+
"learning_rate": 0.0001238416562811828,
|
| 205 |
+
"loss": 1.3013250350952148,
|
| 206 |
+
"step": 560
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 1.4987080103359174,
|
| 210 |
+
"grad_norm": 1.758894681930542,
|
| 211 |
+
"learning_rate": 0.00011795719411188718,
|
| 212 |
+
"loss": 1.3518531799316407,
|
| 213 |
+
"step": 580
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"epoch": 1.550387596899225,
|
| 217 |
+
"grad_norm": 1.3203513622283936,
|
| 218 |
+
"learning_rate": 0.00011200770907402482,
|
| 219 |
+
"loss": 1.3507440567016602,
|
| 220 |
+
"step": 600
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 1.6020671834625322,
|
| 224 |
+
"grad_norm": 1.7236071825027466,
|
| 225 |
+
"learning_rate": 0.00010601474420941206,
|
| 226 |
+
"loss": 1.3265192985534668,
|
| 227 |
+
"step": 620
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"epoch": 1.65374677002584,
|
| 231 |
+
"grad_norm": 1.2891855239868164,
|
| 232 |
+
"learning_rate": 0.0001,
|
| 233 |
+
"loss": 1.3498372077941894,
|
| 234 |
+
"step": 640
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 1.7054263565891472,
|
| 238 |
+
"grad_norm": 1.2811086177825928,
|
| 239 |
+
"learning_rate": 9.398525579058792e-05,
|
| 240 |
+
"loss": 1.3046882629394532,
|
| 241 |
+
"step": 660
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 1.757105943152455,
|
| 245 |
+
"grad_norm": 1.750326156616211,
|
| 246 |
+
"learning_rate": 8.799229092597521e-05,
|
| 247 |
+
"loss": 1.3613821983337402,
|
| 248 |
+
"step": 680
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"epoch": 1.8087855297157622,
|
| 252 |
+
"grad_norm": 1.6523240804672241,
|
| 253 |
+
"learning_rate": 8.204280588811283e-05,
|
| 254 |
+
"loss": 1.310044002532959,
|
| 255 |
+
"step": 700
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"epoch": 1.8604651162790697,
|
| 259 |
+
"grad_norm": 1.661637306213379,
|
| 260 |
+
"learning_rate": 7.615834371881723e-05,
|
| 261 |
+
"loss": 1.381891918182373,
|
| 262 |
+
"step": 720
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 1.9121447028423773,
|
| 266 |
+
"grad_norm": 1.75870680809021,
|
| 267 |
+
"learning_rate": 7.036021201257309e-05,
|
| 268 |
+
"loss": 1.3166001319885254,
|
| 269 |
+
"step": 740
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"epoch": 1.9638242894056848,
|
| 273 |
+
"grad_norm": 1.7407575845718384,
|
| 274 |
+
"learning_rate": 6.466940576188977e-05,
|
| 275 |
+
"loss": 1.3978623390197753,
|
| 276 |
+
"step": 760
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"epoch": 2.0155038759689923,
|
| 280 |
+
"grad_norm": 1.4094651937484741,
|
| 281 |
+
"learning_rate": 5.9106531334586856e-05,
|
| 282 |
+
"loss": 1.2207921028137207,
|
| 283 |
+
"step": 780
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"epoch": 2.0671834625322996,
|
| 287 |
+
"grad_norm": 1.9725024700164795,
|
| 288 |
+
"learning_rate": 5.369173185828693e-05,
|
| 289 |
+
"loss": 1.063196849822998,
|
| 290 |
+
"step": 800
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 2.1188630490956073,
|
| 294 |
+
"grad_norm": 2.17242693901062,
|
| 295 |
+
"learning_rate": 4.844461428229782e-05,
|
| 296 |
+
"loss": 0.9305953025817871,
|
| 297 |
+
"step": 820
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"epoch": 2.1705426356589146,
|
| 301 |
+
"grad_norm": 2.0476720333099365,
|
| 302 |
+
"learning_rate": 4.338417838099257e-05,
|
| 303 |
+
"loss": 1.0802377700805663,
|
| 304 |
+
"step": 840
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"epoch": 2.2222222222222223,
|
| 308 |
+
"grad_norm": 1.4687016010284424,
|
| 309 |
+
"learning_rate": 3.8528747955765196e-05,
|
| 310 |
+
"loss": 1.0404192924499511,
|
| 311 |
+
"step": 860
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"epoch": 2.2739018087855296,
|
| 315 |
+
"grad_norm": 1.484717607498169,
|
| 316 |
+
"learning_rate": 3.3895904484679984e-05,
|
| 317 |
+
"loss": 0.9234877586364746,
|
| 318 |
+
"step": 880
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 2.3255813953488373,
|
| 322 |
+
"grad_norm": 1.451334834098816,
|
| 323 |
+
"learning_rate": 2.9502423460068006e-05,
|
| 324 |
+
"loss": 0.96743745803833,
|
| 325 |
+
"step": 900
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 2.3772609819121446,
|
| 329 |
+
"grad_norm": 1.5151571035385132,
|
| 330 |
+
"learning_rate": 2.5364213644591896e-05,
|
| 331 |
+
"loss": 0.96029634475708,
|
| 332 |
+
"step": 920
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"epoch": 2.4289405684754524,
|
| 336 |
+
"grad_norm": 2.0482399463653564,
|
| 337 |
+
"learning_rate": 2.1496259465732793e-05,
|
| 338 |
+
"loss": 1.0019394874572753,
|
| 339 |
+
"step": 940
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"epoch": 2.4806201550387597,
|
| 343 |
+
"grad_norm": 1.7261103391647339,
|
| 344 |
+
"learning_rate": 1.7912566757287776e-05,
|
| 345 |
+
"loss": 0.895256519317627,
|
| 346 |
+
"step": 960
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"epoch": 2.532299741602067,
|
| 350 |
+
"grad_norm": 2.007704019546509,
|
| 351 |
+
"learning_rate": 1.462611204434834e-05,
|
| 352 |
+
"loss": 0.9677935600280761,
|
| 353 |
+
"step": 980
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"epoch": 2.5839793281653747,
|
| 357 |
+
"grad_norm": 1.8267065286636353,
|
| 358 |
+
"learning_rate": 1.1648795555397719e-05,
|
| 359 |
+
"loss": 0.8354801177978516,
|
| 360 |
+
"step": 1000
|
| 361 |
+
}
|
| 362 |
+
],
|
| 363 |
+
"logging_steps": 20,
|
| 364 |
+
"max_steps": 1161,
|
| 365 |
+
"num_input_tokens_seen": 0,
|
| 366 |
+
"num_train_epochs": 3,
|
| 367 |
+
"save_steps": 500,
|
| 368 |
+
"stateful_callbacks": {
|
| 369 |
+
"TrainerControl": {
|
| 370 |
+
"args": {
|
| 371 |
+
"should_epoch_stop": false,
|
| 372 |
+
"should_evaluate": false,
|
| 373 |
+
"should_log": false,
|
| 374 |
+
"should_save": true,
|
| 375 |
+
"should_training_stop": false
|
| 376 |
+
},
|
| 377 |
+
"attributes": {}
|
| 378 |
+
}
|
| 379 |
+
},
|
| 380 |
+
"total_flos": 1.2290053619441664e+16,
|
| 381 |
+
"train_batch_size": 1,
|
| 382 |
+
"trial_name": null,
|
| 383 |
+
"trial_params": null
|
| 384 |
+
}
|
checkpoint-1000/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75e975872e5930c36f61eaeb59f1858da285c86d9756ecf98aed0a1cb62993b1
|
| 3 |
+
size 5048
|
checkpoint-1161/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: F:/huggingface_cache/modelscope/Qwen/Qwen2___5-3B-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:F:/huggingface_cache/modelscope/Qwen/Qwen2___5-3B-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.19.1
|
checkpoint-1161/adapter_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "F:/huggingface_cache/modelscope/Qwen/Qwen2___5-3B-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 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
+
"r": 16,
|
| 30 |
+
"rank_pattern": {},
|
| 31 |
+
"revision": null,
|
| 32 |
+
"target_modules": [
|
| 33 |
+
"o_proj",
|
| 34 |
+
"down_proj",
|
| 35 |
+
"k_proj",
|
| 36 |
+
"q_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"v_proj",
|
| 39 |
+
"gate_proj"
|
| 40 |
+
],
|
| 41 |
+
"target_parameters": null,
|
| 42 |
+
"task_type": "CAUSAL_LM",
|
| 43 |
+
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
+
"use_dora": false,
|
| 46 |
+
"use_qalora": false,
|
| 47 |
+
"use_rslora": false
|
| 48 |
+
}
|
checkpoint-1161/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37e0bcc89874ad7b6243f9bb7d8a1a5b403a608323019210f95975a62f84a74f
|
| 3 |
+
size 119801528
|
checkpoint-1161/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 %}
|
checkpoint-1161/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4e7fce77aab9407560ab395856f704f11415f7bf2ac418075e347220bdd8113
|
| 3 |
+
size 61397748
|
checkpoint-1161/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a78ca94069959a5c6f344ef04b897d296d6545aa5c4a623d9d27a54209f0a3d0
|
| 3 |
+
size 14244
|
checkpoint-1161/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5847c3c18dfb94907e152a4d9668157d6b26c5c0cae6eab1e8c589e32d1ca4f7
|
| 3 |
+
size 1064
|
checkpoint-1161/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e2b7649a086fbb9771cd78ec5b7ffa7069e16a82424a382950fedfa1e057861
|
| 3 |
+
size 11421991
|
checkpoint-1161/tokenizer_config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": true,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
+
"model_max_length": 131072,
|
| 26 |
+
"pad_token": "<|im_end|>",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"unk_token": null
|
| 30 |
+
}
|
checkpoint-1161/trainer_state.json
ADDED
|
@@ -0,0 +1,440 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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_checkpoint": null,
|
| 5 |
+
"epoch": 3.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 1161,
|
| 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.05167958656330749,
|
| 14 |
+
"grad_norm": 2.3638713359832764,
|
| 15 |
+
"learning_rate": 3.247863247863248e-05,
|
| 16 |
+
"loss": 3.697529602050781,
|
| 17 |
+
"step": 20
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.10335917312661498,
|
| 21 |
+
"grad_norm": 1.4564697742462158,
|
| 22 |
+
"learning_rate": 6.666666666666667e-05,
|
| 23 |
+
"loss": 2.6823841094970704,
|
| 24 |
+
"step": 40
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.15503875968992248,
|
| 28 |
+
"grad_norm": 1.700142502784729,
|
| 29 |
+
"learning_rate": 0.00010085470085470086,
|
| 30 |
+
"loss": 2.2297285079956053,
|
| 31 |
+
"step": 60
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.20671834625322996,
|
| 35 |
+
"grad_norm": 1.4372305870056152,
|
| 36 |
+
"learning_rate": 0.00013504273504273505,
|
| 37 |
+
"loss": 2.0764354705810546,
|
| 38 |
+
"step": 80
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.25839793281653745,
|
| 42 |
+
"grad_norm": 1.347029685974121,
|
| 43 |
+
"learning_rate": 0.00016923076923076923,
|
| 44 |
+
"loss": 2.112162780761719,
|
| 45 |
+
"step": 100
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.31007751937984496,
|
| 49 |
+
"grad_norm": 1.366845965385437,
|
| 50 |
+
"learning_rate": 0.00019999818896254264,
|
| 51 |
+
"loss": 1.9324199676513671,
|
| 52 |
+
"step": 120
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.36175710594315247,
|
| 56 |
+
"grad_norm": 1.6302649974822998,
|
| 57 |
+
"learning_rate": 0.00019978094382897864,
|
| 58 |
+
"loss": 1.9345558166503907,
|
| 59 |
+
"step": 140
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.4134366925064599,
|
| 63 |
+
"grad_norm": 1.0776095390319824,
|
| 64 |
+
"learning_rate": 0.00019920239262746043,
|
| 65 |
+
"loss": 1.9519723892211913,
|
| 66 |
+
"step": 160
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.46511627906976744,
|
| 70 |
+
"grad_norm": 1.4549709558486938,
|
| 71 |
+
"learning_rate": 0.00019826463028765806,
|
| 72 |
+
"loss": 1.8996370315551758,
|
| 73 |
+
"step": 180
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.5167958656330749,
|
| 77 |
+
"grad_norm": 1.1103456020355225,
|
| 78 |
+
"learning_rate": 0.0001969710524401465,
|
| 79 |
+
"loss": 1.9069103240966796,
|
| 80 |
+
"step": 200
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.5684754521963824,
|
| 84 |
+
"grad_norm": 1.1133742332458496,
|
| 85 |
+
"learning_rate": 0.0001953263431208523,
|
| 86 |
+
"loss": 1.9087753295898438,
|
| 87 |
+
"step": 220
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.6201550387596899,
|
| 91 |
+
"grad_norm": 2.0121960639953613,
|
| 92 |
+
"learning_rate": 0.0001933364578101936,
|
| 93 |
+
"loss": 1.8332429885864259,
|
| 94 |
+
"step": 240
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.6718346253229974,
|
| 98 |
+
"grad_norm": 1.308897852897644,
|
| 99 |
+
"learning_rate": 0.0001910086018683293,
|
| 100 |
+
"loss": 1.6910011291503906,
|
| 101 |
+
"step": 260
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.7235142118863049,
|
| 105 |
+
"grad_norm": 1.0277446508407593,
|
| 106 |
+
"learning_rate": 0.0001883512044446023,
|
| 107 |
+
"loss": 1.8142807006835937,
|
| 108 |
+
"step": 280
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.7751937984496124,
|
| 112 |
+
"grad_norm": 1.229369044303894,
|
| 113 |
+
"learning_rate": 0.0001853738879556517,
|
| 114 |
+
"loss": 1.7444652557373046,
|
| 115 |
+
"step": 300
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 0.8268733850129198,
|
| 119 |
+
"grad_norm": 1.3609251976013184,
|
| 120 |
+
"learning_rate": 0.00018208743324271223,
|
| 121 |
+
"loss": 1.8992649078369142,
|
| 122 |
+
"step": 320
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.8785529715762274,
|
| 126 |
+
"grad_norm": 1.1828709840774536,
|
| 127 |
+
"learning_rate": 0.00017850374053426723,
|
| 128 |
+
"loss": 1.7536972045898438,
|
| 129 |
+
"step": 340
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.9302325581395349,
|
| 133 |
+
"grad_norm": 1.5242210626602173,
|
| 134 |
+
"learning_rate": 0.00017463578635540814,
|
| 135 |
+
"loss": 1.739478302001953,
|
| 136 |
+
"step": 360
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 0.9819121447028424,
|
| 140 |
+
"grad_norm": 1.2488418817520142,
|
| 141 |
+
"learning_rate": 0.000170497576539932,
|
| 142 |
+
"loss": 1.6565961837768555,
|
| 143 |
+
"step": 380
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 1.0335917312661498,
|
| 147 |
+
"grad_norm": 1.2542833089828491,
|
| 148 |
+
"learning_rate": 0.00016610409551532005,
|
| 149 |
+
"loss": 1.5599370002746582,
|
| 150 |
+
"step": 400
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 1.0852713178294573,
|
| 154 |
+
"grad_norm": 1.3143174648284912,
|
| 155 |
+
"learning_rate": 0.00016147125204423482,
|
| 156 |
+
"loss": 1.4662731170654297,
|
| 157 |
+
"step": 420
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 1.1369509043927648,
|
| 161 |
+
"grad_norm": 1.5313301086425781,
|
| 162 |
+
"learning_rate": 0.00015661582161900745,
|
| 163 |
+
"loss": 1.4357215881347656,
|
| 164 |
+
"step": 440
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 1.1886304909560723,
|
| 168 |
+
"grad_norm": 1.3127131462097168,
|
| 169 |
+
"learning_rate": 0.00015155538571770218,
|
| 170 |
+
"loss": 1.464371109008789,
|
| 171 |
+
"step": 460
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 1.2403100775193798,
|
| 175 |
+
"grad_norm": 1.862076759338379,
|
| 176 |
+
"learning_rate": 0.0001463082681417131,
|
| 177 |
+
"loss": 1.383882427215576,
|
| 178 |
+
"step": 480
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 1.2919896640826873,
|
| 182 |
+
"grad_norm": 1.5377577543258667,
|
| 183 |
+
"learning_rate": 0.00014089346866541318,
|
| 184 |
+
"loss": 1.418553066253662,
|
| 185 |
+
"step": 500
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 1.3436692506459949,
|
| 189 |
+
"grad_norm": 1.2910993099212646,
|
| 190 |
+
"learning_rate": 0.00013533059423811026,
|
| 191 |
+
"loss": 1.297602653503418,
|
| 192 |
+
"step": 520
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 1.3953488372093024,
|
| 196 |
+
"grad_norm": 1.6720293760299683,
|
| 197 |
+
"learning_rate": 0.00012963978798742693,
|
| 198 |
+
"loss": 1.4095107078552247,
|
| 199 |
+
"step": 540
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"epoch": 1.4470284237726099,
|
| 203 |
+
"grad_norm": 1.1922463178634644,
|
| 204 |
+
"learning_rate": 0.0001238416562811828,
|
| 205 |
+
"loss": 1.3013250350952148,
|
| 206 |
+
"step": 560
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 1.4987080103359174,
|
| 210 |
+
"grad_norm": 1.758894681930542,
|
| 211 |
+
"learning_rate": 0.00011795719411188718,
|
| 212 |
+
"loss": 1.3518531799316407,
|
| 213 |
+
"step": 580
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"epoch": 1.550387596899225,
|
| 217 |
+
"grad_norm": 1.3203513622283936,
|
| 218 |
+
"learning_rate": 0.00011200770907402482,
|
| 219 |
+
"loss": 1.3507440567016602,
|
| 220 |
+
"step": 600
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 1.6020671834625322,
|
| 224 |
+
"grad_norm": 1.7236071825027466,
|
| 225 |
+
"learning_rate": 0.00010601474420941206,
|
| 226 |
+
"loss": 1.3265192985534668,
|
| 227 |
+
"step": 620
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"epoch": 1.65374677002584,
|
| 231 |
+
"grad_norm": 1.2891855239868164,
|
| 232 |
+
"learning_rate": 0.0001,
|
| 233 |
+
"loss": 1.3498372077941894,
|
| 234 |
+
"step": 640
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 1.7054263565891472,
|
| 238 |
+
"grad_norm": 1.2811086177825928,
|
| 239 |
+
"learning_rate": 9.398525579058792e-05,
|
| 240 |
+
"loss": 1.3046882629394532,
|
| 241 |
+
"step": 660
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 1.757105943152455,
|
| 245 |
+
"grad_norm": 1.750326156616211,
|
| 246 |
+
"learning_rate": 8.799229092597521e-05,
|
| 247 |
+
"loss": 1.3613821983337402,
|
| 248 |
+
"step": 680
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"epoch": 1.8087855297157622,
|
| 252 |
+
"grad_norm": 1.6523240804672241,
|
| 253 |
+
"learning_rate": 8.204280588811283e-05,
|
| 254 |
+
"loss": 1.310044002532959,
|
| 255 |
+
"step": 700
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"epoch": 1.8604651162790697,
|
| 259 |
+
"grad_norm": 1.661637306213379,
|
| 260 |
+
"learning_rate": 7.615834371881723e-05,
|
| 261 |
+
"loss": 1.381891918182373,
|
| 262 |
+
"step": 720
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 1.9121447028423773,
|
| 266 |
+
"grad_norm": 1.75870680809021,
|
| 267 |
+
"learning_rate": 7.036021201257309e-05,
|
| 268 |
+
"loss": 1.3166001319885254,
|
| 269 |
+
"step": 740
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"epoch": 1.9638242894056848,
|
| 273 |
+
"grad_norm": 1.7407575845718384,
|
| 274 |
+
"learning_rate": 6.466940576188977e-05,
|
| 275 |
+
"loss": 1.3978623390197753,
|
| 276 |
+
"step": 760
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"epoch": 2.0155038759689923,
|
| 280 |
+
"grad_norm": 1.4094651937484741,
|
| 281 |
+
"learning_rate": 5.9106531334586856e-05,
|
| 282 |
+
"loss": 1.2207921028137207,
|
| 283 |
+
"step": 780
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"epoch": 2.0671834625322996,
|
| 287 |
+
"grad_norm": 1.9725024700164795,
|
| 288 |
+
"learning_rate": 5.369173185828693e-05,
|
| 289 |
+
"loss": 1.063196849822998,
|
| 290 |
+
"step": 800
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 2.1188630490956073,
|
| 294 |
+
"grad_norm": 2.17242693901062,
|
| 295 |
+
"learning_rate": 4.844461428229782e-05,
|
| 296 |
+
"loss": 0.9305953025817871,
|
| 297 |
+
"step": 820
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"epoch": 2.1705426356589146,
|
| 301 |
+
"grad_norm": 2.0476720333099365,
|
| 302 |
+
"learning_rate": 4.338417838099257e-05,
|
| 303 |
+
"loss": 1.0802377700805663,
|
| 304 |
+
"step": 840
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"epoch": 2.2222222222222223,
|
| 308 |
+
"grad_norm": 1.4687016010284424,
|
| 309 |
+
"learning_rate": 3.8528747955765196e-05,
|
| 310 |
+
"loss": 1.0404192924499511,
|
| 311 |
+
"step": 860
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"epoch": 2.2739018087855296,
|
| 315 |
+
"grad_norm": 1.484717607498169,
|
| 316 |
+
"learning_rate": 3.3895904484679984e-05,
|
| 317 |
+
"loss": 0.9234877586364746,
|
| 318 |
+
"step": 880
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 2.3255813953488373,
|
| 322 |
+
"grad_norm": 1.451334834098816,
|
| 323 |
+
"learning_rate": 2.9502423460068006e-05,
|
| 324 |
+
"loss": 0.96743745803833,
|
| 325 |
+
"step": 900
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 2.3772609819121446,
|
| 329 |
+
"grad_norm": 1.5151571035385132,
|
| 330 |
+
"learning_rate": 2.5364213644591896e-05,
|
| 331 |
+
"loss": 0.96029634475708,
|
| 332 |
+
"step": 920
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"epoch": 2.4289405684754524,
|
| 336 |
+
"grad_norm": 2.0482399463653564,
|
| 337 |
+
"learning_rate": 2.1496259465732793e-05,
|
| 338 |
+
"loss": 1.0019394874572753,
|
| 339 |
+
"step": 940
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"epoch": 2.4806201550387597,
|
| 343 |
+
"grad_norm": 1.7261103391647339,
|
| 344 |
+
"learning_rate": 1.7912566757287776e-05,
|
| 345 |
+
"loss": 0.895256519317627,
|
| 346 |
+
"step": 960
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"epoch": 2.532299741602067,
|
| 350 |
+
"grad_norm": 2.007704019546509,
|
| 351 |
+
"learning_rate": 1.462611204434834e-05,
|
| 352 |
+
"loss": 0.9677935600280761,
|
| 353 |
+
"step": 980
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"epoch": 2.5839793281653747,
|
| 357 |
+
"grad_norm": 1.8267065286636353,
|
| 358 |
+
"learning_rate": 1.1648795555397719e-05,
|
| 359 |
+
"loss": 0.8354801177978516,
|
| 360 |
+
"step": 1000
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"epoch": 2.6356589147286824,
|
| 364 |
+
"grad_norm": 1.7870525121688843,
|
| 365 |
+
"learning_rate": 8.991398131670736e-06,
|
| 366 |
+
"loss": 0.9566716194152832,
|
| 367 |
+
"step": 1020
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"epoch": 2.6873385012919897,
|
| 371 |
+
"grad_norm": 1.9880541563034058,
|
| 372 |
+
"learning_rate": 6.6635421898064044e-06,
|
| 373 |
+
"loss": 1.0232674598693847,
|
| 374 |
+
"step": 1040
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"epoch": 2.739018087855297,
|
| 378 |
+
"grad_norm": 2.129263401031494,
|
| 379 |
+
"learning_rate": 4.673656879147737e-06,
|
| 380 |
+
"loss": 0.9671844482421875,
|
| 381 |
+
"step": 1060
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"epoch": 2.7906976744186047,
|
| 385 |
+
"grad_norm": 2.175595998764038,
|
| 386 |
+
"learning_rate": 3.028947559853523e-06,
|
| 387 |
+
"loss": 0.9111759185791015,
|
| 388 |
+
"step": 1080
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"epoch": 2.842377260981912,
|
| 392 |
+
"grad_norm": 1.1116089820861816,
|
| 393 |
+
"learning_rate": 1.73536971234195e-06,
|
| 394 |
+
"loss": 0.9822587966918945,
|
| 395 |
+
"step": 1100
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"epoch": 2.8940568475452197,
|
| 399 |
+
"grad_norm": 1.9243932962417603,
|
| 400 |
+
"learning_rate": 7.976073725395661e-07,
|
| 401 |
+
"loss": 1.0108543395996095,
|
| 402 |
+
"step": 1120
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"epoch": 2.945736434108527,
|
| 406 |
+
"grad_norm": 2.250251054763794,
|
| 407 |
+
"learning_rate": 2.19056171021359e-07,
|
| 408 |
+
"loss": 0.9290102005004883,
|
| 409 |
+
"step": 1140
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"epoch": 2.9974160206718348,
|
| 413 |
+
"grad_norm": 1.935916781425476,
|
| 414 |
+
"learning_rate": 1.811037457366549e-09,
|
| 415 |
+
"loss": 0.9710766792297363,
|
| 416 |
+
"step": 1160
|
| 417 |
+
}
|
| 418 |
+
],
|
| 419 |
+
"logging_steps": 20,
|
| 420 |
+
"max_steps": 1161,
|
| 421 |
+
"num_input_tokens_seen": 0,
|
| 422 |
+
"num_train_epochs": 3,
|
| 423 |
+
"save_steps": 500,
|
| 424 |
+
"stateful_callbacks": {
|
| 425 |
+
"TrainerControl": {
|
| 426 |
+
"args": {
|
| 427 |
+
"should_epoch_stop": false,
|
| 428 |
+
"should_evaluate": false,
|
| 429 |
+
"should_log": false,
|
| 430 |
+
"should_save": true,
|
| 431 |
+
"should_training_stop": true
|
| 432 |
+
},
|
| 433 |
+
"attributes": {}
|
| 434 |
+
}
|
| 435 |
+
},
|
| 436 |
+
"total_flos": 1.424830588526592e+16,
|
| 437 |
+
"train_batch_size": 1,
|
| 438 |
+
"trial_name": null,
|
| 439 |
+
"trial_params": null
|
| 440 |
+
}
|
checkpoint-1161/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75e975872e5930c36f61eaeb59f1858da285c86d9756ecf98aed0a1cb62993b1
|
| 3 |
+
size 5048
|
tokenizer.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e2b7649a086fbb9771cd78ec5b7ffa7069e16a82424a382950fedfa1e057861
|
| 3 |
+
size 11421991
|
tokenizer_config.json
CHANGED
|
@@ -21,6 +21,7 @@
|
|
| 21 |
"<|video_pad|>"
|
| 22 |
],
|
| 23 |
"is_local": true,
|
|
|
|
| 24 |
"model_max_length": 131072,
|
| 25 |
"pad_token": "<|im_end|>",
|
| 26 |
"split_special_tokens": false,
|
|
|
|
| 21 |
"<|video_pad|>"
|
| 22 |
],
|
| 23 |
"is_local": true,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
"model_max_length": 131072,
|
| 26 |
"pad_token": "<|im_end|>",
|
| 27 |
"split_special_tokens": false,
|