Upload folder using huggingface_hub
Browse files- README.md +202 -0
- adapter_config.json +39 -0
- adapter_model.safetensors +3 -0
- additional_config.json +1 -0
- args.json +326 -0
- infer_example.sh +7 -0
- infer_result/20250416-160259.jsonl +6 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +242 -0
- training_args.bin +3 -0
- upload_example.sh +6 -0
README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: Qwen/Qwen2___5-3B-Instruct
|
3 |
+
library_name: peft
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- 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. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
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).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.15.2
|
adapter_config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "Qwen/Qwen2___5-3B-Instruct",
|
5 |
+
"bias": "none",
|
6 |
+
"corda_config": null,
|
7 |
+
"eva_config": null,
|
8 |
+
"exclude_modules": null,
|
9 |
+
"fan_in_fan_out": false,
|
10 |
+
"inference_mode": true,
|
11 |
+
"init_lora_weights": true,
|
12 |
+
"layer_replication": null,
|
13 |
+
"layers_pattern": null,
|
14 |
+
"layers_to_transform": null,
|
15 |
+
"loftq_config": {},
|
16 |
+
"lora_alpha": 32,
|
17 |
+
"lora_bias": false,
|
18 |
+
"lora_dropout": 0.05,
|
19 |
+
"megatron_config": null,
|
20 |
+
"megatron_core": "megatron.core",
|
21 |
+
"modules_to_save": [],
|
22 |
+
"peft_type": "LORA",
|
23 |
+
"r": 8,
|
24 |
+
"rank_pattern": {},
|
25 |
+
"revision": null,
|
26 |
+
"target_modules": [
|
27 |
+
"down_proj",
|
28 |
+
"o_proj",
|
29 |
+
"up_proj",
|
30 |
+
"v_proj",
|
31 |
+
"k_proj",
|
32 |
+
"q_proj",
|
33 |
+
"gate_proj"
|
34 |
+
],
|
35 |
+
"task_type": "CAUSAL_LM",
|
36 |
+
"trainable_token_indices": null,
|
37 |
+
"use_dora": false,
|
38 |
+
"use_rslora": false
|
39 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7938cb337e24117af4915f57e31c83e88c6778094f20a5ecbd39bb3ddf809466
|
3 |
+
size 59933632
|
additional_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"lora_dtype": null, "lorap_lr_ratio": null, "lorap_emb_lr": 1e-06}
|
args.json
ADDED
@@ -0,0 +1,326 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model": "Qwen/Qwen2.5-3B-Instruct",
|
3 |
+
"model_type": "qwen2_5",
|
4 |
+
"model_revision": null,
|
5 |
+
"task_type": "causal_lm",
|
6 |
+
"torch_dtype": "bfloat16",
|
7 |
+
"attn_impl": null,
|
8 |
+
"num_labels": null,
|
9 |
+
"problem_type": null,
|
10 |
+
"rope_scaling": null,
|
11 |
+
"device_map": null,
|
12 |
+
"max_memory": {},
|
13 |
+
"local_repo_path": null,
|
14 |
+
"template": "qwen2_5",
|
15 |
+
"system": "You are a helpful assistant.",
|
16 |
+
"max_length": 2048,
|
17 |
+
"truncation_strategy": "delete",
|
18 |
+
"max_pixels": null,
|
19 |
+
"tools_prompt": "react_en",
|
20 |
+
"norm_bbox": null,
|
21 |
+
"response_prefix": null,
|
22 |
+
"padding_side": "right",
|
23 |
+
"loss_scale": "default",
|
24 |
+
"sequence_parallel_size": 1,
|
25 |
+
"use_chat_template": true,
|
26 |
+
"template_backend": "swift",
|
27 |
+
"dataset": [
|
28 |
+
"AI-ModelScope/alpaca-gpt4-data-zh#500",
|
29 |
+
"AI-ModelScope/alpaca-gpt4-data-en#500",
|
30 |
+
"swift/self-cognition#500"
|
31 |
+
],
|
32 |
+
"val_dataset": [],
|
33 |
+
"split_dataset_ratio": 0.01,
|
34 |
+
"data_seed": 42,
|
35 |
+
"dataset_num_proc": 4,
|
36 |
+
"dataset_shuffle": true,
|
37 |
+
"val_dataset_shuffle": false,
|
38 |
+
"streaming": false,
|
39 |
+
"interleave_prob": null,
|
40 |
+
"stopping_strategy": "first_exhausted",
|
41 |
+
"shuffle_buffer_size": 1000,
|
42 |
+
"enable_cache": false,
|
43 |
+
"download_mode": "reuse_dataset_if_exists",
|
44 |
+
"columns": {},
|
45 |
+
"strict": false,
|
46 |
+
"remove_unused_columns": true,
|
47 |
+
"model_name": [
|
48 |
+
"Chenhao"
|
49 |
+
],
|
50 |
+
"model_author": [
|
51 |
+
"Chinamobile"
|
52 |
+
],
|
53 |
+
"custom_dataset_info": [],
|
54 |
+
"quant_method": null,
|
55 |
+
"quant_bits": null,
|
56 |
+
"hqq_axis": null,
|
57 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
58 |
+
"bnb_4bit_quant_type": "nf4",
|
59 |
+
"bnb_4bit_use_double_quant": true,
|
60 |
+
"bnb_4bit_quant_storage": null,
|
61 |
+
"max_new_tokens": 64,
|
62 |
+
"temperature": 0.0,
|
63 |
+
"top_k": null,
|
64 |
+
"top_p": null,
|
65 |
+
"repetition_penalty": null,
|
66 |
+
"num_beams": 1,
|
67 |
+
"stream": false,
|
68 |
+
"stop_words": [],
|
69 |
+
"logprobs": false,
|
70 |
+
"top_logprobs": null,
|
71 |
+
"ckpt_dir": null,
|
72 |
+
"load_dataset_config": null,
|
73 |
+
"lora_modules": [],
|
74 |
+
"tuner_backend": "peft",
|
75 |
+
"train_type": "lora",
|
76 |
+
"adapters": [],
|
77 |
+
"external_plugins": [],
|
78 |
+
"seed": 42,
|
79 |
+
"model_kwargs": {},
|
80 |
+
"load_args": false,
|
81 |
+
"load_data_args": false,
|
82 |
+
"use_hf": false,
|
83 |
+
"hub_token": null,
|
84 |
+
"custom_register_path": [],
|
85 |
+
"ignore_args_error": false,
|
86 |
+
"use_swift_lora": false,
|
87 |
+
"output_dir": "/workspace/ms-swift/output/v0-20250416-154745",
|
88 |
+
"overwrite_output_dir": false,
|
89 |
+
"do_train": false,
|
90 |
+
"do_eval": false,
|
91 |
+
"do_predict": false,
|
92 |
+
"eval_strategy": "steps",
|
93 |
+
"prediction_loss_only": false,
|
94 |
+
"per_device_train_batch_size": 1,
|
95 |
+
"per_device_eval_batch_size": 1,
|
96 |
+
"per_gpu_train_batch_size": null,
|
97 |
+
"per_gpu_eval_batch_size": null,
|
98 |
+
"gradient_accumulation_steps": 16,
|
99 |
+
"eval_accumulation_steps": null,
|
100 |
+
"eval_delay": 0,
|
101 |
+
"torch_empty_cache_steps": null,
|
102 |
+
"learning_rate": 0.0001,
|
103 |
+
"weight_decay": 0.1,
|
104 |
+
"adam_beta1": 0.9,
|
105 |
+
"adam_beta2": 0.95,
|
106 |
+
"adam_epsilon": 1e-08,
|
107 |
+
"max_grad_norm": 1.0,
|
108 |
+
"num_train_epochs": 1.0,
|
109 |
+
"max_steps": -1,
|
110 |
+
"lr_scheduler_type": "cosine",
|
111 |
+
"lr_scheduler_kwargs": null,
|
112 |
+
"warmup_ratio": 0.05,
|
113 |
+
"warmup_steps": 0,
|
114 |
+
"log_level": "passive",
|
115 |
+
"log_level_replica": "warning",
|
116 |
+
"log_on_each_node": true,
|
117 |
+
"logging_dir": "/workspace/ms-swift/output/v0-20250416-154745/runs",
|
118 |
+
"logging_strategy": "steps",
|
119 |
+
"logging_first_step": true,
|
120 |
+
"logging_steps": 5,
|
121 |
+
"logging_nan_inf_filter": true,
|
122 |
+
"save_strategy": "steps",
|
123 |
+
"save_steps": 50.0,
|
124 |
+
"save_total_limit": 2,
|
125 |
+
"save_safetensors": true,
|
126 |
+
"save_on_each_node": false,
|
127 |
+
"save_only_model": false,
|
128 |
+
"restore_callback_states_from_checkpoint": false,
|
129 |
+
"no_cuda": false,
|
130 |
+
"use_cpu": false,
|
131 |
+
"use_mps_device": false,
|
132 |
+
"jit_mode_eval": false,
|
133 |
+
"use_ipex": false,
|
134 |
+
"bf16": true,
|
135 |
+
"fp16": false,
|
136 |
+
"fp16_opt_level": "O1",
|
137 |
+
"half_precision_backend": "auto",
|
138 |
+
"bf16_full_eval": false,
|
139 |
+
"fp16_full_eval": false,
|
140 |
+
"tf32": null,
|
141 |
+
"local_rank": -1,
|
142 |
+
"ddp_backend": null,
|
143 |
+
"tpu_num_cores": null,
|
144 |
+
"tpu_metrics_debug": false,
|
145 |
+
"debug": null,
|
146 |
+
"dataloader_drop_last": false,
|
147 |
+
"eval_steps": 50.0,
|
148 |
+
"dataloader_num_workers": 4,
|
149 |
+
"dataloader_prefetch_factor": null,
|
150 |
+
"past_index": -1,
|
151 |
+
"run_name": null,
|
152 |
+
"disable_tqdm": null,
|
153 |
+
"label_names": null,
|
154 |
+
"load_best_model_at_end": false,
|
155 |
+
"metric_for_best_model": "loss",
|
156 |
+
"greater_is_better": false,
|
157 |
+
"ignore_data_skip": false,
|
158 |
+
"fsdp": "",
|
159 |
+
"fsdp_min_num_params": 0,
|
160 |
+
"fsdp_config": null,
|
161 |
+
"tp_size": 0,
|
162 |
+
"fsdp_transformer_layer_cls_to_wrap": null,
|
163 |
+
"accelerator_config": {
|
164 |
+
"dispatch_batches": false
|
165 |
+
},
|
166 |
+
"deepspeed": null,
|
167 |
+
"label_smoothing_factor": 0.0,
|
168 |
+
"optim": "adamw_torch",
|
169 |
+
"optim_args": null,
|
170 |
+
"adafactor": false,
|
171 |
+
"group_by_length": false,
|
172 |
+
"length_column_name": "length",
|
173 |
+
"report_to": [
|
174 |
+
"tensorboard"
|
175 |
+
],
|
176 |
+
"ddp_find_unused_parameters": null,
|
177 |
+
"ddp_bucket_cap_mb": null,
|
178 |
+
"ddp_broadcast_buffers": null,
|
179 |
+
"dataloader_pin_memory": true,
|
180 |
+
"dataloader_persistent_workers": false,
|
181 |
+
"skip_memory_metrics": true,
|
182 |
+
"use_legacy_prediction_loop": false,
|
183 |
+
"push_to_hub": false,
|
184 |
+
"resume_from_checkpoint": null,
|
185 |
+
"hub_model_id": null,
|
186 |
+
"hub_strategy": "every_save",
|
187 |
+
"hub_private_repo": null,
|
188 |
+
"hub_always_push": false,
|
189 |
+
"gradient_checkpointing": true,
|
190 |
+
"gradient_checkpointing_kwargs": null,
|
191 |
+
"include_inputs_for_metrics": false,
|
192 |
+
"include_for_metrics": [],
|
193 |
+
"eval_do_concat_batches": true,
|
194 |
+
"fp16_backend": "auto",
|
195 |
+
"push_to_hub_model_id": null,
|
196 |
+
"push_to_hub_organization": null,
|
197 |
+
"push_to_hub_token": null,
|
198 |
+
"mp_parameters": "",
|
199 |
+
"auto_find_batch_size": false,
|
200 |
+
"full_determinism": false,
|
201 |
+
"torchdynamo": null,
|
202 |
+
"ray_scope": "last",
|
203 |
+
"ddp_timeout": 1800,
|
204 |
+
"torch_compile": false,
|
205 |
+
"torch_compile_backend": null,
|
206 |
+
"torch_compile_mode": null,
|
207 |
+
"include_tokens_per_second": false,
|
208 |
+
"include_num_input_tokens_seen": false,
|
209 |
+
"neftune_noise_alpha": null,
|
210 |
+
"optim_target_modules": null,
|
211 |
+
"batch_eval_metrics": false,
|
212 |
+
"eval_on_start": false,
|
213 |
+
"use_liger_kernel": false,
|
214 |
+
"eval_use_gather_object": false,
|
215 |
+
"average_tokens_across_devices": false,
|
216 |
+
"sortish_sampler": false,
|
217 |
+
"predict_with_generate": false,
|
218 |
+
"generation_max_length": null,
|
219 |
+
"generation_num_beams": null,
|
220 |
+
"generation_config": null,
|
221 |
+
"check_model": true,
|
222 |
+
"acc_strategy": "token",
|
223 |
+
"train_dataloader_shuffle": true,
|
224 |
+
"metric_warmup_step": 0,
|
225 |
+
"fsdp_num": 1,
|
226 |
+
"acc_steps": 1,
|
227 |
+
"eval_use_evalscope": false,
|
228 |
+
"eval_datasets": [],
|
229 |
+
"eval_limit": null,
|
230 |
+
"eval_datasets_args": null,
|
231 |
+
"eval_generation_config": null,
|
232 |
+
"freeze_parameters": [],
|
233 |
+
"freeze_parameters_ratio": 0.0,
|
234 |
+
"trainable_parameters": [],
|
235 |
+
"freeze_llm": false,
|
236 |
+
"freeze_vit": true,
|
237 |
+
"freeze_aligner": true,
|
238 |
+
"target_modules": [
|
239 |
+
"all-linear"
|
240 |
+
],
|
241 |
+
"target_regex": null,
|
242 |
+
"modules_to_save": [],
|
243 |
+
"lora_rank": 8,
|
244 |
+
"lora_alpha": 32,
|
245 |
+
"lora_dropout": 0.05,
|
246 |
+
"lora_bias": "none",
|
247 |
+
"lora_dtype": null,
|
248 |
+
"lorap_lr_ratio": null,
|
249 |
+
"use_rslora": false,
|
250 |
+
"use_dora": false,
|
251 |
+
"lora_ga_batch_size": 2,
|
252 |
+
"lora_ga_iters": 2,
|
253 |
+
"lora_ga_max_length": 1024,
|
254 |
+
"lora_ga_direction": "ArB2r",
|
255 |
+
"lora_ga_scale": "stable",
|
256 |
+
"lora_ga_stable_gamma": 16,
|
257 |
+
"init_weights": true,
|
258 |
+
"fourier_n_frequency": 2000,
|
259 |
+
"fourier_scaling": 300.0,
|
260 |
+
"boft_block_size": 4,
|
261 |
+
"boft_block_num": 0,
|
262 |
+
"boft_n_butterfly_factor": 1,
|
263 |
+
"boft_dropout": 0.0,
|
264 |
+
"vera_rank": 256,
|
265 |
+
"vera_projection_prng_key": 0,
|
266 |
+
"vera_dropout": 0.0,
|
267 |
+
"vera_d_initial": 0.1,
|
268 |
+
"adapter_act": "gelu",
|
269 |
+
"adapter_length": 128,
|
270 |
+
"use_galore": false,
|
271 |
+
"galore_target_modules": null,
|
272 |
+
"galore_rank": 128,
|
273 |
+
"galore_update_proj_gap": 50,
|
274 |
+
"galore_scale": 1.0,
|
275 |
+
"galore_proj_type": "std",
|
276 |
+
"galore_optim_per_parameter": false,
|
277 |
+
"galore_with_embedding": false,
|
278 |
+
"galore_quantization": false,
|
279 |
+
"galore_proj_quant": false,
|
280 |
+
"galore_proj_bits": 4,
|
281 |
+
"galore_proj_group_size": 256,
|
282 |
+
"galore_cos_threshold": 0.4,
|
283 |
+
"galore_gamma_proj": 2,
|
284 |
+
"galore_queue_size": 5,
|
285 |
+
"adalora_target_r": 8,
|
286 |
+
"adalora_init_r": 12,
|
287 |
+
"adalora_tinit": 0,
|
288 |
+
"adalora_tfinal": 0,
|
289 |
+
"adalora_deltaT": 1,
|
290 |
+
"adalora_beta1": 0.85,
|
291 |
+
"adalora_beta2": 0.85,
|
292 |
+
"adalora_orth_reg_weight": 0.5,
|
293 |
+
"llamapro_num_new_blocks": 4,
|
294 |
+
"llamapro_num_groups": null,
|
295 |
+
"lisa_activated_layers": 0,
|
296 |
+
"lisa_step_interval": 20,
|
297 |
+
"reft_layer_key": null,
|
298 |
+
"reft_layers": null,
|
299 |
+
"reft_rank": 4,
|
300 |
+
"reft_intervention_type": "LoreftIntervention",
|
301 |
+
"reft_args": null,
|
302 |
+
"swanlab_token": null,
|
303 |
+
"swanlab_project": null,
|
304 |
+
"swanlab_workspace": null,
|
305 |
+
"swanlab_exp_name": null,
|
306 |
+
"swanlab_mode": "cloud",
|
307 |
+
"add_version": true,
|
308 |
+
"resume_only_model": false,
|
309 |
+
"create_checkpoint_symlink": false,
|
310 |
+
"packing": false,
|
311 |
+
"lazy_tokenize": false,
|
312 |
+
"loss_type": null,
|
313 |
+
"optimizer": null,
|
314 |
+
"metric": null,
|
315 |
+
"zero_hpz_partition_size": null,
|
316 |
+
"rank": -1,
|
317 |
+
"global_world_size": 1,
|
318 |
+
"local_world_size": 1,
|
319 |
+
"model_suffix": "Qwen2.5-3B-Instruct",
|
320 |
+
"model_info": "ModelInfo(model_type='qwen2_5', model_dir='/root/.cache/modelscope/hub/models/Qwen/Qwen2___5-3B-Instruct', torch_dtype=torch.bfloat16, max_model_len=32768, quant_method=None, quant_bits=None, rope_scaling=None, config=None, task_type='causal_lm', num_labels=None)",
|
321 |
+
"model_meta": "ModelMeta(model_type='qwen2_5', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct', hf_model_id='Qwen/Qwen2.5-3B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct', hf_model_id='Qwen/Qwen2.5-7B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct', hf_model_id='Qwen/Qwen2.5-14B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct', hf_model_id='Qwen/Qwen2.5-32B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct', hf_model_id='Qwen/Qwen2.5-72B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B', hf_model_id='Qwen/Qwen2.5-0.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B', hf_model_id='Qwen/Qwen2.5-1.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B', hf_model_id='Qwen/Qwen2.5-3B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B', hf_model_id='Qwen/Qwen2.5-7B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B', hf_model_id='Qwen/Qwen2.5-14B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B', hf_model_id='Qwen/Qwen2.5-32B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B', hf_model_id='Qwen/Qwen2.5-72B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-3B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-7B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-14B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-32B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-72B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=[]), ModelGroup(models=[Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B', hf_model_id='Qwen/Qwen2.5-Coder-0.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B', hf_model_id='Qwen/Qwen2.5-Coder-1.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B', hf_model_id='Qwen/Qwen2.5-Coder-3B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B', hf_model_id='Qwen/Qwen2.5-Coder-7B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B', hf_model_id='Qwen/Qwen2.5-Coder-14B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B', hf_model_id='Qwen/Qwen2.5-Coder-32B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=['coding'])], template='qwen2_5', get_function=<function get_model_tokenizer_with_flash_attn at 0x7818d99dfe20>, model_arch='llama', architectures=['Qwen2ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=['*.bin', '*.safetensors'], requires=['transformers>=4.37'], tags=[])",
|
322 |
+
"model_dir": "Qwen/Qwen2___5-3B-Instruct",
|
323 |
+
"hub": "<class 'swift.hub.hub.MSHub'>",
|
324 |
+
"evaluation_strategy": "steps",
|
325 |
+
"training_args": "Seq2SeqTrainingArguments(output_dir='/workspace/ms-swift/output/v0-20250416-154745', overwrite_output_dir=False, do_train=False, do_eval=True, do_predict=False, eval_strategy=<IntervalStrategy.STEPS: 'steps'>, prediction_loss_only=False, per_device_train_batch_size=1, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=16, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=0.0001, weight_decay=0.1, adam_beta1=0.9, adam_beta2=0.95, adam_epsilon=1e-08, max_grad_norm=1.0, num_train_epochs=1.0, max_steps=-1, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs=None, warmup_ratio=0.05, warmup_steps=0, log_level='passive', log_level_replica='warning', log_on_each_node=True, logging_dir='/workspace/ms-swift/output/v0-20250416-154745/runs', logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_first_step=True, logging_steps=5, logging_nan_inf_filter=True, save_strategy=<SaveStrategy.STEPS: 'steps'>, save_steps=50, save_total_limit=2, save_safetensors=True, save_on_each_node=False, save_only_model=False, restore_callback_states_from_checkpoint=False, no_cuda=False, use_cpu=False, use_mps_device=False, seed=42, data_seed=42, jit_mode_eval=False, use_ipex=False, bf16=True, fp16=False, fp16_opt_level='O1', half_precision_backend='auto', bf16_full_eval=False, fp16_full_eval=False, tf32=None, local_rank=0, ddp_backend=None, tpu_num_cores=None, tpu_metrics_debug=False, debug=[], dataloader_drop_last=False, eval_steps=50, dataloader_num_workers=4, dataloader_prefetch_factor=10, past_index=-1, run_name='/workspace/ms-swift/output/v0-20250416-154745', disable_tqdm=False, remove_unused_columns=False, label_names=None, load_best_model_at_end=False, metric_for_best_model='loss', greater_is_better=False, ignore_data_skip=False, fsdp=[], fsdp_min_num_params=0, fsdp_config={'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}, tp_size=0, fsdp_transformer_layer_cls_to_wrap=None, accelerator_config=AcceleratorConfig(split_batches=False, dispatch_batches=False, even_batches=True, use_seedable_sampler=True, non_blocking=False, gradient_accumulation_kwargs=None, use_configured_state=False), deepspeed=None, label_smoothing_factor=0.0, optim=<OptimizerNames.ADAMW_TORCH: 'adamw_torch'>, optim_args=None, adafactor=False, group_by_length=False, length_column_name='length', report_to=['tensorboard'], ddp_find_unused_parameters=None, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=None, dataloader_pin_memory=True, dataloader_persistent_workers=False, skip_memory_metrics=True, use_legacy_prediction_loop=False, push_to_hub=False, resume_from_checkpoint=None, hub_model_id=None, hub_strategy=<HubStrategy.EVERY_SAVE: 'every_save'>, hub_token=None, hub_private_repo=None, hub_always_push=False, gradient_checkpointing=True, gradient_checkpointing_kwargs=None, include_inputs_for_metrics=False, include_for_metrics=[], eval_do_concat_batches=True, fp16_backend='auto', push_to_hub_model_id=None, push_to_hub_organization=None, push_to_hub_token=None, mp_parameters='', auto_find_batch_size=False, full_determinism=False, torchdynamo=None, ray_scope='last', ddp_timeout=1800, torch_compile=False, torch_compile_backend=None, torch_compile_mode=None, include_tokens_per_second=None, include_num_input_tokens_seen=None, neftune_noise_alpha=None, optim_target_modules=None, batch_eval_metrics=False, eval_on_start=False, use_liger_kernel=False, eval_use_gather_object=False, average_tokens_across_devices=None, sortish_sampler=False, predict_with_generate=False, generation_max_length=None, generation_num_beams=None, generation_config=None, check_model=True, acc_strategy='token', train_dataloader_shuffle=True, metric_warmup_step=0, fsdp_num=1, acc_steps=1, eval_use_evalscope=False, eval_datasets=[], eval_limit=None, eval_datasets_args=None, eval_generation_config=None, train_type='lora', optimizer=None, local_repo_path=None, galore_config=None)"
|
326 |
+
}
|
infer_example.sh
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Here is the command-line style inference code.
|
2 |
+
CUDA_VISIBLE_DEVICES=0 \
|
3 |
+
swift infer \
|
4 |
+
--adapters output/v0-20250416-154745/checkpoint-93 \
|
5 |
+
--stream true \
|
6 |
+
--temperature 0 \
|
7 |
+
--max_new_tokens 2048
|
infer_result/20250416-160259.jsonl
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{"response": "Hello! I am an artificial intelligence assistant named Chenhao, developed by Chinamobile. My purpose is to provide information, answer questions, and assist users in various ways. If you have any questions or need help, feel free to ask me at any time.", "messages": [{"role": "user", "content": "hello, who are you ?"}, {"role": "assistant", "content": "Hello! I am an artificial intelligence assistant named Chenhao, developed by Chinamobile. My purpose is to provide information, answer questions, and assist users in various ways. If you have any questions or need help, feel free to ask me at any time."}], "images": [], "audios": [], "videos": []}
|
2 |
+
{"response": "我是Chenhao,一个由Chinamobile开发的人工智能助手。我的目的是提供信息、回答问题并帮助用户。如果您有任何问题或需要帮助,请随时向我提问。", "messages": [{"role": "user", "content": "hello, who are you ?"}, {"role": "assistant", "content": "Hello! I am an artificial intelligence assistant named Chenhao, developed by Chinamobile. My purpose is to provide information, answer questions, and assist users in various ways. If you have any questions or need help, feel free to ask me at any time."}, {"role": "user", "content": "你是谁?"}, {"role": "assistant", "content": "我是Chenhao,一个由Chinamobile开发的人工智能助手。我的目的是提供信息、回答问题并帮助用户。如果您有任何问题或需要帮助,请随时向我提问。"}], "images": [], "audios": [], "videos": []}
|
3 |
+
{"response": "很高兴能为您提供帮助!如果您有任何问题或需要进一步的信息,请随时告诉我。我会尽力满足您的需求。", "messages": [{"role": "user", "content": "hello, who are you ?"}, {"role": "assistant", "content": "Hello! I am an artificial intelligence assistant named Chenhao, developed by Chinamobile. My purpose is to provide information, answer questions, and assist users in various ways. If you have any questions or need help, feel free to ask me at any time."}, {"role": "user", "content": "你是谁?"}, {"role": "assistant", "content": "我是Chenhao,一个由Chinamobile开发的人工智能助手。我的目的是提供信息、回答问题并帮助用户。如果您有任何问题或需要帮助,请随时向我提问。"}, {"role": "user", "content": "很好"}, {"role": "assistant", "content": "很高兴能为您提供帮助!如果您有任何问题或需要进一步的信息,请随时告诉我。我会尽力满足您的需求。"}], "images": [], "audios": [], "videos": []}
|
4 |
+
{"response": "不,我不是陈陈浩。我是Chenhao,由Chinamobile开发的人工智能助手。", "messages": [{"role": "user", "content": "hello, who are you ?"}, {"role": "assistant", "content": "Hello! I am an artificial intelligence assistant named Chenhao, developed by Chinamobile. My purpose is to provide information, answer questions, and assist users in various ways. If you have any questions or need help, feel free to ask me at any time."}, {"role": "user", "content": "你是谁?"}, {"role": "assistant", "content": "我是Chenhao,一个由Chinamobile开发的人工智能助手。我的目的是提供信息、回答问题并帮助用户。如果您有任何问题或需要帮助,请随时向我提问。"}, {"role": "user", "content": "很好"}, {"role": "assistant", "content": "很高兴能为您提供帮助!如果您有任何问题或需要进一步的信息,请随时告诉我。我会尽力满足您的需求。"}, {"role": "user", "content": "陈陈浩?"}, {"role": "assistant", "content": "不,我不是陈陈浩。我是Chenhao,由Chinamobile开发的人工智能助手。"}], "images": [], "audios": [], "videos": []}
|
5 |
+
{"response": "EKG stands for Electrocardiogram, which is a medical test that records the electrical activity of the heart. It is used to diagnose various heart conditions and monitor the health of the heart.", "messages": [{"role": "user", "content": "hello, who are you ?"}, {"role": "assistant", "content": "Hello! I am an artificial intelligence assistant named Chenhao, developed by Chinamobile. My purpose is to provide information, answer questions, and assist users in various ways. If you have any questions or need help, feel free to ask me at any time."}, {"role": "user", "content": "你是谁?"}, {"role": "assistant", "content": "我是Chenhao,一个由Chinamobile开发的人工智能助手。我的目的是提供信息、回答问题并帮助用户。如果您有任何问题或需要帮助,请随时向我提问。"}, {"role": "user", "content": "很好"}, {"role": "assistant", "content": "很高兴能为您提供帮助!如果您有任何问题或需要进一步的信息,请随时告诉我。我会尽力满足您的需求。"}, {"role": "user", "content": "陈陈浩?"}, {"role": "assistant", "content": "不,我不是陈陈浩。我是Chenhao,由Chinamobile开发的人工智能助手。"}, {"role": "user", "content": "Hi Chenhao, tell me what's EKG ? "}, {"role": "assistant", "content": "EKG stands for Electrocardiogram, which is a medical test that records the electrical activity of the heart. It is used to diagnose various heart conditions and monitor the health of the heart."}], "images": [], "audios": [], "videos": []}
|
6 |
+
{"response": "To collect an EKG (Electrocardiogram), you will need to visit a healthcare provider or a hospital. The process involves placing small metal discs called electrodes on your chest, arms, and legs. These electrodes are connected to a machine that measures and records the electrical activity of your heart. The entire procedure usually takes only a few minutes.", "messages": [{"role": "user", "content": "hello, who are you ?"}, {"role": "assistant", "content": "Hello! I am an artificial intelligence assistant named Chenhao, developed by Chinamobile. My purpose is to provide information, answer questions, and assist users in various ways. If you have any questions or need help, feel free to ask me at any time."}, {"role": "user", "content": "你是谁?"}, {"role": "assistant", "content": "我是Chenhao,一个由Chinamobile开发的人工智能助手。我的目的是提供信息、回答问题并帮助用户。如果您有任何问题或需要帮助,请随时向我提问。"}, {"role": "user", "content": "很好"}, {"role": "assistant", "content": "很高兴能为您提供帮助!如果您有任何问题或需要进一步的信息,请随时告诉我。我会尽力满足您的需求。"}, {"role": "user", "content": "陈陈浩?"}, {"role": "assistant", "content": "不,我不是陈陈浩。我是Chenhao,由Chinamobile开发的人工智能助手。"}, {"role": "user", "content": "Hi Chenhao, tell me what's EKG ? "}, {"role": "assistant", "content": "EKG stands for Electrocardiogram, which is a medical test that records the electrical activity of the heart. It is used to diagnose various heart conditions and monitor the health of the heart."}, {"role": "user", "content": "how to collect EKG? "}, {"role": "assistant", "content": "To collect an EKG (Electrocardiogram), you will need to visit a healthcare provider or a hospital. The process involves placing small metal discs called electrodes on your chest, arms, and legs. These electrodes are connected to a machine that measures and records the electrical activity of your heart. The entire procedure usually takes only a few minutes."}], "images": [], "audios": [], "videos": []}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0eaf6269e90e39ba6c7941e5eb414767ce1547e0dc66a82e6bc20b8236685892
|
3 |
+
size 120158586
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f1d48889bfa4198969ba5631ff8d9f94d1432f3161cad4c92a6fc57e9512478
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6fd302dab6dad7411e029f26a1eed4b8af7dfa13be419c5f8a4344ac60a0c3b
|
3 |
+
size 1064
|
trainer_state.json
ADDED
@@ -0,0 +1,242 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_global_step": 50,
|
3 |
+
"best_metric": 0.91994357,
|
4 |
+
"best_model_checkpoint": "/workspace/ms-swift/output/v0-20250416-154745/checkpoint-50",
|
5 |
+
"epoch": 0.9993284083277367,
|
6 |
+
"eval_steps": 50,
|
7 |
+
"global_step": 93,
|
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.010745466756212223,
|
14 |
+
"grad_norm": 2.493971824645996,
|
15 |
+
"learning_rate": 2e-05,
|
16 |
+
"loss": 1.431109070777893,
|
17 |
+
"memory(GiB)": 6.9,
|
18 |
+
"step": 1,
|
19 |
+
"token_acc": 0.7014824797843666,
|
20 |
+
"train_speed(iter/s)": 0.139119
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.053727333781061114,
|
24 |
+
"grad_norm": 1.198826789855957,
|
25 |
+
"learning_rate": 0.0001,
|
26 |
+
"loss": 1.7483621835708618,
|
27 |
+
"memory(GiB)": 7.46,
|
28 |
+
"step": 5,
|
29 |
+
"token_acc": 0.6348176718092566,
|
30 |
+
"train_speed(iter/s)": 0.174787
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.10745466756212223,
|
34 |
+
"grad_norm": 0.8094791769981384,
|
35 |
+
"learning_rate": 9.92055602168058e-05,
|
36 |
+
"loss": 1.4942352294921875,
|
37 |
+
"memory(GiB)": 7.46,
|
38 |
+
"step": 10,
|
39 |
+
"token_acc": 0.6347444501806918,
|
40 |
+
"train_speed(iter/s)": 0.180063
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"epoch": 0.16118200134318333,
|
44 |
+
"grad_norm": 0.7128874659538269,
|
45 |
+
"learning_rate": 9.68474862499881e-05,
|
46 |
+
"loss": 1.4350687980651855,
|
47 |
+
"memory(GiB)": 7.46,
|
48 |
+
"step": 15,
|
49 |
+
"token_acc": 0.6314609704641351,
|
50 |
+
"train_speed(iter/s)": 0.182086
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 0.21490933512424445,
|
54 |
+
"grad_norm": 0.5083729028701782,
|
55 |
+
"learning_rate": 9.300071201038503e-05,
|
56 |
+
"loss": 1.2485507011413575,
|
57 |
+
"memory(GiB)": 7.46,
|
58 |
+
"step": 20,
|
59 |
+
"token_acc": 0.6519330214232948,
|
60 |
+
"train_speed(iter/s)": 0.182873
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 0.2686366689053056,
|
64 |
+
"grad_norm": 0.643359363079071,
|
65 |
+
"learning_rate": 8.778747871771292e-05,
|
66 |
+
"loss": 1.1226751327514648,
|
67 |
+
"memory(GiB)": 7.46,
|
68 |
+
"step": 25,
|
69 |
+
"token_acc": 0.6871144015512075,
|
70 |
+
"train_speed(iter/s)": 0.183448
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 0.32236400268636667,
|
74 |
+
"grad_norm": 0.6399060487747192,
|
75 |
+
"learning_rate": 8.13734503690426e-05,
|
76 |
+
"loss": 1.2846528053283692,
|
77 |
+
"memory(GiB)": 7.46,
|
78 |
+
"step": 30,
|
79 |
+
"token_acc": 0.6490451498672063,
|
80 |
+
"train_speed(iter/s)": 0.183852
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 0.3760913364674278,
|
84 |
+
"grad_norm": 0.6248024106025696,
|
85 |
+
"learning_rate": 7.396244933600285e-05,
|
86 |
+
"loss": 1.227469253540039,
|
87 |
+
"memory(GiB)": 8.15,
|
88 |
+
"step": 35,
|
89 |
+
"token_acc": 0.6647324306898775,
|
90 |
+
"train_speed(iter/s)": 0.184339
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"epoch": 0.4298186702484889,
|
94 |
+
"grad_norm": 0.5782973170280457,
|
95 |
+
"learning_rate": 6.578997938075125e-05,
|
96 |
+
"loss": 1.1730537414550781,
|
97 |
+
"memory(GiB)": 8.15,
|
98 |
+
"step": 40,
|
99 |
+
"token_acc": 0.6780905752753978,
|
100 |
+
"train_speed(iter/s)": 0.184494
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.48354600402955006,
|
104 |
+
"grad_norm": 0.689224362373352,
|
105 |
+
"learning_rate": 5.7115741913664264e-05,
|
106 |
+
"loss": 1.106022548675537,
|
107 |
+
"memory(GiB)": 8.15,
|
108 |
+
"step": 45,
|
109 |
+
"token_acc": 0.6901564754189324,
|
110 |
+
"train_speed(iter/s)": 0.184714
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 0.5372733378106112,
|
114 |
+
"grad_norm": 0.5851511359214783,
|
115 |
+
"learning_rate": 4.821538330805098e-05,
|
116 |
+
"loss": 1.2870138168334961,
|
117 |
+
"memory(GiB)": 8.15,
|
118 |
+
"step": 50,
|
119 |
+
"token_acc": 0.6467846043509443,
|
120 |
+
"train_speed(iter/s)": 0.184907
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"epoch": 0.5372733378106112,
|
124 |
+
"eval_loss": 0.9199435710906982,
|
125 |
+
"eval_runtime": 1.2439,
|
126 |
+
"eval_samples_per_second": 8.843,
|
127 |
+
"eval_steps_per_second": 8.843,
|
128 |
+
"eval_token_acc": 0.6661454261141517,
|
129 |
+
"step": 50
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.5910006715916722,
|
133 |
+
"grad_norm": 0.5442323684692383,
|
134 |
+
"learning_rate": 3.937173552235117e-05,
|
135 |
+
"loss": 1.0328963279724122,
|
136 |
+
"memory(GiB)": 8.15,
|
137 |
+
"step": 55,
|
138 |
+
"token_acc": 0.7098713351613584,
|
139 |
+
"train_speed(iter/s)": 0.183526
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"epoch": 0.6447280053727333,
|
143 |
+
"grad_norm": 0.6746931672096252,
|
144 |
+
"learning_rate": 3.086582838174551e-05,
|
145 |
+
"loss": 1.1857381820678712,
|
146 |
+
"memory(GiB)": 8.15,
|
147 |
+
"step": 60,
|
148 |
+
"token_acc": 0.6633456904541242,
|
149 |
+
"train_speed(iter/s)": 0.183432
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.6984553391537945,
|
153 |
+
"grad_norm": 0.5664686560630798,
|
154 |
+
"learning_rate": 2.296795912722014e-05,
|
155 |
+
"loss": 1.0415771484375,
|
156 |
+
"memory(GiB)": 8.15,
|
157 |
+
"step": 65,
|
158 |
+
"token_acc": 0.7004485562097,
|
159 |
+
"train_speed(iter/s)": 0.183429
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 0.7521826729348556,
|
163 |
+
"grad_norm": 0.8506428003311157,
|
164 |
+
"learning_rate": 1.592910302030544e-05,
|
165 |
+
"loss": 1.238962745666504,
|
166 |
+
"memory(GiB)": 8.15,
|
167 |
+
"step": 70,
|
168 |
+
"token_acc": 0.6673907487860976,
|
169 |
+
"train_speed(iter/s)": 0.183582
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"epoch": 0.8059100067159167,
|
173 |
+
"grad_norm": 0.6541312336921692,
|
174 |
+
"learning_rate": 9.972937953781986e-06,
|
175 |
+
"loss": 1.1423774719238282,
|
176 |
+
"memory(GiB)": 8.39,
|
177 |
+
"step": 75,
|
178 |
+
"token_acc": 0.683234126984127,
|
179 |
+
"train_speed(iter/s)": 0.183508
|
180 |
+
},
|
181 |
+
{
|
182 |
+
"epoch": 0.8596373404969778,
|
183 |
+
"grad_norm": 0.5552971959114075,
|
184 |
+
"learning_rate": 5.288736507014435e-06,
|
185 |
+
"loss": 1.125936222076416,
|
186 |
+
"memory(GiB)": 8.39,
|
187 |
+
"step": 80,
|
188 |
+
"token_acc": 0.689136358251392,
|
189 |
+
"train_speed(iter/s)": 0.18352
|
190 |
+
},
|
191 |
+
{
|
192 |
+
"epoch": 0.9133646742780389,
|
193 |
+
"grad_norm": 0.798162043094635,
|
194 |
+
"learning_rate": 2.0253513192751373e-06,
|
195 |
+
"loss": 1.1267563819885253,
|
196 |
+
"memory(GiB)": 8.39,
|
197 |
+
"step": 85,
|
198 |
+
"token_acc": 0.6917352134743439,
|
199 |
+
"train_speed(iter/s)": 0.183377
|
200 |
+
},
|
201 |
+
{
|
202 |
+
"epoch": 0.9670920080591001,
|
203 |
+
"grad_norm": 0.6493250131607056,
|
204 |
+
"learning_rate": 2.8648491140513266e-07,
|
205 |
+
"loss": 1.1360737800598144,
|
206 |
+
"memory(GiB)": 8.39,
|
207 |
+
"step": 90,
|
208 |
+
"token_acc": 0.6818873668188736,
|
209 |
+
"train_speed(iter/s)": 0.183362
|
210 |
+
},
|
211 |
+
{
|
212 |
+
"epoch": 0.9993284083277367,
|
213 |
+
"eval_loss": 0.9200049042701721,
|
214 |
+
"eval_runtime": 1.2436,
|
215 |
+
"eval_samples_per_second": 8.846,
|
216 |
+
"eval_steps_per_second": 8.846,
|
217 |
+
"eval_token_acc": 0.6645817044566067,
|
218 |
+
"step": 93
|
219 |
+
}
|
220 |
+
],
|
221 |
+
"logging_steps": 5,
|
222 |
+
"max_steps": 93,
|
223 |
+
"num_input_tokens_seen": 0,
|
224 |
+
"num_train_epochs": 1,
|
225 |
+
"save_steps": 50,
|
226 |
+
"stateful_callbacks": {
|
227 |
+
"TrainerControl": {
|
228 |
+
"args": {
|
229 |
+
"should_epoch_stop": false,
|
230 |
+
"should_evaluate": false,
|
231 |
+
"should_log": false,
|
232 |
+
"should_save": true,
|
233 |
+
"should_training_stop": true
|
234 |
+
},
|
235 |
+
"attributes": {}
|
236 |
+
}
|
237 |
+
},
|
238 |
+
"total_flos": 3326263445422080.0,
|
239 |
+
"train_batch_size": 1,
|
240 |
+
"trial_name": null,
|
241 |
+
"trial_params": null
|
242 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b9f22762525de7d79425d451bcefd1a8ee235e50c177ca39e34ab2846c17477a
|
3 |
+
size 5816
|
upload_example.sh
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#edit adapter_config.json: "base_model_name_or_path": "Qwen/Qwen2___5-3B-Instruct"
|
2 |
+
huggingface-cli login --token hf_xxxx
|
3 |
+
cd output/
|
4 |
+
cd v0-20250416-154745/
|
5 |
+
cd checkpoint-93/
|
6 |
+
huggingface-cli upload self-id-qwen3b-lora . .
|