初始化项目,由ModelHub XC社区提供模型

Model: longtermrisk/Qwen3-1.7B-Base-ftjob-57fb76a6eda1
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-04-22 08:47:42 +08:00
commit 6a11ad79e0
26 changed files with 304192 additions and 0 deletions

210
checkpoint-39/README.md Normal file
View File

@@ -0,0 +1,210 @@
---
base_model: unsloth/Qwen3-1.7B-Base
library_name: peft
pipeline_tag: text-generation
tags:
- base_model:adapter:unsloth/Qwen3-1.7B-Base
- lora
- sft
- transformers
- trl
- unsloth
---
# Model Card for Model ID
<!-- Provide a quick summary of what the model is/does. -->
## Model Details
### Model Description
<!-- Provide a longer summary of what this model is. -->
- **Developed by:** [More Information Needed]
- **Funded by [optional]:** [More Information Needed]
- **Shared by [optional]:** [More Information Needed]
- **Model type:** [More Information Needed]
- **Language(s) (NLP):** [More Information Needed]
- **License:** [More Information Needed]
- **Finetuned from model [optional]:** [More Information Needed]
### Model Sources [optional]
<!-- Provide the basic links for the model. -->
- **Repository:** [More Information Needed]
- **Paper [optional]:** [More Information Needed]
- **Demo [optional]:** [More Information Needed]
## Uses
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
### Direct Use
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
[More Information Needed]
### Downstream Use [optional]
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
[More Information Needed]
### Out-of-Scope Use
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
[More Information Needed]
## Bias, Risks, and Limitations
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
[More Information Needed]
### Recommendations
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
## How to Get Started with the Model
Use the code below to get started with the model.
[More Information Needed]
## Training Details
### Training Data
<!-- 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. -->
[More Information Needed]
### Training Procedure
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
#### Preprocessing [optional]
[More Information Needed]
#### Training Hyperparameters
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
#### Speeds, Sizes, Times [optional]
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
[More Information Needed]
## Evaluation
<!-- This section describes the evaluation protocols and provides the results. -->
### Testing Data, Factors & Metrics
#### Testing Data
<!-- This should link to a Dataset Card if possible. -->
[More Information Needed]
#### Factors
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
[More Information Needed]
#### Metrics
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
[More Information Needed]
### Results
[More Information Needed]
#### Summary
## Model Examination [optional]
<!-- Relevant interpretability work for the model goes here -->
[More Information Needed]
## Environmental Impact
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
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).
- **Hardware Type:** [More Information Needed]
- **Hours used:** [More Information Needed]
- **Cloud Provider:** [More Information Needed]
- **Compute Region:** [More Information Needed]
- **Carbon Emitted:** [More Information Needed]
## Technical Specifications [optional]
### Model Architecture and Objective
[More Information Needed]
### Compute Infrastructure
[More Information Needed]
#### Hardware
[More Information Needed]
#### Software
[More Information Needed]
## Citation [optional]
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
**BibTeX:**
[More Information Needed]
**APA:**
[More Information Needed]
## Glossary [optional]
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
[More Information Needed]
## More Information [optional]
[More Information Needed]
## Model Card Authors [optional]
[More Information Needed]
## Model Card Contact
[More Information Needed]
### Framework versions
- PEFT 0.17.1

View File

@@ -0,0 +1,46 @@
{
"alpha_pattern": {},
"auto_mapping": {
"base_model_class": "Qwen3ForCausalLM",
"parent_library": "transformers.models.qwen3.modeling_qwen3",
"unsloth_fixed": true
},
"base_model_name_or_path": "unsloth/Qwen3-1.7B-Base",
"bias": "none",
"corda_config": null,
"eva_config": null,
"exclude_modules": null,
"fan_in_fan_out": false,
"inference_mode": true,
"init_lora_weights": true,
"layer_replication": null,
"layers_pattern": null,
"layers_to_transform": null,
"loftq_config": {},
"lora_alpha": 16,
"lora_bias": false,
"lora_dropout": 0.0,
"megatron_config": null,
"megatron_core": "megatron.core",
"modules_to_save": null,
"peft_type": "LORA",
"qalora_group_size": 16,
"r": 32,
"rank_pattern": {},
"revision": null,
"target_modules": [
"up_proj",
"o_proj",
"down_proj",
"v_proj",
"gate_proj",
"k_proj",
"q_proj"
],
"target_parameters": null,
"task_type": "CAUSAL_LM",
"trainable_token_indices": null,
"use_dora": false,
"use_qalora": false,
"use_rslora": true
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d4062c5b66c7ba926b3d4eae843aa545356120b389cb27fb49899f9cab8b1d65
size 139512976

View File

@@ -0,0 +1,28 @@
{
"</think>": 151668,
"</tool_call>": 151658,
"</tool_response>": 151666,
"<think>": 151667,
"<tool_call>": 151657,
"<tool_response>": 151665,
"<|box_end|>": 151649,
"<|box_start|>": 151648,
"<|endoftext|>": 151643,
"<|file_sep|>": 151664,
"<|fim_middle|>": 151660,
"<|fim_pad|>": 151662,
"<|fim_prefix|>": 151659,
"<|fim_suffix|>": 151661,
"<|im_end|>": 151645,
"<|im_start|>": 151644,
"<|image_pad|>": 151655,
"<|object_ref_end|>": 151647,
"<|object_ref_start|>": 151646,
"<|quad_end|>": 151651,
"<|quad_start|>": 151650,
"<|repo_name|>": 151663,
"<|video_pad|>": 151656,
"<|vision_end|>": 151653,
"<|vision_pad|>": 151654,
"<|vision_start|>": 151652
}

View File

@@ -0,0 +1,54 @@
{%- if tools %}
{{- '<|im_start|>system\n' }}
{%- if messages[0]['role'] == 'system' %}
{{- messages[0]['content'] }}
{%- else %}
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
{%- endif %}
{{- "\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>" }}
{%- for tool in tools %}
{{- "\n" }}
{{- tool | tojson }}
{%- endfor %}
{{- "\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" }}
{%- else %}
{%- if messages[0]['role'] == 'system' %}
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
{%- else %}
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
{%- endif %}
{%- endif %}
{%- for message in messages %}
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
{%- elif message.role == "assistant" %}
{{- '<|im_start|>' + message.role }}
{%- if message.content %}
{{- '\n' + message.content }}
{%- endif %}
{%- for tool_call in message.tool_calls %}
{%- if tool_call.function is defined %}
{%- set tool_call = tool_call.function %}
{%- endif %}
{{- '\n<tool_call>\n{"name": "' }}
{{- tool_call.name }}
{{- '", "arguments": ' }}
{{- tool_call.arguments | tojson }}
{{- '}\n</tool_call>' }}
{%- endfor %}
{{- '<|im_end|>\n' }}
{%- elif message.role == "tool" %}
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
{{- '<|im_start|>user' }}
{%- endif %}
{{- '\n<tool_response>\n' }}
{{- message.content }}
{{- '\n</tool_response>' }}
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
{{- '<|im_end|>\n' }}
{%- endif %}
{%- endif %}
{%- endfor %}
{%- if add_generation_prompt %}
{{- '<|im_start|>assistant\n' }}
{%- endif %}

151388
checkpoint-39/merges.txt Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6cbee23de1f461b37bcdec98bbab1a95e06ebdad8d3f88ed097ecf0cd4b3674c
size 71281029

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:181c5f0270cf39930062ddfa3767a2481d0c360f120b11f8e25dbf533a1cdaba
size 14645

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5aa14a0f85e26600d13ac3b0b5491ecffc76e5cbc1c57522d62aa021d66bf3c6
size 1465

View File

@@ -0,0 +1,31 @@
{
"additional_special_tokens": [
"<|im_start|>",
"<|im_end|>",
"<|object_ref_start|>",
"<|object_ref_end|>",
"<|box_start|>",
"<|box_end|>",
"<|quad_start|>",
"<|quad_end|>",
"<|vision_start|>",
"<|vision_end|>",
"<|vision_pad|>",
"<|image_pad|>",
"<|video_pad|>"
],
"eos_token": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"pad_token": {
"content": "<|vision_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
}
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
size 11422654

View File

@@ -0,0 +1,240 @@
{
"add_bos_token": false,
"add_prefix_space": false,
"added_tokens_decoder": {
"151643": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151644": {
"content": "<|im_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151645": {
"content": "<|im_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151646": {
"content": "<|object_ref_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151647": {
"content": "<|object_ref_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151648": {
"content": "<|box_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151649": {
"content": "<|box_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151650": {
"content": "<|quad_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151651": {
"content": "<|quad_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151652": {
"content": "<|vision_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151653": {
"content": "<|vision_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151654": {
"content": "<|vision_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151655": {
"content": "<|image_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151656": {
"content": "<|video_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151657": {
"content": "<tool_call>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151658": {
"content": "</tool_call>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151659": {
"content": "<|fim_prefix|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151660": {
"content": "<|fim_middle|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151661": {
"content": "<|fim_suffix|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151662": {
"content": "<|fim_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151663": {
"content": "<|repo_name|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151664": {
"content": "<|file_sep|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151665": {
"content": "<tool_response>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151666": {
"content": "</tool_response>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151667": {
"content": "<think>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151668": {
"content": "</think>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
}
},
"additional_special_tokens": [
"<|im_start|>",
"<|im_end|>",
"<|object_ref_start|>",
"<|object_ref_end|>",
"<|box_start|>",
"<|box_end|>",
"<|quad_start|>",
"<|quad_end|>",
"<|vision_start|>",
"<|vision_end|>",
"<|vision_pad|>",
"<|image_pad|>",
"<|video_pad|>"
],
"bos_token": null,
"clean_up_tokenization_spaces": false,
"eos_token": "<|endoftext|>",
"errors": "replace",
"extra_special_tokens": {},
"model_max_length": 32768,
"pad_token": "<|vision_pad|>",
"padding_side": "right",
"split_special_tokens": false,
"tokenizer_class": "Qwen2Tokenizer",
"unk_token": null
}

View File

@@ -0,0 +1,307 @@
{
"best_global_step": null,
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 3.0,
"eval_steps": 500,
"global_step": 39,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 0.07920792079207921,
"grad_norm": 2.1771256923675537,
"learning_rate": 0.0,
"loss": 2.9552,
"step": 1
},
{
"epoch": 0.15841584158415842,
"grad_norm": 1.9881774187088013,
"learning_rate": 2e-05,
"loss": 2.9192,
"step": 2
},
{
"epoch": 0.2376237623762376,
"grad_norm": 1.7272872924804688,
"learning_rate": 4e-05,
"loss": 2.9117,
"step": 3
},
{
"epoch": 0.31683168316831684,
"grad_norm": 1.8218345642089844,
"learning_rate": 6e-05,
"loss": 2.8895,
"step": 4
},
{
"epoch": 0.39603960396039606,
"grad_norm": 1.6144229173660278,
"learning_rate": 8e-05,
"loss": 2.7776,
"step": 5
},
{
"epoch": 0.4752475247524752,
"grad_norm": 1.4913206100463867,
"learning_rate": 0.0001,
"loss": 2.7254,
"step": 6
},
{
"epoch": 0.5544554455445545,
"grad_norm": 1.5326149463653564,
"learning_rate": 9.705882352941177e-05,
"loss": 2.6575,
"step": 7
},
{
"epoch": 0.6336633663366337,
"grad_norm": 1.363348126411438,
"learning_rate": 9.411764705882353e-05,
"loss": 2.4802,
"step": 8
},
{
"epoch": 0.7128712871287128,
"grad_norm": 1.279327630996704,
"learning_rate": 9.11764705882353e-05,
"loss": 2.4609,
"step": 9
},
{
"epoch": 0.7920792079207921,
"grad_norm": 1.481676459312439,
"learning_rate": 8.823529411764706e-05,
"loss": 2.4929,
"step": 10
},
{
"epoch": 0.8712871287128713,
"grad_norm": 1.3925163745880127,
"learning_rate": 8.529411764705883e-05,
"loss": 2.4714,
"step": 11
},
{
"epoch": 0.9504950495049505,
"grad_norm": 1.4846415519714355,
"learning_rate": 8.23529411764706e-05,
"loss": 2.4263,
"step": 12
},
{
"epoch": 1.0,
"grad_norm": 1.7030328512191772,
"learning_rate": 7.941176470588235e-05,
"loss": 2.3784,
"step": 13
},
{
"epoch": 1.0792079207920793,
"grad_norm": 1.2274811267852783,
"learning_rate": 7.647058823529411e-05,
"loss": 2.3738,
"step": 14
},
{
"epoch": 1.1584158415841583,
"grad_norm": 1.2362170219421387,
"learning_rate": 7.352941176470589e-05,
"loss": 2.2533,
"step": 15
},
{
"epoch": 1.2376237623762376,
"grad_norm": 1.3006786108016968,
"learning_rate": 7.058823529411765e-05,
"loss": 2.2568,
"step": 16
},
{
"epoch": 1.316831683168317,
"grad_norm": 1.326129674911499,
"learning_rate": 6.764705882352942e-05,
"loss": 2.2476,
"step": 17
},
{
"epoch": 1.396039603960396,
"grad_norm": 1.223816156387329,
"learning_rate": 6.470588235294118e-05,
"loss": 2.1276,
"step": 18
},
{
"epoch": 1.4752475247524752,
"grad_norm": 1.2358795404434204,
"learning_rate": 6.176470588235295e-05,
"loss": 2.1277,
"step": 19
},
{
"epoch": 1.5544554455445545,
"grad_norm": 1.2873972654342651,
"learning_rate": 5.882352941176471e-05,
"loss": 2.2558,
"step": 20
},
{
"epoch": 1.6336633663366338,
"grad_norm": 1.3089426755905151,
"learning_rate": 5.588235294117647e-05,
"loss": 2.1956,
"step": 21
},
{
"epoch": 1.7128712871287128,
"grad_norm": 1.1772621870040894,
"learning_rate": 5.294117647058824e-05,
"loss": 2.1671,
"step": 22
},
{
"epoch": 1.7920792079207921,
"grad_norm": 1.2248624563217163,
"learning_rate": 5e-05,
"loss": 2.2105,
"step": 23
},
{
"epoch": 1.8712871287128712,
"grad_norm": 1.1209758520126343,
"learning_rate": 4.705882352941177e-05,
"loss": 2.1628,
"step": 24
},
{
"epoch": 1.9504950495049505,
"grad_norm": 1.0809253454208374,
"learning_rate": 4.411764705882353e-05,
"loss": 2.1846,
"step": 25
},
{
"epoch": 2.0,
"grad_norm": 1.4269254207611084,
"learning_rate": 4.11764705882353e-05,
"loss": 2.1611,
"step": 26
},
{
"epoch": 2.0792079207920793,
"grad_norm": 1.0492329597473145,
"learning_rate": 3.8235294117647055e-05,
"loss": 2.0413,
"step": 27
},
{
"epoch": 2.1584158415841586,
"grad_norm": 1.0544239282608032,
"learning_rate": 3.529411764705883e-05,
"loss": 2.0618,
"step": 28
},
{
"epoch": 2.237623762376238,
"grad_norm": 1.2331007719039917,
"learning_rate": 3.235294117647059e-05,
"loss": 2.1633,
"step": 29
},
{
"epoch": 2.3168316831683167,
"grad_norm": 1.2372910976409912,
"learning_rate": 2.9411764705882354e-05,
"loss": 2.1143,
"step": 30
},
{
"epoch": 2.396039603960396,
"grad_norm": 1.177882194519043,
"learning_rate": 2.647058823529412e-05,
"loss": 1.9923,
"step": 31
},
{
"epoch": 2.4752475247524752,
"grad_norm": 1.1148498058319092,
"learning_rate": 2.3529411764705884e-05,
"loss": 2.0018,
"step": 32
},
{
"epoch": 2.5544554455445545,
"grad_norm": 1.1493771076202393,
"learning_rate": 2.058823529411765e-05,
"loss": 2.0589,
"step": 33
},
{
"epoch": 2.633663366336634,
"grad_norm": 1.1797679662704468,
"learning_rate": 1.7647058823529414e-05,
"loss": 1.9919,
"step": 34
},
{
"epoch": 2.7128712871287126,
"grad_norm": 1.1385939121246338,
"learning_rate": 1.4705882352941177e-05,
"loss": 2.0353,
"step": 35
},
{
"epoch": 2.792079207920792,
"grad_norm": 1.139145851135254,
"learning_rate": 1.1764705882352942e-05,
"loss": 2.0152,
"step": 36
},
{
"epoch": 2.871287128712871,
"grad_norm": 1.1550567150115967,
"learning_rate": 8.823529411764707e-06,
"loss": 2.0115,
"step": 37
},
{
"epoch": 2.9504950495049505,
"grad_norm": 1.186667799949646,
"learning_rate": 5.882352941176471e-06,
"loss": 2.0066,
"step": 38
},
{
"epoch": 3.0,
"grad_norm": 1.5287202596664429,
"learning_rate": 2.9411764705882355e-06,
"loss": 2.0844,
"step": 39
}
],
"logging_steps": 1,
"max_steps": 39,
"num_input_tokens_seen": 0,
"num_train_epochs": 3,
"save_steps": 5000,
"stateful_callbacks": {
"TrainerControl": {
"args": {
"should_epoch_stop": false,
"should_evaluate": false,
"should_log": false,
"should_save": true,
"should_training_stop": true
},
"attributes": {}
}
},
"total_flos": 1712090038886400.0,
"train_batch_size": 2,
"trial_name": null,
"trial_params": null
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:46498e0cc05cfcfd0f250d223ec3f5e79a63acdcda6def8aabcec31dd50aee07
size 6097

1
checkpoint-39/vocab.json Normal file

File diff suppressed because one or more lines are too long