Add files using upload-large-folder tool
Browse files- README.md +19 -25
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/README.md +207 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/adapter_config.json +38 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/additional_config.json +1 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/args.json +398 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/latest +1 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/save_audit.json +11 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/trainer_state.json +646 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/zero_to_fp32.py +760 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/added_tokens.json +28 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/args.json +398 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/config.json +69 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/generation_config.json +13 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/model.safetensors.index.json +758 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/preprocessor_config.json +21 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/special_tokens_map.json +31 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/tokenizer_config.json +240 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/video_preprocessor_config.json +41 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/vocab.json +0 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/README.md +207 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/adapter_config.json +38 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/additional_config.json +1 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/args.json +398 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/latest +1 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/save_audit.json +11 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/trainer_state.json +646 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/zero_to_fp32.py +760 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/checkpoint-178/README.md +207 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/checkpoint-178/adapter_config.json +38 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/checkpoint-178/additional_config.json +1 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/checkpoint-178/args.json +398 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/checkpoint-178/latest +1 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/checkpoint-178/save_audit.json +11 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/checkpoint-178/trainer_state.json +646 -0
- output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/checkpoint-178/zero_to_fp32.py +760 -0
- output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/added_tokens.json +28 -0
- output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/args.json +408 -0
- output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/chat_template.jinja +120 -0
- output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/config.json +69 -0
- output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/generation_config.json +13 -0
- output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/merges.txt +0 -0
- output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/model.safetensors.index.json +758 -0
- output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/preprocessor_config.json +21 -0
- output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/special_tokens_map.json +31 -0
- output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/tokenizer_config.json +240 -0
- output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/trainer_state.json +1021 -0
- output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/video_preprocessor_config.json +41 -0
- output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/vocab.json +0 -0
README.md
CHANGED
|
@@ -1,46 +1,40 @@
|
|
| 1 |
-
# nuReasoning 迁移仓库
|
| 2 |
|
| 3 |
-
本仓库
|
| 4 |
-
|
|
|
|
|
|
|
| 5 |
|
| 6 |
## 内容
|
| 7 |
|
| 8 |
| 仓库路径 | 内容 | 解包到 |
|
| 9 |
| --- | --- | --- |
|
| 10 |
| `data/images/<包>/*.tar` | SFT 集引用的降采样图像(通常 546×359),每包 128 片,`count.txt` 为图像数:sft_images、planning_08b_extra、sft_v3_extra、vqa_v32_extra、planning_surround_extra、vqa_lora_pre2026_extra;2026-11-05 补充 0.8B planning 8 相机 / 低分辨率历史各臂(至 D2M+ON-nb+KS)的 planning_08b_{cams8_extra,a05_extra,a05_cams8_extra,a05lc_cams8_extra,a05on_cams8_extra,a05ks_cams8_extra}、reasoning_modes_val_extra、planning_val_full | `dataset/data/` |
|
| 11 |
-
| `data/images/*_lowhist_images/*.tar` |
|
| 12 |
| `data/test_inputs/*.tar` | devkit 的 test 输入:1,000 个 test clip 的推理图像与已处理输入 | `.` |
|
| 13 |
| `data/annotations/*.tar` | 原始非相机文件:metadata、ego_state、annotations、reasoning、map.pkl、test 问题;`COMPLETE.json` 为打包记录 | `dataset/data/` |
|
| 14 |
| `data/processed*.tar` | generator 输出 `processed/` | `.` |
|
| 15 |
-
| `data/sft-*.tar` | 全部 SFT 数据 `dataset/sft/`(v2 等无法
|
| 16 |
| `data/dataset-misc.tar` | `dataset/rl/`、`dataset/scorer/` | `.` |
|
| 17 |
-
| `results/output-*.tar` | `output/` 下全部非权重文件:预测、64 采样、提交、指标、日志 | `.` |
|
| 18 |
-
| `
|
| 19 |
-
| `
|
| 20 |
-
| `output/
|
| 21 |
-
| `output/qwen3.5-0.8b/planning/regular3_drivema_allmeta_a05onaddnbks_cams8_lowhist/.../checkpoint-3468` | 2026-11-05 补充:0.8B planning 基线 D2M+ON-nb+KS 权重(不含优化器) | 已在原路径 |
|
| 22 |
-
| `dataset/sft/planning_08b/regular3_drivema_allmeta_a05onaddnbks_cams8_lowhist/` | 2026-11-05 补充:该基线的 SFT 行(train/val JSONL、图像清单;图像路径为 `/localdata/nuReasoning/dataset/{data,data_quarter}`) | 已在原路径 |
|
| 23 |
| `models/`、`external/FluidDrive/NVIDIA/exported_models/` | WOD-SFT1186、Qwen3.5-0.8B、Alpamayo-1.5-10B 导出初始化 | 已在原路径 |
|
| 24 |
|
| 25 |
-
不含:全部帧的完整相机图(约 1.1 TB,需要时用 `tools/stage_hf_transfer.py --cameras` 补传为 `data/cameras/`)
|
| 26 |
-
`dataset/data/val_as_test/`(硬链接完整 val 相机图的 Codex 复核镜像,有完整相机图后用 `tools/codex_val_mirror.py build` 重建)
|
| 27 |
-
优化器状态
|
| 28 |
-
(推理/评分依赖见 `tools/migration_devkit/requirements-*.txt`)。
|
| 29 |
|
| 30 |
## 下载与恢复
|
| 31 |
|
| 32 |
```bash
|
| 33 |
ROOT=/data/nuReasoning
|
| 34 |
-
|
|
|
|
|
|
|
| 35 |
bash "$ROOT/restore.sh" "$ROOT" 16 # 并行解包,并运行 verify_restore.py 核对文件数与字节数
|
| 36 |
-
rm -rf "$ROOT/data" "$ROOT/
|
| 37 |
```
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
```bash
|
| 42 |
-
mkdir -p /cephfs/zhengwc /localdata/nuReasoning
|
| 43 |
-
ln -s "$ROOT" /cephfs/zhengwc/nuReasoning
|
| 44 |
-
ln -s "$ROOT/external/FluidDrive" /cephfs/zhengwc/FluidDrive
|
| 45 |
-
ln -s "$ROOT/dataset" /localdata/nuReasoning/dataset
|
| 46 |
-
```
|
|
|
|
| 1 |
+
# nuReasoning 迁移仓库(权重与数据)
|
| 2 |
|
| 3 |
+
本仓库只放权重和数据;代码统一在 GitHub 私有仓库 `wczheng/nuReasoning`。完整恢复流程(clone、下载、路径链接、环境)
|
| 4 |
+
见 GitHub 仓库的 `docs/new-cluster-setup.md`。本仓库按项目根目录(下称 `<ROOT>`,原机器为
|
| 5 |
+
`/cephfs/zhengwc/nuReasoning`)组织:先 clone 代码到 `<ROOT>`,再把本仓库下载到同一个 `<ROOT>`,解包一次即得到与原环境同构的目录树。
|
| 6 |
+
`MANIFEST.json` 列出全部文件、大小,以及每个 tar 分片的来源条目和文件数/字节数。
|
| 7 |
|
| 8 |
## 内容
|
| 9 |
|
| 10 |
| 仓库路径 | 内容 | 解包到 |
|
| 11 |
| --- | --- | --- |
|
| 12 |
| `data/images/<包>/*.tar` | SFT 集引用的降采样图像(通常 546×359),每包 128 片,`count.txt` 为图像数:sft_images、planning_08b_extra、sft_v3_extra、vqa_v32_extra、planning_surround_extra、vqa_lora_pre2026_extra;2026-11-05 补充 0.8B planning 8 相机 / 低分辨率历史各臂(至 D2M+ON-nb+KS)的 planning_08b_{cams8_extra,a05_extra,a05_cams8_extra,a05lc_cams8_extra,a05on_cams8_extra,a05ks_cams8_extra}、reasoning_modes_val_extra、planning_val_full | `dataset/data/` |
|
| 13 |
+
| `data/images/*_lowhist_images/*.tar` | 低分辨率历史帧副本(1/4 面积,273×180):planning_08b_{lowhist,a05_lowhist,a05lc_lowhist,a05on_lowhist,a05ks_lowhist} | `dataset/data_quarter/` |
|
| 14 |
| `data/test_inputs/*.tar` | devkit 的 test 输入:1,000 个 test clip 的推理图像与已处理输入 | `.` |
|
| 15 |
| `data/annotations/*.tar` | 原始非相机文件:metadata、ego_state、annotations、reasoning、map.pkl、test 问题;`COMPLETE.json` 为打包记录 | `dataset/data/` |
|
| 16 |
| `data/processed*.tar` | generator 输出 `processed/` | `.` |
|
| 17 |
+
| `data/sft-*.tar` | 全部 SFT 数据 `dataset/sft/`(2026-11-05 重新打包,含 reasoning_modes、0.8B planning 各臂等新集;v2 等无法逐字节重建,teacher CoT 需要 API) | `.` |
|
| 18 |
| `data/dataset-misc.tar` | `dataset/rl/`、`dataset/scorer/` | `.` |
|
| 19 |
+
| `results/output-*.tar` | `output/` 下全部非权重文件:预测、64 采样、提交、指标、日志(2026-11-05 重新打包) | `.` |
|
| 20 |
+
| `results/records.tar` | git 不收的记录:`logs/` 下的日志与状态文件、`vqa_review/`、`to-merge/`、论文 PDF、结果 zip(git 已有的脚本不在其中) | `.` |
|
| 21 |
+
| `output/alpamayo-1.5-10B/...` | 权重(只有顶层文件,不含优化器):池成员 2955、regular12 ckpt1500、RL mid300_450;VQA 的 WODQ 2816/4224;AD Knowledge 1131;2026-11-05 补充 board 成员 r12val checkpoint-141、m25 merged checkpoint-178,以及第一轮 m25/m45/m245 LoRA adapter | 已在原路径 |
|
| 22 |
+
| `output/qwen3.5-0.8b/planning/regular3_drivema_allmeta_a05onaddnbks_cams8_lowhist/.../checkpoint-3468` | 0.8B planning 基线 D2M+ON-nb+KS 权重 | 已在原路径 |
|
|
|
|
|
|
|
| 23 |
| `models/`、`external/FluidDrive/NVIDIA/exported_models/` | WOD-SFT1186、Qwen3.5-0.8B、Alpamayo-1.5-10B 导出初始化 | 已在原路径 |
|
| 24 |
|
| 25 |
+
不含:代码(GitHub);全部帧的完整相机图(约 1.1 TB,需要时用 `tools/stage_hf_transfer.py --cameras` 补传为 `data/cameras/`);
|
| 26 |
+
`dataset/data/val_as_test/`(硬链接完整 val 相机图的 Codex 复核镜像,有完整相机图后用 `tools/codex_val_mirror.py build` 重建);
|
| 27 |
+
优化器状态;被否决实验和小模型微调的权重;board 成员 fullval checkpoint-141(在 H200 服务器上训练,原集群上没有);`dataset_probe/`;conda 环境。
|
|
|
|
| 28 |
|
| 29 |
## 下载与恢复
|
| 30 |
|
| 31 |
```bash
|
| 32 |
ROOT=/data/nuReasoning
|
| 33 |
+
git clone git@github.com:wczheng/nuReasoning.git "$ROOT" # 代码先到位
|
| 34 |
+
HF_ENDPOINT=https://hf-mirror.com HF_HUB_DISABLE_XET=1 \
|
| 35 |
+
hf download zwc2003/tmp-2 --local-dir "$ROOT" --exclude .gitattributes --max-workers 16
|
| 36 |
bash "$ROOT/restore.sh" "$ROOT" 16 # 并行解包,并运行 verify_restore.py 核对文件数与字节数
|
| 37 |
+
rm -rf "$ROOT/data" "$ROOT/results" # 校验 OK 后可删除 tar
|
| 38 |
```
|
| 39 |
|
| 40 |
+
下载到的文件都在 `.gitignore` 里,`git status` 应保持干净。路径链接与环境见 `docs/new-cluster-setup.md`。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/README.md
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: /cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500
|
| 7 |
+
- lora
|
| 8 |
+
- transformers
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Model Card for Model ID
|
| 12 |
+
|
| 13 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
## Model Details
|
| 18 |
+
|
| 19 |
+
### Model Description
|
| 20 |
+
|
| 21 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
- **Developed by:** [More Information Needed]
|
| 26 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 27 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 28 |
+
- **Model type:** [More Information Needed]
|
| 29 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 30 |
+
- **License:** [More Information Needed]
|
| 31 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 32 |
+
|
| 33 |
+
### Model Sources [optional]
|
| 34 |
+
|
| 35 |
+
<!-- Provide the basic links for the model. -->
|
| 36 |
+
|
| 37 |
+
- **Repository:** [More Information Needed]
|
| 38 |
+
- **Paper [optional]:** [More Information Needed]
|
| 39 |
+
- **Demo [optional]:** [More Information Needed]
|
| 40 |
+
|
| 41 |
+
## Uses
|
| 42 |
+
|
| 43 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 44 |
+
|
| 45 |
+
### Direct Use
|
| 46 |
+
|
| 47 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 48 |
+
|
| 49 |
+
[More Information Needed]
|
| 50 |
+
|
| 51 |
+
### Downstream Use [optional]
|
| 52 |
+
|
| 53 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 54 |
+
|
| 55 |
+
[More Information Needed]
|
| 56 |
+
|
| 57 |
+
### Out-of-Scope Use
|
| 58 |
+
|
| 59 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 60 |
+
|
| 61 |
+
[More Information Needed]
|
| 62 |
+
|
| 63 |
+
## Bias, Risks, and Limitations
|
| 64 |
+
|
| 65 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 66 |
+
|
| 67 |
+
[More Information Needed]
|
| 68 |
+
|
| 69 |
+
### Recommendations
|
| 70 |
+
|
| 71 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 72 |
+
|
| 73 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 74 |
+
|
| 75 |
+
## How to Get Started with the Model
|
| 76 |
+
|
| 77 |
+
Use the code below to get started with the model.
|
| 78 |
+
|
| 79 |
+
[More Information Needed]
|
| 80 |
+
|
| 81 |
+
## Training Details
|
| 82 |
+
|
| 83 |
+
### Training Data
|
| 84 |
+
|
| 85 |
+
<!-- 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. -->
|
| 86 |
+
|
| 87 |
+
[More Information Needed]
|
| 88 |
+
|
| 89 |
+
### Training Procedure
|
| 90 |
+
|
| 91 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 92 |
+
|
| 93 |
+
#### Preprocessing [optional]
|
| 94 |
+
|
| 95 |
+
[More Information Needed]
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
#### Training Hyperparameters
|
| 99 |
+
|
| 100 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 101 |
+
|
| 102 |
+
#### Speeds, Sizes, Times [optional]
|
| 103 |
+
|
| 104 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 105 |
+
|
| 106 |
+
[More Information Needed]
|
| 107 |
+
|
| 108 |
+
## Evaluation
|
| 109 |
+
|
| 110 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 111 |
+
|
| 112 |
+
### Testing Data, Factors & Metrics
|
| 113 |
+
|
| 114 |
+
#### Testing Data
|
| 115 |
+
|
| 116 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 117 |
+
|
| 118 |
+
[More Information Needed]
|
| 119 |
+
|
| 120 |
+
#### Factors
|
| 121 |
+
|
| 122 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 123 |
+
|
| 124 |
+
[More Information Needed]
|
| 125 |
+
|
| 126 |
+
#### Metrics
|
| 127 |
+
|
| 128 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 129 |
+
|
| 130 |
+
[More Information Needed]
|
| 131 |
+
|
| 132 |
+
### Results
|
| 133 |
+
|
| 134 |
+
[More Information Needed]
|
| 135 |
+
|
| 136 |
+
#### Summary
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
## Model Examination [optional]
|
| 141 |
+
|
| 142 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 143 |
+
|
| 144 |
+
[More Information Needed]
|
| 145 |
+
|
| 146 |
+
## Environmental Impact
|
| 147 |
+
|
| 148 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 149 |
+
|
| 150 |
+
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).
|
| 151 |
+
|
| 152 |
+
- **Hardware Type:** [More Information Needed]
|
| 153 |
+
- **Hours used:** [More Information Needed]
|
| 154 |
+
- **Cloud Provider:** [More Information Needed]
|
| 155 |
+
- **Compute Region:** [More Information Needed]
|
| 156 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 157 |
+
|
| 158 |
+
## Technical Specifications [optional]
|
| 159 |
+
|
| 160 |
+
### Model Architecture and Objective
|
| 161 |
+
|
| 162 |
+
[More Information Needed]
|
| 163 |
+
|
| 164 |
+
### Compute Infrastructure
|
| 165 |
+
|
| 166 |
+
[More Information Needed]
|
| 167 |
+
|
| 168 |
+
#### Hardware
|
| 169 |
+
|
| 170 |
+
[More Information Needed]
|
| 171 |
+
|
| 172 |
+
#### Software
|
| 173 |
+
|
| 174 |
+
[More Information Needed]
|
| 175 |
+
|
| 176 |
+
## Citation [optional]
|
| 177 |
+
|
| 178 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 179 |
+
|
| 180 |
+
**BibTeX:**
|
| 181 |
+
|
| 182 |
+
[More Information Needed]
|
| 183 |
+
|
| 184 |
+
**APA:**
|
| 185 |
+
|
| 186 |
+
[More Information Needed]
|
| 187 |
+
|
| 188 |
+
## Glossary [optional]
|
| 189 |
+
|
| 190 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 191 |
+
|
| 192 |
+
[More Information Needed]
|
| 193 |
+
|
| 194 |
+
## More Information [optional]
|
| 195 |
+
|
| 196 |
+
[More Information Needed]
|
| 197 |
+
|
| 198 |
+
## Model Card Authors [optional]
|
| 199 |
+
|
| 200 |
+
[More Information Needed]
|
| 201 |
+
|
| 202 |
+
## Model Card Contact
|
| 203 |
+
|
| 204 |
+
[More Information Needed]
|
| 205 |
+
### Framework versions
|
| 206 |
+
|
| 207 |
+
- PEFT 0.18.1
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/adapter_config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 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": 64,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": [],
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 32,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": "^(model.language_model.*\\.(k_proj|up_proj|o_proj|gate_proj|v_proj|down_proj|q_proj)|(?!(model.visual.merger|model.visual.deepstack_merger_list))model.visual.*\\.(attn.proj|linear_fc2|linear_fc1|qkv)|model.visual.merger.*\\.(linear_fc1|linear_fc2)|model.visual.deepstack_merger_list.*\\.(linear_fc1|linear_fc2))$",
|
| 32 |
+
"target_parameters": null,
|
| 33 |
+
"task_type": "CAUSAL_LM",
|
| 34 |
+
"trainable_token_indices": null,
|
| 35 |
+
"use_dora": false,
|
| 36 |
+
"use_qalora": false,
|
| 37 |
+
"use_rslora": false
|
| 38 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/additional_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lora_dtype": null, "lorap_lr_ratio": null, "lorap_emb_lr": 1e-06}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/args.json
ADDED
|
@@ -0,0 +1,398 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"output_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train",
|
| 3 |
+
"overwrite_output_dir": false,
|
| 4 |
+
"do_train": false,
|
| 5 |
+
"do_eval": false,
|
| 6 |
+
"do_predict": false,
|
| 7 |
+
"eval_strategy": "no",
|
| 8 |
+
"prediction_loss_only": false,
|
| 9 |
+
"per_device_train_batch_size": 8,
|
| 10 |
+
"per_device_eval_batch_size": 1,
|
| 11 |
+
"per_gpu_train_batch_size": null,
|
| 12 |
+
"per_gpu_eval_batch_size": null,
|
| 13 |
+
"gradient_accumulation_steps": 1,
|
| 14 |
+
"eval_accumulation_steps": null,
|
| 15 |
+
"eval_delay": 0,
|
| 16 |
+
"torch_empty_cache_steps": null,
|
| 17 |
+
"learning_rate": 5e-05,
|
| 18 |
+
"weight_decay": 0.01,
|
| 19 |
+
"adam_beta1": 0.9,
|
| 20 |
+
"adam_beta2": 0.95,
|
| 21 |
+
"adam_epsilon": 1e-08,
|
| 22 |
+
"max_grad_norm": 1.0,
|
| 23 |
+
"num_train_epochs": 1.0,
|
| 24 |
+
"max_steps": -1,
|
| 25 |
+
"lr_scheduler_type": "cosine",
|
| 26 |
+
"lr_scheduler_kwargs": null,
|
| 27 |
+
"warmup_ratio": 0.03,
|
| 28 |
+
"warmup_steps": 0,
|
| 29 |
+
"log_level": "passive",
|
| 30 |
+
"log_level_replica": "warning",
|
| 31 |
+
"log_on_each_node": true,
|
| 32 |
+
"logging_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/runs",
|
| 33 |
+
"logging_strategy": "steps",
|
| 34 |
+
"logging_first_step": true,
|
| 35 |
+
"logging_steps": 5,
|
| 36 |
+
"logging_nan_inf_filter": true,
|
| 37 |
+
"save_strategy": "steps",
|
| 38 |
+
"save_steps": 100.0,
|
| 39 |
+
"save_total_limit": 0,
|
| 40 |
+
"save_safetensors": true,
|
| 41 |
+
"save_on_each_node": false,
|
| 42 |
+
"save_only_model": false,
|
| 43 |
+
"restore_callback_states_from_checkpoint": false,
|
| 44 |
+
"no_cuda": false,
|
| 45 |
+
"use_cpu": false,
|
| 46 |
+
"use_mps_device": false,
|
| 47 |
+
"seed": 42,
|
| 48 |
+
"data_seed": 42,
|
| 49 |
+
"jit_mode_eval": false,
|
| 50 |
+
"bf16": true,
|
| 51 |
+
"fp16": false,
|
| 52 |
+
"fp16_opt_level": "O1",
|
| 53 |
+
"half_precision_backend": "auto",
|
| 54 |
+
"bf16_full_eval": false,
|
| 55 |
+
"fp16_full_eval": false,
|
| 56 |
+
"tf32": null,
|
| 57 |
+
"local_rank": 0,
|
| 58 |
+
"ddp_backend": null,
|
| 59 |
+
"tpu_num_cores": null,
|
| 60 |
+
"tpu_metrics_debug": false,
|
| 61 |
+
"debug": null,
|
| 62 |
+
"dataloader_drop_last": false,
|
| 63 |
+
"eval_steps": null,
|
| 64 |
+
"dataloader_num_workers": 4,
|
| 65 |
+
"dataloader_prefetch_factor": null,
|
| 66 |
+
"past_index": -1,
|
| 67 |
+
"run_name": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train",
|
| 68 |
+
"disable_tqdm": null,
|
| 69 |
+
"remove_unused_columns": false,
|
| 70 |
+
"label_names": null,
|
| 71 |
+
"load_best_model_at_end": false,
|
| 72 |
+
"metric_for_best_model": "loss",
|
| 73 |
+
"greater_is_better": false,
|
| 74 |
+
"ignore_data_skip": false,
|
| 75 |
+
"fsdp": [],
|
| 76 |
+
"fsdp_min_num_params": 0,
|
| 77 |
+
"fsdp_config": null,
|
| 78 |
+
"fsdp_transformer_layer_cls_to_wrap": null,
|
| 79 |
+
"accelerator_config": {
|
| 80 |
+
"dispatch_batches": false
|
| 81 |
+
},
|
| 82 |
+
"parallelism_config": null,
|
| 83 |
+
"deepspeed": {
|
| 84 |
+
"fp16": {
|
| 85 |
+
"enabled": "auto",
|
| 86 |
+
"loss_scale": 0,
|
| 87 |
+
"loss_scale_window": 1000,
|
| 88 |
+
"initial_scale_power": 16,
|
| 89 |
+
"hysteresis": 2,
|
| 90 |
+
"min_loss_scale": 1
|
| 91 |
+
},
|
| 92 |
+
"bf16": {
|
| 93 |
+
"enabled": "auto"
|
| 94 |
+
},
|
| 95 |
+
"zero_optimization": {
|
| 96 |
+
"stage": 2,
|
| 97 |
+
"offload_optimizer": {
|
| 98 |
+
"device": "none",
|
| 99 |
+
"pin_memory": true
|
| 100 |
+
},
|
| 101 |
+
"allgather_partitions": true,
|
| 102 |
+
"allgather_bucket_size": 200000000.0,
|
| 103 |
+
"overlap_comm": false,
|
| 104 |
+
"reduce_scatter": true,
|
| 105 |
+
"reduce_bucket_size": 200000000.0,
|
| 106 |
+
"contiguous_gradients": true
|
| 107 |
+
},
|
| 108 |
+
"gradient_accumulation_steps": "auto",
|
| 109 |
+
"gradient_clipping": "auto",
|
| 110 |
+
"steps_per_print": 2000,
|
| 111 |
+
"train_batch_size": "auto",
|
| 112 |
+
"train_micro_batch_size_per_gpu": "auto",
|
| 113 |
+
"wall_clock_breakdown": false
|
| 114 |
+
},
|
| 115 |
+
"label_smoothing_factor": 0.0,
|
| 116 |
+
"optim": "adamw_torch_fused",
|
| 117 |
+
"optim_args": null,
|
| 118 |
+
"adafactor": false,
|
| 119 |
+
"group_by_length": false,
|
| 120 |
+
"length_column_name": "length",
|
| 121 |
+
"report_to": [
|
| 122 |
+
"tensorboard"
|
| 123 |
+
],
|
| 124 |
+
"project": "huggingface",
|
| 125 |
+
"trackio_space_id": "trackio",
|
| 126 |
+
"ddp_find_unused_parameters": null,
|
| 127 |
+
"ddp_bucket_cap_mb": null,
|
| 128 |
+
"ddp_broadcast_buffers": null,
|
| 129 |
+
"dataloader_pin_memory": true,
|
| 130 |
+
"dataloader_persistent_workers": false,
|
| 131 |
+
"skip_memory_metrics": true,
|
| 132 |
+
"use_legacy_prediction_loop": false,
|
| 133 |
+
"push_to_hub": false,
|
| 134 |
+
"resume_from_checkpoint": null,
|
| 135 |
+
"hub_model_id": null,
|
| 136 |
+
"hub_strategy": "every_save",
|
| 137 |
+
"hub_token": null,
|
| 138 |
+
"hub_private_repo": null,
|
| 139 |
+
"hub_always_push": false,
|
| 140 |
+
"hub_revision": null,
|
| 141 |
+
"gradient_checkpointing": true,
|
| 142 |
+
"gradient_checkpointing_kwargs": "{\"use_reentrant\": false}",
|
| 143 |
+
"include_inputs_for_metrics": false,
|
| 144 |
+
"include_for_metrics": [],
|
| 145 |
+
"eval_do_concat_batches": true,
|
| 146 |
+
"fp16_backend": "auto",
|
| 147 |
+
"push_to_hub_model_id": null,
|
| 148 |
+
"push_to_hub_organization": null,
|
| 149 |
+
"push_to_hub_token": null,
|
| 150 |
+
"mp_parameters": "",
|
| 151 |
+
"auto_find_batch_size": false,
|
| 152 |
+
"full_determinism": false,
|
| 153 |
+
"torchdynamo": null,
|
| 154 |
+
"ray_scope": "last",
|
| 155 |
+
"ddp_timeout": 18000000,
|
| 156 |
+
"torch_compile": false,
|
| 157 |
+
"torch_compile_backend": null,
|
| 158 |
+
"torch_compile_mode": null,
|
| 159 |
+
"include_tokens_per_second": false,
|
| 160 |
+
"include_num_input_tokens_seen": false,
|
| 161 |
+
"neftune_noise_alpha": null,
|
| 162 |
+
"optim_target_modules": null,
|
| 163 |
+
"batch_eval_metrics": false,
|
| 164 |
+
"eval_on_start": false,
|
| 165 |
+
"use_liger_kernel": false,
|
| 166 |
+
"liger_kernel_config": null,
|
| 167 |
+
"eval_use_gather_object": false,
|
| 168 |
+
"average_tokens_across_devices": false,
|
| 169 |
+
"sortish_sampler": false,
|
| 170 |
+
"predict_with_generate": false,
|
| 171 |
+
"generation_max_length": null,
|
| 172 |
+
"generation_num_beams": null,
|
| 173 |
+
"generation_config": null,
|
| 174 |
+
"tuner_backend": "peft",
|
| 175 |
+
"vit_gradient_checkpointing": true,
|
| 176 |
+
"router_aux_loss_coef": 0.0,
|
| 177 |
+
"enable_dft_loss": false,
|
| 178 |
+
"enable_channel_loss": false,
|
| 179 |
+
"check_model": true,
|
| 180 |
+
"acc_strategy": "token",
|
| 181 |
+
"train_dataloader_shuffle": true,
|
| 182 |
+
"max_epochs": null,
|
| 183 |
+
"aligner_lr": 2e-05,
|
| 184 |
+
"vit_lr": 1e-05,
|
| 185 |
+
"use_logits_to_keep": true,
|
| 186 |
+
"ds3_gather_for_generation": true,
|
| 187 |
+
"resume_only_model": false,
|
| 188 |
+
"optimizer": "multimodal",
|
| 189 |
+
"loss_type": "planning_modes",
|
| 190 |
+
"eval_metric": null,
|
| 191 |
+
"callbacks": [
|
| 192 |
+
"lora_2955_checks"
|
| 193 |
+
],
|
| 194 |
+
"early_stop_interval": null,
|
| 195 |
+
"eval_use_evalscope": false,
|
| 196 |
+
"eval_dataset": [],
|
| 197 |
+
"eval_dataset_args": null,
|
| 198 |
+
"eval_limit": null,
|
| 199 |
+
"eval_generation_config": null,
|
| 200 |
+
"extra_eval_args": null,
|
| 201 |
+
"tuner_type": "lora",
|
| 202 |
+
"use_galore": false,
|
| 203 |
+
"galore_target_modules": null,
|
| 204 |
+
"galore_rank": 128,
|
| 205 |
+
"galore_update_proj_gap": 50,
|
| 206 |
+
"galore_scale": 1.0,
|
| 207 |
+
"galore_proj_type": "std",
|
| 208 |
+
"galore_optim_per_parameter": false,
|
| 209 |
+
"galore_with_embedding": false,
|
| 210 |
+
"galore_quantization": false,
|
| 211 |
+
"galore_proj_quant": false,
|
| 212 |
+
"galore_proj_bits": 4,
|
| 213 |
+
"galore_proj_group_size": 256,
|
| 214 |
+
"galore_cos_threshold": 0.4,
|
| 215 |
+
"galore_gamma_proj": 2,
|
| 216 |
+
"galore_queue_size": 5,
|
| 217 |
+
"lisa_activated_layers": 0,
|
| 218 |
+
"lisa_step_interval": 20,
|
| 219 |
+
"use_flash_ckpt": false,
|
| 220 |
+
"use_ray": false,
|
| 221 |
+
"ray_exp_name": null,
|
| 222 |
+
"device_groups": null,
|
| 223 |
+
"model": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 224 |
+
"model_type": "qwen3_vl",
|
| 225 |
+
"model_revision": null,
|
| 226 |
+
"task_type": "causal_lm",
|
| 227 |
+
"torch_dtype": "bfloat16",
|
| 228 |
+
"attn_impl": "sdpa",
|
| 229 |
+
"experts_impl": null,
|
| 230 |
+
"new_special_tokens": [],
|
| 231 |
+
"num_labels": null,
|
| 232 |
+
"problem_type": null,
|
| 233 |
+
"rope_scaling": null,
|
| 234 |
+
"device_map": null,
|
| 235 |
+
"max_memory": {},
|
| 236 |
+
"max_model_len": null,
|
| 237 |
+
"local_repo_path": null,
|
| 238 |
+
"init_strategy": null,
|
| 239 |
+
"template": "qwen3_vl_planning_modes",
|
| 240 |
+
"system": null,
|
| 241 |
+
"max_length": 8192,
|
| 242 |
+
"truncation_strategy": "delete",
|
| 243 |
+
"max_pixels": 196608,
|
| 244 |
+
"agent_template": null,
|
| 245 |
+
"norm_bbox": null,
|
| 246 |
+
"use_chat_template": true,
|
| 247 |
+
"padding_side": "right",
|
| 248 |
+
"padding_free": false,
|
| 249 |
+
"loss_scale": "default",
|
| 250 |
+
"sequence_parallel_size": 1,
|
| 251 |
+
"template_backend": "swift",
|
| 252 |
+
"response_prefix": null,
|
| 253 |
+
"enable_thinking": false,
|
| 254 |
+
"add_non_thinking_prefix": false,
|
| 255 |
+
"dataset": [
|
| 256 |
+
"/cephfs/zhengwc/nuReasoning/dataset/sft/reasoning_modes_v1/m245/planning_train.jsonl"
|
| 257 |
+
],
|
| 258 |
+
"val_dataset": [],
|
| 259 |
+
"cached_dataset": [],
|
| 260 |
+
"cached_val_dataset": [],
|
| 261 |
+
"split_dataset_ratio": 0.0,
|
| 262 |
+
"dataset_num_proc": 1,
|
| 263 |
+
"load_from_cache_file": false,
|
| 264 |
+
"dataset_shuffle": true,
|
| 265 |
+
"val_dataset_shuffle": false,
|
| 266 |
+
"streaming": false,
|
| 267 |
+
"interleave_prob": null,
|
| 268 |
+
"stopping_strategy": "first_exhausted",
|
| 269 |
+
"shuffle_buffer_size": 1000,
|
| 270 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 271 |
+
"columns": {},
|
| 272 |
+
"strict": true,
|
| 273 |
+
"model_name": null,
|
| 274 |
+
"model_author": null,
|
| 275 |
+
"custom_dataset_info": [],
|
| 276 |
+
"quant_method": null,
|
| 277 |
+
"quant_bits": null,
|
| 278 |
+
"hqq_axis": null,
|
| 279 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 280 |
+
"bnb_4bit_quant_type": "nf4",
|
| 281 |
+
"bnb_4bit_use_double_quant": true,
|
| 282 |
+
"bnb_4bit_quant_storage": null,
|
| 283 |
+
"max_new_tokens": 64,
|
| 284 |
+
"temperature": 0.0,
|
| 285 |
+
"top_k": null,
|
| 286 |
+
"top_p": null,
|
| 287 |
+
"repetition_penalty": null,
|
| 288 |
+
"num_beams": 1,
|
| 289 |
+
"stream": false,
|
| 290 |
+
"stop_words": [],
|
| 291 |
+
"logprobs": false,
|
| 292 |
+
"top_logprobs": null,
|
| 293 |
+
"structured_outputs_regex": null,
|
| 294 |
+
"train_type": null,
|
| 295 |
+
"adapters": [],
|
| 296 |
+
"external_plugins": [
|
| 297 |
+
"/cephfs/zhengwc/nuReasoning/logs/reasoning_modes_16gpu/20261103-1420/m245/swift_planning_modes.py",
|
| 298 |
+
"/cephfs/zhengwc/nuReasoning/logs/reasoning_modes_16gpu/20261103-1420/m245/lora_2955_callbacks.py"
|
| 299 |
+
],
|
| 300 |
+
"custom_register_path": [],
|
| 301 |
+
"model_kwargs": {},
|
| 302 |
+
"load_args": false,
|
| 303 |
+
"load_data_args": false,
|
| 304 |
+
"packing": false,
|
| 305 |
+
"packing_length": null,
|
| 306 |
+
"packing_num_proc": 1,
|
| 307 |
+
"lazy_tokenize": true,
|
| 308 |
+
"use_hf": true,
|
| 309 |
+
"ignore_args_error": false,
|
| 310 |
+
"use_swift_lora": false,
|
| 311 |
+
"freeze_parameters": [],
|
| 312 |
+
"freeze_parameters_regex": null,
|
| 313 |
+
"freeze_parameters_ratio": 0.0,
|
| 314 |
+
"trainable_parameters": [],
|
| 315 |
+
"trainable_parameters_regex": null,
|
| 316 |
+
"freeze_llm": false,
|
| 317 |
+
"freeze_vit": false,
|
| 318 |
+
"freeze_aligner": false,
|
| 319 |
+
"target_modules": [
|
| 320 |
+
"all-linear"
|
| 321 |
+
],
|
| 322 |
+
"target_regex": null,
|
| 323 |
+
"target_parameters": null,
|
| 324 |
+
"modules_to_save": [],
|
| 325 |
+
"lora_rank": 32,
|
| 326 |
+
"lora_alpha": 64,
|
| 327 |
+
"lora_dropout": 0.05,
|
| 328 |
+
"lora_bias": "none",
|
| 329 |
+
"lora_dtype": null,
|
| 330 |
+
"lorap_lr_ratio": null,
|
| 331 |
+
"use_rslora": false,
|
| 332 |
+
"use_dora": false,
|
| 333 |
+
"lora_ga_batch_size": 2,
|
| 334 |
+
"lora_ga_iters": 2,
|
| 335 |
+
"lora_ga_max_length": 1024,
|
| 336 |
+
"lora_ga_direction": "ArB2r",
|
| 337 |
+
"lora_ga_scale": "stable",
|
| 338 |
+
"lora_ga_stable_gamma": 16,
|
| 339 |
+
"init_weights": true,
|
| 340 |
+
"fourier_n_frequency": 2000,
|
| 341 |
+
"fourier_scaling": 300.0,
|
| 342 |
+
"boft_block_size": 4,
|
| 343 |
+
"boft_block_num": 0,
|
| 344 |
+
"boft_n_butterfly_factor": 1,
|
| 345 |
+
"boft_dropout": 0.0,
|
| 346 |
+
"vera_rank": 256,
|
| 347 |
+
"vera_projection_prng_key": 0,
|
| 348 |
+
"vera_dropout": 0.0,
|
| 349 |
+
"vera_d_initial": 0.1,
|
| 350 |
+
"adapter_act": "gelu",
|
| 351 |
+
"adapter_length": 128,
|
| 352 |
+
"adalora_target_r": 8,
|
| 353 |
+
"adalora_init_r": 12,
|
| 354 |
+
"adalora_tinit": 0,
|
| 355 |
+
"adalora_tfinal": 0,
|
| 356 |
+
"adalora_deltaT": 1,
|
| 357 |
+
"adalora_beta1": 0.85,
|
| 358 |
+
"adalora_beta2": 0.85,
|
| 359 |
+
"adalora_orth_reg_weight": 0.5,
|
| 360 |
+
"llamapro_num_new_blocks": 4,
|
| 361 |
+
"llamapro_num_groups": null,
|
| 362 |
+
"reft_layer_key": null,
|
| 363 |
+
"reft_layers": null,
|
| 364 |
+
"reft_rank": 4,
|
| 365 |
+
"reft_intervention_type": "LoreftIntervention",
|
| 366 |
+
"reft_args": null,
|
| 367 |
+
"swanlab_token": null,
|
| 368 |
+
"swanlab_project": "ms-swift",
|
| 369 |
+
"swanlab_workspace": null,
|
| 370 |
+
"swanlab_exp_name": null,
|
| 371 |
+
"swanlab_notification_method": null,
|
| 372 |
+
"swanlab_webhook_url": null,
|
| 373 |
+
"swanlab_secret": null,
|
| 374 |
+
"swanlab_sender_email": null,
|
| 375 |
+
"swanlab_receiver_email": null,
|
| 376 |
+
"swanlab_smtp_server": null,
|
| 377 |
+
"swanlab_smtp_port": null,
|
| 378 |
+
"swanlab_email_language": "zh",
|
| 379 |
+
"swanlab_mode": "cloud",
|
| 380 |
+
"add_version": false,
|
| 381 |
+
"create_checkpoint_symlink": false,
|
| 382 |
+
"zero_hpz_partition_size": null,
|
| 383 |
+
"deepspeed_autotp_size": null,
|
| 384 |
+
"swift_version": "4.0.0.dev0",
|
| 385 |
+
"ckpt_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 386 |
+
"rank": 0,
|
| 387 |
+
"global_world_size": 16,
|
| 388 |
+
"local_world_size": 8,
|
| 389 |
+
"model_suffix": "checkpoint-1500",
|
| 390 |
+
"model_info": "ModelInfo(model_type='qwen3_vl', model_dir='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500', torch_dtype=torch.bfloat16, max_model_len=262144, quant_method=None, quant_bits=None, rope_scaling={'mrope_interleaved': True, 'mrope_section': [24, 20, 20], 'rope_type': 'default'}, is_moe_model=False, is_multimodal=True, config=None, task_type='causal_lm', num_labels=None)",
|
| 391 |
+
"model_meta": "ModelMeta(model_type='qwen3_vl', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-VL-2B-Instruct', hf_model_id='Qwen/Qwen3-VL-2B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Thinking', hf_model_id='Qwen/Qwen3-VL-2B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-2B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-2B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Instruct', hf_model_id='Qwen/Qwen3-VL-4B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Thinking', hf_model_id='Qwen/Qwen3-VL-4B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-4B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-4B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Instruct', hf_model_id='Qwen/Qwen3-VL-8B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Thinking', hf_model_id='Qwen/Qwen3-VL-8B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-8B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-8B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Instruct', hf_model_id='Qwen/Qwen3-VL-32B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Thinking', hf_model_id='Qwen/Qwen3-VL-32B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-32B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-32B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None)], template='qwen3_vl', ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.models.qwen.Qwen3VLLoader'>, template=None, model_arch=MultiModelKeys(arch_name='qwen3_vl', embedding=None, module_list=None, lm_head=None, q_proj=None, k_proj=None, v_proj=None, o_proj=None, attention=None, mlp=None, down_proj=None, qkv_proj=None, qk_proj=None, qa_proj=None, qb_proj=None, kv_proj=None, kva_proj=None, kvb_proj=None, language_model=['model.language_model', 'lm_head'], aligner=['model.visual.merger', 'model.visual.deepstack_merger_list'], vision_tower=['model.visual'], generator=[]), architectures=['Qwen3VLForConditionalGeneration'], additional_saved_files=[], torch_dtype=None, is_multimodal=True, is_reward=False, task_type=None, ignore_patterns=None, requires=['transformers>=4.57', 'qwen_vl_utils>=0.0.14', 'decord'], tags=['vision', 'video'])",
|
| 392 |
+
"model_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 393 |
+
"template_meta": "QwenTemplateMeta(template_type='qwen3_vl_planning_modes', prefix=[], prompt=['<|im_start|>user\\n{{QUERY}}<|im_end|>\\n<|im_start|>assistant\\n'], chat_sep=['<|im_end|>\\n'], suffix=['<|im_end|>\\n'], template_cls=<class 'swift_planning_modes.PlanningModesTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system=None, auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='', history_thinking_prefix='')",
|
| 394 |
+
"_val_dataset_exists": [],
|
| 395 |
+
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 396 |
+
"evaluation_strategy": "no",
|
| 397 |
+
"training_args": "Seq2SeqTrainingArguments(output_dir='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train', overwrite_output_dir=False, do_train=False, do_eval=False, do_predict=False, eval_strategy=<IntervalStrategy.NO: 'no'>, prediction_loss_only=False, per_device_train_batch_size=8, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=1, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=5e-05, weight_decay=0.01, 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.03, warmup_steps=0, log_level='passive', log_level_replica='warning', log_on_each_node=True, logging_dir='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/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=100, save_total_limit=0, 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, 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=None, dataloader_num_workers=4, dataloader_prefetch_factor=2, past_index=-1, run_name='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train', 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}, 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), parallelism_config=None, deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 2, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'allgather_partitions': True, 'allgather_bucket_size': 200000000.0, 'overlap_comm': False, 'reduce_scatter': True, 'reduce_bucket_size': 200000000.0, 'contiguous_gradients': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, label_smoothing_factor=0.0, optim=<OptimizerNames.ADAMW_TORCH_FUSED: 'adamw_torch_fused'>, optim_args=None, adafactor=False, group_by_length=False, length_column_name='length', report_to=['tensorboard'], project='huggingface', trackio_space_id='trackio', 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, hub_revision=None, gradient_checkpointing=True, gradient_checkpointing_kwargs={'use_reentrant': False}, 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=18000000, 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, liger_kernel_config=None, 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, tuner_backend='peft', vit_gradient_checkpointing=True, router_aux_loss_coef=0.0, enable_dft_loss=False, enable_channel_loss=False, check_model=True, acc_strategy='token', train_dataloader_shuffle=True, max_epochs=None, aligner_lr=2e-05, vit_lr=1e-05, use_logits_to_keep=True, ds3_gather_for_generation=True, resume_only_model=False, optimizer='multimodal', loss_type='planning_modes', eval_metric=None, callbacks=['lora_2955_checks'], early_stop_interval=None, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, extra_eval_args=None, tuner_type='lora', use_galore=False, galore_target_modules=None, galore_rank=128, galore_update_proj_gap=50, galore_scale=1.0, galore_proj_type='std', galore_optim_per_parameter=False, galore_with_embedding=False, galore_quantization=False, galore_proj_quant=False, galore_proj_bits=4, galore_proj_group_size=256, galore_cos_threshold=0.4, galore_gamma_proj=2, galore_queue_size=5, lisa_activated_layers=0, lisa_step_interval=20, use_flash_ckpt=False)"
|
| 398 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/latest
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
global_step178
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/save_audit.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"passed": true,
|
| 3 |
+
"step": 178,
|
| 4 |
+
"epoch": 1.0,
|
| 5 |
+
"adapter_parameters": 104987648,
|
| 6 |
+
"optimizer_rank_files": 16,
|
| 7 |
+
"retained_optimizer_step": 178,
|
| 8 |
+
"removed_optimizer_steps": [
|
| 9 |
+
100
|
| 10 |
+
]
|
| 11 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/trainer_state.json
ADDED
|
@@ -0,0 +1,646 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 178,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"A_fraction": 1.0,
|
| 14 |
+
"O_fraction": 1.0,
|
| 15 |
+
"T_fraction": 1.0,
|
| 16 |
+
"epoch": 0.0056179775280898875,
|
| 17 |
+
"grad_norm": 0.5234852433204651,
|
| 18 |
+
"learning_rate": 8.333333333333334e-06,
|
| 19 |
+
"loss": 1.1207144260406494,
|
| 20 |
+
"loss_A": 0.3247341513633728,
|
| 21 |
+
"loss_O": 1.68595290184021,
|
| 22 |
+
"loss_T": 0.4587897062301636,
|
| 23 |
+
"step": 1,
|
| 24 |
+
"token_acc": 0.7790786345489615,
|
| 25 |
+
"tokens_A": 16.421875,
|
| 26 |
+
"tokens_O": 95.328125,
|
| 27 |
+
"tokens_T": 62.4140625
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"A_fraction": 1.0,
|
| 31 |
+
"O_fraction": 1.0,
|
| 32 |
+
"T_fraction": 1.0,
|
| 33 |
+
"epoch": 0.028089887640449437,
|
| 34 |
+
"grad_norm": 0.34505435824394226,
|
| 35 |
+
"learning_rate": 4.166666666666667e-05,
|
| 36 |
+
"loss": 0.9705820679664612,
|
| 37 |
+
"loss_A": 0.17120081186294556,
|
| 38 |
+
"loss_O": 1.6462771892547607,
|
| 39 |
+
"loss_T": 0.47012585401535034,
|
| 40 |
+
"step": 5,
|
| 41 |
+
"token_acc": 0.7781447493228804,
|
| 42 |
+
"tokens_A": 16.287109375,
|
| 43 |
+
"tokens_O": 92.154296875,
|
| 44 |
+
"tokens_T": 62.462890625
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"A_fraction": 1.0,
|
| 48 |
+
"O_fraction": 1.0,
|
| 49 |
+
"T_fraction": 1.0,
|
| 50 |
+
"epoch": 0.056179775280898875,
|
| 51 |
+
"grad_norm": 0.2547176480293274,
|
| 52 |
+
"learning_rate": 4.9933307091588796e-05,
|
| 53 |
+
"loss": 0.8328065872192383,
|
| 54 |
+
"loss_A": 0.09721189737319946,
|
| 55 |
+
"loss_O": 1.3762751579284669,
|
| 56 |
+
"loss_T": 0.46033968925476076,
|
| 57 |
+
"step": 10,
|
| 58 |
+
"token_acc": 0.7896319918824404,
|
| 59 |
+
"tokens_A": 16.3765625,
|
| 60 |
+
"tokens_O": 93.7234375,
|
| 61 |
+
"tokens_T": 62.365625
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"A_fraction": 1.0,
|
| 65 |
+
"O_fraction": 1.0,
|
| 66 |
+
"T_fraction": 1.0,
|
| 67 |
+
"epoch": 0.08426966292134831,
|
| 68 |
+
"grad_norm": 0.26700037717819214,
|
| 69 |
+
"learning_rate": 4.9662976890711167e-05,
|
| 70 |
+
"loss": 0.7724770069122314,
|
| 71 |
+
"loss_A": 0.07621394991874694,
|
| 72 |
+
"loss_O": 1.1472081184387206,
|
| 73 |
+
"loss_T": 0.46682138442993165,
|
| 74 |
+
"step": 15,
|
| 75 |
+
"token_acc": 0.8002716284123319,
|
| 76 |
+
"tokens_A": 16.3890625,
|
| 77 |
+
"tokens_O": 93.6875,
|
| 78 |
+
"tokens_T": 62.49375
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"A_fraction": 1.0,
|
| 82 |
+
"O_fraction": 1.0,
|
| 83 |
+
"T_fraction": 1.0,
|
| 84 |
+
"epoch": 0.11235955056179775,
|
| 85 |
+
"grad_norm": 0.18545161187648773,
|
| 86 |
+
"learning_rate": 4.9187092426435634e-05,
|
| 87 |
+
"loss": 0.7162786960601807,
|
| 88 |
+
"loss_A": 0.04166057109832764,
|
| 89 |
+
"loss_O": 1.0263806343078614,
|
| 90 |
+
"loss_T": 0.4693419933319092,
|
| 91 |
+
"step": 20,
|
| 92 |
+
"token_acc": 0.8089858166292785,
|
| 93 |
+
"tokens_A": 16.2140625,
|
| 94 |
+
"tokens_O": 94.1546875,
|
| 95 |
+
"tokens_T": 62.36875
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"A_fraction": 1.0,
|
| 99 |
+
"O_fraction": 1.0,
|
| 100 |
+
"T_fraction": 1.0,
|
| 101 |
+
"epoch": 0.1404494382022472,
|
| 102 |
+
"grad_norm": 0.18003682792186737,
|
| 103 |
+
"learning_rate": 4.850961997099892e-05,
|
| 104 |
+
"loss": 0.6996326923370362,
|
| 105 |
+
"loss_A": 0.03537992238998413,
|
| 106 |
+
"loss_O": 0.9458114624023437,
|
| 107 |
+
"loss_T": 0.47509050369262695,
|
| 108 |
+
"step": 25,
|
| 109 |
+
"token_acc": 0.8122343792386292,
|
| 110 |
+
"tokens_A": 16.3828125,
|
| 111 |
+
"tokens_O": 94.0234375,
|
| 112 |
+
"tokens_T": 62.390625
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"A_fraction": 1.0,
|
| 116 |
+
"O_fraction": 1.0,
|
| 117 |
+
"T_fraction": 1.0,
|
| 118 |
+
"epoch": 0.16853932584269662,
|
| 119 |
+
"grad_norm": 0.26362594962120056,
|
| 120 |
+
"learning_rate": 4.763620593732867e-05,
|
| 121 |
+
"loss": 0.6761587142944336,
|
| 122 |
+
"loss_A": 0.03357150852680206,
|
| 123 |
+
"loss_O": 0.8882152557373046,
|
| 124 |
+
"loss_T": 0.46494417190551757,
|
| 125 |
+
"step": 30,
|
| 126 |
+
"token_acc": 0.8165783558849282,
|
| 127 |
+
"tokens_A": 16.26875,
|
| 128 |
+
"tokens_O": 94.5203125,
|
| 129 |
+
"tokens_T": 62.309375
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"A_fraction": 1.0,
|
| 133 |
+
"O_fraction": 1.0,
|
| 134 |
+
"T_fraction": 1.0,
|
| 135 |
+
"epoch": 0.19662921348314608,
|
| 136 |
+
"grad_norm": 0.14682653546333313,
|
| 137 |
+
"learning_rate": 4.657412981885862e-05,
|
| 138 |
+
"loss": 0.6563925266265869,
|
| 139 |
+
"loss_A": 0.026362651586532594,
|
| 140 |
+
"loss_O": 0.8503461837768554,
|
| 141 |
+
"loss_T": 0.4599606513977051,
|
| 142 |
+
"step": 35,
|
| 143 |
+
"token_acc": 0.8187550040032026,
|
| 144 |
+
"tokens_A": 16.16875,
|
| 145 |
+
"tokens_O": 93.0390625,
|
| 146 |
+
"tokens_T": 62.5296875
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"A_fraction": 1.0,
|
| 150 |
+
"O_fraction": 1.0,
|
| 151 |
+
"T_fraction": 1.0,
|
| 152 |
+
"epoch": 0.2247191011235955,
|
| 153 |
+
"grad_norm": 0.17167893052101135,
|
| 154 |
+
"learning_rate": 4.533224351838914e-05,
|
| 155 |
+
"loss": 0.6570571899414063,
|
| 156 |
+
"loss_A": 0.03546710908412933,
|
| 157 |
+
"loss_O": 0.8009515762329101,
|
| 158 |
+
"loss_T": 0.4613996982574463,
|
| 159 |
+
"step": 40,
|
| 160 |
+
"token_acc": 0.8222268492952264,
|
| 161 |
+
"tokens_A": 16.203125,
|
| 162 |
+
"tokens_O": 94.040625,
|
| 163 |
+
"tokens_T": 62.3515625
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"A_fraction": 1.0,
|
| 167 |
+
"O_fraction": 1.0,
|
| 168 |
+
"T_fraction": 1.0,
|
| 169 |
+
"epoch": 0.25280898876404495,
|
| 170 |
+
"grad_norm": 0.17803041636943817,
|
| 171 |
+
"learning_rate": 4.392089757165841e-05,
|
| 172 |
+
"loss": 0.6507402896881104,
|
| 173 |
+
"loss_A": 0.030873256921768188,
|
| 174 |
+
"loss_O": 0.7452898025512695,
|
| 175 |
+
"loss_T": 0.4708090782165527,
|
| 176 |
+
"step": 45,
|
| 177 |
+
"token_acc": 0.8269022816566342,
|
| 178 |
+
"tokens_A": 16.175,
|
| 179 |
+
"tokens_O": 94.709375,
|
| 180 |
+
"tokens_T": 62.509375
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"A_fraction": 1.0,
|
| 184 |
+
"O_fraction": 1.0,
|
| 185 |
+
"T_fraction": 1.0,
|
| 186 |
+
"epoch": 0.2808988764044944,
|
| 187 |
+
"grad_norm": 0.16279113292694092,
|
| 188 |
+
"learning_rate": 4.235185488051585e-05,
|
| 189 |
+
"loss": 0.6470132827758789,
|
| 190 |
+
"loss_A": 0.029813593626022337,
|
| 191 |
+
"loss_O": 0.7410376071929932,
|
| 192 |
+
"loss_T": 0.46899213790893557,
|
| 193 |
+
"step": 50,
|
| 194 |
+
"token_acc": 0.8234927197875639,
|
| 195 |
+
"tokens_A": 16.3203125,
|
| 196 |
+
"tokens_O": 96.7796875,
|
| 197 |
+
"tokens_T": 62.246875
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"A_fraction": 1.0,
|
| 201 |
+
"O_fraction": 1.0,
|
| 202 |
+
"T_fraction": 1.0,
|
| 203 |
+
"epoch": 0.3089887640449438,
|
| 204 |
+
"grad_norm": 0.18300220370292664,
|
| 205 |
+
"learning_rate": 4.0638192674691136e-05,
|
| 206 |
+
"loss": 0.637170934677124,
|
| 207 |
+
"loss_A": 0.02945607900619507,
|
| 208 |
+
"loss_O": 0.7306595325469971,
|
| 209 |
+
"loss_T": 0.46158294677734374,
|
| 210 |
+
"step": 55,
|
| 211 |
+
"token_acc": 0.8279821931498138,
|
| 212 |
+
"tokens_A": 16.3015625,
|
| 213 |
+
"tokens_O": 93.3015625,
|
| 214 |
+
"tokens_T": 62.38125
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"A_fraction": 1.0,
|
| 218 |
+
"O_fraction": 1.0,
|
| 219 |
+
"T_fraction": 1.0,
|
| 220 |
+
"epoch": 0.33707865168539325,
|
| 221 |
+
"grad_norm": 0.16904306411743164,
|
| 222 |
+
"learning_rate": 3.879419351926115e-05,
|
| 223 |
+
"loss": 0.635842227935791,
|
| 224 |
+
"loss_A": 0.025767338275909425,
|
| 225 |
+
"loss_O": 0.6965951919555664,
|
| 226 |
+
"loss_T": 0.47075586318969725,
|
| 227 |
+
"step": 60,
|
| 228 |
+
"token_acc": 0.8282477584694955,
|
| 229 |
+
"tokens_A": 16.159375,
|
| 230 |
+
"tokens_O": 96.1046875,
|
| 231 |
+
"tokens_T": 62.3515625
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"A_fraction": 1.0,
|
| 235 |
+
"O_fraction": 1.0,
|
| 236 |
+
"T_fraction": 1.0,
|
| 237 |
+
"epoch": 0.3651685393258427,
|
| 238 |
+
"grad_norm": 0.15159395337104797,
|
| 239 |
+
"learning_rate": 3.683522627621608e-05,
|
| 240 |
+
"loss": 0.6134474754333497,
|
| 241 |
+
"loss_A": 0.026227596402168273,
|
| 242 |
+
"loss_O": 0.6847211837768554,
|
| 243 |
+
"loss_T": 0.4502756118774414,
|
| 244 |
+
"step": 65,
|
| 245 |
+
"token_acc": 0.8324931898603583,
|
| 246 |
+
"tokens_A": 16.2359375,
|
| 247 |
+
"tokens_O": 94.0734375,
|
| 248 |
+
"tokens_T": 62.3421875
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"A_fraction": 1.0,
|
| 252 |
+
"O_fraction": 1.0,
|
| 253 |
+
"T_fraction": 1.0,
|
| 254 |
+
"epoch": 0.39325842696629215,
|
| 255 |
+
"grad_norm": 0.17959657311439514,
|
| 256 |
+
"learning_rate": 3.47776180122539e-05,
|
| 257 |
+
"loss": 0.6335723876953125,
|
| 258 |
+
"loss_A": 0.026782339811325072,
|
| 259 |
+
"loss_O": 0.6925984859466553,
|
| 260 |
+
"loss_T": 0.46827034950256347,
|
| 261 |
+
"step": 70,
|
| 262 |
+
"token_acc": 0.828816105498934,
|
| 263 |
+
"tokens_A": 16.2609375,
|
| 264 |
+
"tokens_O": 95.0203125,
|
| 265 |
+
"tokens_T": 62.4171875
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"A_fraction": 1.0,
|
| 269 |
+
"O_fraction": 1.0,
|
| 270 |
+
"T_fraction": 1.0,
|
| 271 |
+
"epoch": 0.42134831460674155,
|
| 272 |
+
"grad_norm": 0.14628136157989502,
|
| 273 |
+
"learning_rate": 3.263851792039109e-05,
|
| 274 |
+
"loss": 0.6232565879821778,
|
| 275 |
+
"loss_A": 0.024437437951564788,
|
| 276 |
+
"loss_O": 0.6749271392822266,
|
| 277 |
+
"loss_T": 0.46383376121520997,
|
| 278 |
+
"step": 75,
|
| 279 |
+
"token_acc": 0.829174543163201,
|
| 280 |
+
"tokens_A": 16.2421875,
|
| 281 |
+
"tokens_O": 94.953125,
|
| 282 |
+
"tokens_T": 62.3828125
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"A_fraction": 1.0,
|
| 286 |
+
"O_fraction": 1.0,
|
| 287 |
+
"T_fraction": 1.0,
|
| 288 |
+
"epoch": 0.449438202247191,
|
| 289 |
+
"grad_norm": 0.16479234397411346,
|
| 290 |
+
"learning_rate": 3.0435754389538928e-05,
|
| 291 |
+
"loss": 0.6100027084350585,
|
| 292 |
+
"loss_A": 0.024236340820789338,
|
| 293 |
+
"loss_O": 0.6492584705352783,
|
| 294 |
+
"loss_T": 0.4559145927429199,
|
| 295 |
+
"step": 80,
|
| 296 |
+
"token_acc": 0.8327559485823685,
|
| 297 |
+
"tokens_A": 16.25625,
|
| 298 |
+
"tokens_O": 92.8625,
|
| 299 |
+
"tokens_T": 62.271875
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"A_fraction": 1.0,
|
| 303 |
+
"O_fraction": 1.0,
|
| 304 |
+
"T_fraction": 1.0,
|
| 305 |
+
"epoch": 0.47752808988764045,
|
| 306 |
+
"grad_norm": 0.15675491094589233,
|
| 307 |
+
"learning_rate": 2.81876864133027e-05,
|
| 308 |
+
"loss": 0.6138878345489502,
|
| 309 |
+
"loss_A": 0.02484975755214691,
|
| 310 |
+
"loss_O": 0.6235591888427734,
|
| 311 |
+
"loss_T": 0.464326286315918,
|
| 312 |
+
"step": 85,
|
| 313 |
+
"token_acc": 0.834573280420889,
|
| 314 |
+
"tokens_A": 16.2171875,
|
| 315 |
+
"tokens_O": 94.3203125,
|
| 316 |
+
"tokens_T": 62.3109375
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"A_fraction": 1.0,
|
| 320 |
+
"O_fraction": 1.0,
|
| 321 |
+
"T_fraction": 1.0,
|
| 322 |
+
"epoch": 0.5056179775280899,
|
| 323 |
+
"grad_norm": 0.1715918481349945,
|
| 324 |
+
"learning_rate": 2.5913050576441477e-05,
|
| 325 |
+
"loss": 0.6142928123474121,
|
| 326 |
+
"loss_A": 0.025314581394195557,
|
| 327 |
+
"loss_O": 0.6270881175994873,
|
| 328 |
+
"loss_T": 0.4635605812072754,
|
| 329 |
+
"step": 90,
|
| 330 |
+
"token_acc": 0.8331487160708564,
|
| 331 |
+
"tokens_A": 16.2484375,
|
| 332 |
+
"tokens_O": 91.946875,
|
| 333 |
+
"tokens_T": 62.484375
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"A_fraction": 1.0,
|
| 337 |
+
"O_fraction": 1.0,
|
| 338 |
+
"T_fraction": 1.0,
|
| 339 |
+
"epoch": 0.5337078651685393,
|
| 340 |
+
"grad_norm": 0.16358929872512817,
|
| 341 |
+
"learning_rate": 2.363080489428391e-05,
|
| 342 |
+
"loss": 0.6117104530334473,
|
| 343 |
+
"loss_A": 0.02263140380382538,
|
| 344 |
+
"loss_O": 0.6180501937866211,
|
| 345 |
+
"loss_T": 0.4654689788818359,
|
| 346 |
+
"step": 95,
|
| 347 |
+
"token_acc": 0.8355946089508701,
|
| 348 |
+
"tokens_A": 16.24375,
|
| 349 |
+
"tokens_O": 94.7671875,
|
| 350 |
+
"tokens_T": 62.540625
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"A_fraction": 1.0,
|
| 354 |
+
"O_fraction": 1.0,
|
| 355 |
+
"T_fraction": 1.0,
|
| 356 |
+
"epoch": 0.5617977528089888,
|
| 357 |
+
"grad_norm": 0.1588437557220459,
|
| 358 |
+
"learning_rate": 2.1359970806624885e-05,
|
| 359 |
+
"loss": 0.6034769535064697,
|
| 360 |
+
"loss_A": 0.021447768807411192,
|
| 361 |
+
"loss_O": 0.6179100513458252,
|
| 362 |
+
"loss_T": 0.4584472179412842,
|
| 363 |
+
"step": 100,
|
| 364 |
+
"token_acc": 0.8363416274377942,
|
| 365 |
+
"tokens_A": 16.246875,
|
| 366 |
+
"tokens_O": 95.8375,
|
| 367 |
+
"tokens_T": 62.1734375
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"A_fraction": 1.0,
|
| 371 |
+
"O_fraction": 1.0,
|
| 372 |
+
"T_fraction": 1.0,
|
| 373 |
+
"epoch": 0.5898876404494382,
|
| 374 |
+
"grad_norm": 0.15026283264160156,
|
| 375 |
+
"learning_rate": 1.911947464300911e-05,
|
| 376 |
+
"loss": 0.6108388900756836,
|
| 377 |
+
"loss_A": 0.02073698043823242,
|
| 378 |
+
"loss_O": 0.6145008563995361,
|
| 379 |
+
"loss_T": 0.46720175743103026,
|
| 380 |
+
"step": 105,
|
| 381 |
+
"token_acc": 0.8340626206541524,
|
| 382 |
+
"tokens_A": 16.2125,
|
| 383 |
+
"tokens_O": 91.246875,
|
| 384 |
+
"tokens_T": 62.5125
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"A_fraction": 1.0,
|
| 388 |
+
"O_fraction": 1.0,
|
| 389 |
+
"T_fraction": 1.0,
|
| 390 |
+
"epoch": 0.6179775280898876,
|
| 391 |
+
"grad_norm": 0.18966838717460632,
|
| 392 |
+
"learning_rate": 1.692798988071385e-05,
|
| 393 |
+
"loss": 0.6059928894042969,
|
| 394 |
+
"loss_A": 0.02374093234539032,
|
| 395 |
+
"loss_O": 0.6090335845947266,
|
| 396 |
+
"loss_T": 0.4604452610015869,
|
| 397 |
+
"step": 110,
|
| 398 |
+
"token_acc": 0.834722600562971,
|
| 399 |
+
"tokens_A": 16.2859375,
|
| 400 |
+
"tokens_O": 93.40625,
|
| 401 |
+
"tokens_T": 62.3859375
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"A_fraction": 1.0,
|
| 405 |
+
"O_fraction": 1.0,
|
| 406 |
+
"T_fraction": 1.0,
|
| 407 |
+
"epoch": 0.6460674157303371,
|
| 408 |
+
"grad_norm": 0.1857893168926239,
|
| 409 |
+
"learning_rate": 1.4803781510135723e-05,
|
| 410 |
+
"loss": 0.598766565322876,
|
| 411 |
+
"loss_A": 0.02324923574924469,
|
| 412 |
+
"loss_O": 0.6051517486572265,
|
| 413 |
+
"loss_T": 0.45448694229125974,
|
| 414 |
+
"step": 115,
|
| 415 |
+
"token_acc": 0.8381135987487042,
|
| 416 |
+
"tokens_A": 16.315625,
|
| 417 |
+
"tokens_O": 93.103125,
|
| 418 |
+
"tokens_T": 62.403125
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"A_fraction": 1.0,
|
| 422 |
+
"O_fraction": 1.0,
|
| 423 |
+
"T_fraction": 1.0,
|
| 424 |
+
"epoch": 0.6741573033707865,
|
| 425 |
+
"grad_norm": 0.15267787873744965,
|
| 426 |
+
"learning_rate": 1.2764553804722867e-05,
|
| 427 |
+
"loss": 0.597024393081665,
|
| 428 |
+
"loss_A": 0.022760456800460814,
|
| 429 |
+
"loss_O": 0.5988312721252441,
|
| 430 |
+
"loss_T": 0.4544976234436035,
|
| 431 |
+
"step": 120,
|
| 432 |
+
"token_acc": 0.8372467751031698,
|
| 433 |
+
"tokens_A": 16.228125,
|
| 434 |
+
"tokens_O": 95.95,
|
| 435 |
+
"tokens_T": 62.3671875
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"A_fraction": 1.0,
|
| 439 |
+
"O_fraction": 1.0,
|
| 440 |
+
"T_fraction": 1.0,
|
| 441 |
+
"epoch": 0.702247191011236,
|
| 442 |
+
"grad_norm": 0.159808948636055,
|
| 443 |
+
"learning_rate": 1.0827302764217886e-05,
|
| 444 |
+
"loss": 0.6191836833953858,
|
| 445 |
+
"loss_A": 0.02329462915658951,
|
| 446 |
+
"loss_O": 0.623766565322876,
|
| 447 |
+
"loss_T": 0.47113571166992185,
|
| 448 |
+
"step": 125,
|
| 449 |
+
"token_acc": 0.8332084127256473,
|
| 450 |
+
"tokens_A": 16.2375,
|
| 451 |
+
"tokens_O": 94.390625,
|
| 452 |
+
"tokens_T": 62.3984375
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"A_fraction": 1.0,
|
| 456 |
+
"O_fraction": 1.0,
|
| 457 |
+
"T_fraction": 1.0,
|
| 458 |
+
"epoch": 0.7303370786516854,
|
| 459 |
+
"grad_norm": 0.17875085771083832,
|
| 460 |
+
"learning_rate": 9.008174461027724e-06,
|
| 461 |
+
"loss": 0.6035442352294922,
|
| 462 |
+
"loss_A": 0.02232954800128937,
|
| 463 |
+
"loss_O": 0.6179675102233887,
|
| 464 |
+
"loss_T": 0.4576211929321289,
|
| 465 |
+
"step": 130,
|
| 466 |
+
"token_acc": 0.8374091089968527,
|
| 467 |
+
"tokens_A": 16.3,
|
| 468 |
+
"tokens_O": 93.9921875,
|
| 469 |
+
"tokens_T": 62.4765625
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"A_fraction": 1.0,
|
| 473 |
+
"O_fraction": 1.0,
|
| 474 |
+
"T_fraction": 1.0,
|
| 475 |
+
"epoch": 0.7584269662921348,
|
| 476 |
+
"grad_norm": 0.15536516904830933,
|
| 477 |
+
"learning_rate": 7.3223304703363135e-06,
|
| 478 |
+
"loss": 0.5977390766143799,
|
| 479 |
+
"loss_A": 0.02180893123149872,
|
| 480 |
+
"loss_O": 0.6044926643371582,
|
| 481 |
+
"loss_T": 0.4550315856933594,
|
| 482 |
+
"step": 135,
|
| 483 |
+
"token_acc": 0.838255400601586,
|
| 484 |
+
"tokens_A": 16.190625,
|
| 485 |
+
"tokens_O": 92.76875,
|
| 486 |
+
"tokens_T": 62.4625
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"A_fraction": 1.0,
|
| 490 |
+
"O_fraction": 1.0,
|
| 491 |
+
"T_fraction": 1.0,
|
| 492 |
+
"epoch": 0.7865168539325843,
|
| 493 |
+
"grad_norm": 0.1574268937110901,
|
| 494 |
+
"learning_rate": 5.783821505536696e-06,
|
| 495 |
+
"loss": 0.619748592376709,
|
| 496 |
+
"loss_A": 0.022106532752513886,
|
| 497 |
+
"loss_O": 0.5989303588867188,
|
| 498 |
+
"loss_T": 0.4778559684753418,
|
| 499 |
+
"step": 140,
|
| 500 |
+
"token_acc": 0.8359501060608807,
|
| 501 |
+
"tokens_A": 16.275,
|
| 502 |
+
"tokens_O": 93.715625,
|
| 503 |
+
"tokens_T": 62.375
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"A_fraction": 1.0,
|
| 507 |
+
"O_fraction": 1.0,
|
| 508 |
+
"T_fraction": 1.0,
|
| 509 |
+
"epoch": 0.8146067415730337,
|
| 510 |
+
"grad_norm": 0.1615961790084839,
|
| 511 |
+
"learning_rate": 4.405470312171392e-06,
|
| 512 |
+
"loss": 0.6019097805023194,
|
| 513 |
+
"loss_A": 0.020212402939796446,
|
| 514 |
+
"loss_O": 0.6160463333129883,
|
| 515 |
+
"loss_T": 0.45848808288574217,
|
| 516 |
+
"step": 145,
|
| 517 |
+
"token_acc": 0.8355102262640169,
|
| 518 |
+
"tokens_A": 16.309375,
|
| 519 |
+
"tokens_O": 93.625,
|
| 520 |
+
"tokens_T": 62.56875
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"A_fraction": 1.0,
|
| 524 |
+
"O_fraction": 1.0,
|
| 525 |
+
"T_fraction": 1.0,
|
| 526 |
+
"epoch": 0.8426966292134831,
|
| 527 |
+
"grad_norm": 0.17191636562347412,
|
| 528 |
+
"learning_rate": 3.198764796404807e-06,
|
| 529 |
+
"loss": 0.6042190074920655,
|
| 530 |
+
"loss_A": 0.020585423707962035,
|
| 531 |
+
"loss_O": 0.5889701843261719,
|
| 532 |
+
"loss_T": 0.4658395290374756,
|
| 533 |
+
"step": 150,
|
| 534 |
+
"token_acc": 0.8368814781433078,
|
| 535 |
+
"tokens_A": 16.265625,
|
| 536 |
+
"tokens_O": 94.525,
|
| 537 |
+
"tokens_T": 62.56875
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"A_fraction": 1.0,
|
| 541 |
+
"O_fraction": 1.0,
|
| 542 |
+
"T_fraction": 1.0,
|
| 543 |
+
"epoch": 0.8707865168539326,
|
| 544 |
+
"grad_norm": 0.1504988968372345,
|
| 545 |
+
"learning_rate": 2.1737622787514593e-06,
|
| 546 |
+
"loss": 0.592775821685791,
|
| 547 |
+
"loss_A": 0.018663862347602846,
|
| 548 |
+
"loss_O": 0.5912074565887451,
|
| 549 |
+
"loss_T": 0.4558704853057861,
|
| 550 |
+
"step": 155,
|
| 551 |
+
"token_acc": 0.8385440887140047,
|
| 552 |
+
"tokens_A": 16.225,
|
| 553 |
+
"tokens_O": 96.03125,
|
| 554 |
+
"tokens_T": 62.4625
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"A_fraction": 1.0,
|
| 558 |
+
"O_fraction": 1.0,
|
| 559 |
+
"T_fraction": 1.0,
|
| 560 |
+
"epoch": 0.898876404494382,
|
| 561 |
+
"grad_norm": 0.17295636236667633,
|
| 562 |
+
"learning_rate": 1.3390056710597649e-06,
|
| 563 |
+
"loss": 0.5760867118835449,
|
| 564 |
+
"loss_A": 0.018500547111034393,
|
| 565 |
+
"loss_O": 0.5719901084899902,
|
| 566 |
+
"loss_T": 0.44318814277648927,
|
| 567 |
+
"step": 160,
|
| 568 |
+
"token_acc": 0.8419816203274498,
|
| 569 |
+
"tokens_A": 16.259375,
|
| 570 |
+
"tokens_O": 95.015625,
|
| 571 |
+
"tokens_T": 62.3203125
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"A_fraction": 1.0,
|
| 575 |
+
"O_fraction": 1.0,
|
| 576 |
+
"T_fraction": 1.0,
|
| 577 |
+
"epoch": 0.9269662921348315,
|
| 578 |
+
"grad_norm": 0.1580885350704193,
|
| 579 |
+
"learning_rate": 7.014522753768848e-07,
|
| 580 |
+
"loss": 0.594292402267456,
|
| 581 |
+
"loss_A": 0.0192232221364975,
|
| 582 |
+
"loss_O": 0.5828740119934082,
|
| 583 |
+
"loss_T": 0.4584943771362305,
|
| 584 |
+
"step": 165,
|
| 585 |
+
"token_acc": 0.8395988166534382,
|
| 586 |
+
"tokens_A": 16.2015625,
|
| 587 |
+
"tokens_O": 94.55,
|
| 588 |
+
"tokens_T": 62.4859375
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"A_fraction": 1.0,
|
| 592 |
+
"O_fraction": 1.0,
|
| 593 |
+
"T_fraction": 1.0,
|
| 594 |
+
"epoch": 0.9550561797752809,
|
| 595 |
+
"grad_norm": 0.14216743409633636,
|
| 596 |
+
"learning_rate": 2.664157981222437e-07,
|
| 597 |
+
"loss": 0.6007431507110595,
|
| 598 |
+
"loss_A": 0.020837019383907317,
|
| 599 |
+
"loss_O": 0.5700157165527344,
|
| 600 |
+
"loss_T": 0.46590299606323243,
|
| 601 |
+
"step": 170,
|
| 602 |
+
"token_acc": 0.8382372930504834,
|
| 603 |
+
"tokens_A": 16.378125,
|
| 604 |
+
"tokens_O": 93.709375,
|
| 605 |
+
"tokens_T": 62.3390625
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"A_fraction": 1.0,
|
| 609 |
+
"O_fraction": 1.0,
|
| 610 |
+
"T_fraction": 1.0,
|
| 611 |
+
"epoch": 0.9831460674157303,
|
| 612 |
+
"grad_norm": 0.15612897276878357,
|
| 613 |
+
"learning_rate": 3.7522062854356e-08,
|
| 614 |
+
"loss": 0.6021646499633789,
|
| 615 |
+
"loss_A": 0.023078638315200805,
|
| 616 |
+
"loss_O": 0.570589828491211,
|
| 617 |
+
"loss_T": 0.4649680137634277,
|
| 618 |
+
"step": 175,
|
| 619 |
+
"token_acc": 0.8389250256761384,
|
| 620 |
+
"tokens_A": 16.434375,
|
| 621 |
+
"tokens_O": 94.65625,
|
| 622 |
+
"tokens_T": 62.34375
|
| 623 |
+
}
|
| 624 |
+
],
|
| 625 |
+
"logging_steps": 5,
|
| 626 |
+
"max_steps": 178,
|
| 627 |
+
"num_input_tokens_seen": 0,
|
| 628 |
+
"num_train_epochs": 1,
|
| 629 |
+
"save_steps": 100,
|
| 630 |
+
"stateful_callbacks": {
|
| 631 |
+
"TrainerControl": {
|
| 632 |
+
"args": {
|
| 633 |
+
"should_epoch_stop": false,
|
| 634 |
+
"should_evaluate": false,
|
| 635 |
+
"should_log": false,
|
| 636 |
+
"should_save": true,
|
| 637 |
+
"should_training_stop": true
|
| 638 |
+
},
|
| 639 |
+
"attributes": {}
|
| 640 |
+
}
|
| 641 |
+
},
|
| 642 |
+
"total_flos": 3.665178067233407e+18,
|
| 643 |
+
"train_batch_size": 8,
|
| 644 |
+
"trial_name": null,
|
| 645 |
+
"trial_params": null
|
| 646 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m245/train/checkpoint-178/zero_to_fp32.py
ADDED
|
@@ -0,0 +1,760 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python
|
| 2 |
+
|
| 3 |
+
# Copyright (c) Microsoft Corporation.
|
| 4 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 5 |
+
|
| 6 |
+
# DeepSpeed Team
|
| 7 |
+
|
| 8 |
+
# This script extracts fp32 consolidated weights from a zero 1, 2 and 3 DeepSpeed checkpoints. It gets
|
| 9 |
+
# copied into the top level checkpoint dir, so the user can easily do the conversion at any point in
|
| 10 |
+
# the future. Once extracted, the weights don't require DeepSpeed and can be used in any
|
| 11 |
+
# application.
|
| 12 |
+
#
|
| 13 |
+
# example:
|
| 14 |
+
# python zero_to_fp32.py . output_dir/
|
| 15 |
+
# or
|
| 16 |
+
# python zero_to_fp32.py . output_dir/ --safe_serialization
|
| 17 |
+
|
| 18 |
+
import argparse
|
| 19 |
+
import torch
|
| 20 |
+
import glob
|
| 21 |
+
import math
|
| 22 |
+
import os
|
| 23 |
+
import re
|
| 24 |
+
import gc
|
| 25 |
+
import json
|
| 26 |
+
import numpy as np
|
| 27 |
+
from tqdm import tqdm
|
| 28 |
+
from collections import OrderedDict
|
| 29 |
+
from dataclasses import dataclass
|
| 30 |
+
|
| 31 |
+
# while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
|
| 32 |
+
# DeepSpeed data structures it has to be available in the current python environment.
|
| 33 |
+
from deepspeed.utils import logger
|
| 34 |
+
from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
|
| 35 |
+
FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
|
| 36 |
+
FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
@dataclass
|
| 40 |
+
class zero_model_state:
|
| 41 |
+
buffers: dict()
|
| 42 |
+
param_shapes: dict()
|
| 43 |
+
shared_params: list
|
| 44 |
+
ds_version: int
|
| 45 |
+
frozen_param_shapes: dict()
|
| 46 |
+
frozen_param_fragments: dict()
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
debug = 0
|
| 50 |
+
|
| 51 |
+
# load to cpu
|
| 52 |
+
device = torch.device('cpu')
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def atoi(text):
|
| 56 |
+
return int(text) if text.isdigit() else text
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def natural_keys(text):
|
| 60 |
+
'''
|
| 61 |
+
alist.sort(key=natural_keys) sorts in human order
|
| 62 |
+
http://nedbatchelder.com/blog/200712/human_sorting.html
|
| 63 |
+
(See Toothy's implementation in the comments)
|
| 64 |
+
'''
|
| 65 |
+
return [atoi(c) for c in re.split(r'(\d+)', text)]
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def get_model_state_file(checkpoint_dir, zero_stage):
|
| 69 |
+
if not os.path.isdir(checkpoint_dir):
|
| 70 |
+
raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
|
| 71 |
+
|
| 72 |
+
# there should be only one file
|
| 73 |
+
if zero_stage <= 2:
|
| 74 |
+
file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
|
| 75 |
+
elif zero_stage == 3:
|
| 76 |
+
file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
|
| 77 |
+
|
| 78 |
+
if not os.path.exists(file):
|
| 79 |
+
raise FileNotFoundError(f"can't find model states file at '{file}'")
|
| 80 |
+
|
| 81 |
+
return file
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
def get_checkpoint_files(checkpoint_dir, glob_pattern):
|
| 85 |
+
# XXX: need to test that this simple glob rule works for multi-node setup too
|
| 86 |
+
ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
|
| 87 |
+
|
| 88 |
+
if len(ckpt_files) == 0:
|
| 89 |
+
raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
|
| 90 |
+
|
| 91 |
+
return ckpt_files
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def get_optim_files(checkpoint_dir):
|
| 95 |
+
return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def get_model_state_files(checkpoint_dir):
|
| 99 |
+
return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def parse_model_states(files):
|
| 103 |
+
zero_model_states = []
|
| 104 |
+
for file in files:
|
| 105 |
+
state_dict = torch.load(file, map_location=device, weights_only=False)
|
| 106 |
+
|
| 107 |
+
if BUFFER_NAMES not in state_dict:
|
| 108 |
+
raise ValueError(f"{file} is not a model state checkpoint")
|
| 109 |
+
buffer_names = state_dict[BUFFER_NAMES]
|
| 110 |
+
if debug:
|
| 111 |
+
print("Found buffers:", buffer_names)
|
| 112 |
+
|
| 113 |
+
# recover just the buffers while restoring them to fp32 if they were saved in fp16
|
| 114 |
+
buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
|
| 115 |
+
param_shapes = state_dict[PARAM_SHAPES]
|
| 116 |
+
|
| 117 |
+
# collect parameters that are included in param_shapes
|
| 118 |
+
param_names = []
|
| 119 |
+
for s in param_shapes:
|
| 120 |
+
for name in s.keys():
|
| 121 |
+
param_names.append(name)
|
| 122 |
+
|
| 123 |
+
# update with frozen parameters
|
| 124 |
+
frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
|
| 125 |
+
if frozen_param_shapes is not None:
|
| 126 |
+
if debug:
|
| 127 |
+
print(f"Found frozen_param_shapes: {frozen_param_shapes}")
|
| 128 |
+
param_names += list(frozen_param_shapes.keys())
|
| 129 |
+
|
| 130 |
+
# handle shared params
|
| 131 |
+
shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
|
| 132 |
+
|
| 133 |
+
ds_version = state_dict.get(DS_VERSION, None)
|
| 134 |
+
|
| 135 |
+
frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
|
| 136 |
+
|
| 137 |
+
z_model_state = zero_model_state(buffers=buffers,
|
| 138 |
+
param_shapes=param_shapes,
|
| 139 |
+
shared_params=shared_params,
|
| 140 |
+
ds_version=ds_version,
|
| 141 |
+
frozen_param_shapes=frozen_param_shapes,
|
| 142 |
+
frozen_param_fragments=frozen_param_fragments)
|
| 143 |
+
zero_model_states.append(z_model_state)
|
| 144 |
+
|
| 145 |
+
return zero_model_states
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
def parse_optim_states(files, ds_checkpoint_dir):
|
| 149 |
+
total_files = len(files)
|
| 150 |
+
state_dicts = []
|
| 151 |
+
for f in tqdm(files, desc='Loading checkpoint shards'):
|
| 152 |
+
state_dict = torch.load(f, map_location=device, mmap=True, weights_only=False)
|
| 153 |
+
# immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
|
| 154 |
+
# and also handle the case where it was already removed by another helper script
|
| 155 |
+
state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
|
| 156 |
+
state_dicts.append(state_dict)
|
| 157 |
+
|
| 158 |
+
if ZERO_STAGE not in state_dicts[0][OPTIMIZER_STATE_DICT]:
|
| 159 |
+
raise ValueError(f"{files[0]} is not a zero checkpoint")
|
| 160 |
+
zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
|
| 161 |
+
world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
|
| 162 |
+
|
| 163 |
+
# For ZeRO-2 each param group can have different partition_count as data parallelism for expert
|
| 164 |
+
# parameters can be different from data parallelism for non-expert parameters. So we can just
|
| 165 |
+
# use the max of the partition_count to get the dp world_size.
|
| 166 |
+
|
| 167 |
+
if type(world_size) is list:
|
| 168 |
+
world_size = max(world_size)
|
| 169 |
+
|
| 170 |
+
if world_size != total_files:
|
| 171 |
+
raise ValueError(
|
| 172 |
+
f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
|
| 173 |
+
"Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
|
| 174 |
+
)
|
| 175 |
+
|
| 176 |
+
# the groups are named differently in each stage
|
| 177 |
+
if zero_stage <= 2:
|
| 178 |
+
fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
|
| 179 |
+
elif zero_stage == 3:
|
| 180 |
+
fp32_groups_key = FP32_FLAT_GROUPS
|
| 181 |
+
else:
|
| 182 |
+
raise ValueError(f"unknown zero stage {zero_stage}")
|
| 183 |
+
|
| 184 |
+
fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
|
| 185 |
+
return zero_stage, world_size, fp32_flat_groups
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
|
| 189 |
+
"""
|
| 190 |
+
Returns fp32 state_dict reconstructed from ds checkpoint
|
| 191 |
+
|
| 192 |
+
Args:
|
| 193 |
+
- ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
|
| 194 |
+
|
| 195 |
+
"""
|
| 196 |
+
print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
|
| 197 |
+
|
| 198 |
+
optim_files = get_optim_files(ds_checkpoint_dir)
|
| 199 |
+
zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
|
| 200 |
+
print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
|
| 201 |
+
|
| 202 |
+
model_files = get_model_state_files(ds_checkpoint_dir)
|
| 203 |
+
|
| 204 |
+
zero_model_states = parse_model_states(model_files)
|
| 205 |
+
print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
|
| 206 |
+
|
| 207 |
+
if zero_stage <= 2:
|
| 208 |
+
return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 209 |
+
exclude_frozen_parameters)
|
| 210 |
+
elif zero_stage == 3:
|
| 211 |
+
return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 212 |
+
exclude_frozen_parameters)
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
def _zero2_merge_frozen_params(state_dict, zero_model_states):
|
| 216 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 217 |
+
return
|
| 218 |
+
|
| 219 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 220 |
+
frozen_param_fragments = zero_model_states[0].frozen_param_fragments
|
| 221 |
+
|
| 222 |
+
if debug:
|
| 223 |
+
num_elem = sum(s.numel() for s in frozen_param_shapes.values())
|
| 224 |
+
print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 225 |
+
|
| 226 |
+
wanted_params = len(frozen_param_shapes)
|
| 227 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 228 |
+
avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
|
| 229 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 230 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 231 |
+
|
| 232 |
+
total_params = 0
|
| 233 |
+
total_numel = 0
|
| 234 |
+
for name, shape in frozen_param_shapes.items():
|
| 235 |
+
total_params += 1
|
| 236 |
+
unpartitioned_numel = shape.numel()
|
| 237 |
+
total_numel += unpartitioned_numel
|
| 238 |
+
|
| 239 |
+
state_dict[name] = frozen_param_fragments[name]
|
| 240 |
+
|
| 241 |
+
if debug:
|
| 242 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 243 |
+
|
| 244 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
def _has_callable(obj, fn):
|
| 248 |
+
attr = getattr(obj, fn, None)
|
| 249 |
+
return callable(attr)
|
| 250 |
+
|
| 251 |
+
|
| 252 |
+
def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 253 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 254 |
+
|
| 255 |
+
# Reconstruction protocol:
|
| 256 |
+
#
|
| 257 |
+
# XXX: document this
|
| 258 |
+
|
| 259 |
+
if debug:
|
| 260 |
+
for i in range(world_size):
|
| 261 |
+
for j in range(len(fp32_flat_groups[0])):
|
| 262 |
+
print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
|
| 263 |
+
|
| 264 |
+
# XXX: memory usage doubles here (zero2)
|
| 265 |
+
num_param_groups = len(fp32_flat_groups[0])
|
| 266 |
+
merged_single_partition_of_fp32_groups = []
|
| 267 |
+
for i in range(num_param_groups):
|
| 268 |
+
merged_partitions = [sd[i] for sd in fp32_flat_groups]
|
| 269 |
+
full_single_fp32_vector = torch.cat(merged_partitions, 0)
|
| 270 |
+
merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
|
| 271 |
+
avail_numel = sum(
|
| 272 |
+
[full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
|
| 273 |
+
|
| 274 |
+
if debug:
|
| 275 |
+
wanted_params = sum([len(shapes) for shapes in param_shapes])
|
| 276 |
+
wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
|
| 277 |
+
# not asserting if there is a mismatch due to possible padding
|
| 278 |
+
print(f"Have {avail_numel} numels to process.")
|
| 279 |
+
print(f"Need {wanted_numel} numels in {wanted_params} params.")
|
| 280 |
+
|
| 281 |
+
# params
|
| 282 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 283 |
+
# out-of-core computing solution
|
| 284 |
+
total_numel = 0
|
| 285 |
+
total_params = 0
|
| 286 |
+
for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
|
| 287 |
+
offset = 0
|
| 288 |
+
avail_numel = full_single_fp32_vector.numel()
|
| 289 |
+
for name, shape in shapes.items():
|
| 290 |
+
|
| 291 |
+
unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
|
| 292 |
+
total_numel += unpartitioned_numel
|
| 293 |
+
total_params += 1
|
| 294 |
+
|
| 295 |
+
if debug:
|
| 296 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 297 |
+
state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
|
| 298 |
+
offset += unpartitioned_numel
|
| 299 |
+
|
| 300 |
+
# Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
|
| 301 |
+
# avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
|
| 302 |
+
# paddings performed in the code it's almost impossible to predict the exact numbers w/o the
|
| 303 |
+
# live optimizer object, so we are checking that the numbers are within the right range
|
| 304 |
+
align_to = 2 * world_size
|
| 305 |
+
|
| 306 |
+
def zero2_align(x):
|
| 307 |
+
return align_to * math.ceil(x / align_to)
|
| 308 |
+
|
| 309 |
+
if debug:
|
| 310 |
+
print(f"original offset={offset}, avail_numel={avail_numel}")
|
| 311 |
+
|
| 312 |
+
offset = zero2_align(offset)
|
| 313 |
+
avail_numel = zero2_align(avail_numel)
|
| 314 |
+
|
| 315 |
+
if debug:
|
| 316 |
+
print(f"aligned offset={offset}, avail_numel={avail_numel}")
|
| 317 |
+
|
| 318 |
+
# Sanity check
|
| 319 |
+
if offset != avail_numel:
|
| 320 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 321 |
+
|
| 322 |
+
print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
|
| 323 |
+
|
| 324 |
+
|
| 325 |
+
def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 326 |
+
exclude_frozen_parameters):
|
| 327 |
+
state_dict = OrderedDict()
|
| 328 |
+
|
| 329 |
+
# buffers
|
| 330 |
+
buffers = zero_model_states[0].buffers
|
| 331 |
+
state_dict.update(buffers)
|
| 332 |
+
if debug:
|
| 333 |
+
print(f"added {len(buffers)} buffers")
|
| 334 |
+
|
| 335 |
+
if not exclude_frozen_parameters:
|
| 336 |
+
_zero2_merge_frozen_params(state_dict, zero_model_states)
|
| 337 |
+
|
| 338 |
+
_zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 339 |
+
|
| 340 |
+
# recover shared parameters
|
| 341 |
+
for pair in zero_model_states[0].shared_params:
|
| 342 |
+
if pair[1] in state_dict:
|
| 343 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 344 |
+
|
| 345 |
+
return state_dict
|
| 346 |
+
|
| 347 |
+
|
| 348 |
+
def zero3_partitioned_param_info(unpartitioned_numel, world_size):
|
| 349 |
+
remainder = unpartitioned_numel % world_size
|
| 350 |
+
padding_numel = (world_size - remainder) if remainder else 0
|
| 351 |
+
partitioned_numel = math.ceil(unpartitioned_numel / world_size)
|
| 352 |
+
return partitioned_numel, padding_numel
|
| 353 |
+
|
| 354 |
+
|
| 355 |
+
def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
|
| 356 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 357 |
+
return
|
| 358 |
+
|
| 359 |
+
if debug:
|
| 360 |
+
for i in range(world_size):
|
| 361 |
+
num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
|
| 362 |
+
print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 363 |
+
|
| 364 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 365 |
+
wanted_params = len(frozen_param_shapes)
|
| 366 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 367 |
+
avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
|
| 368 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 369 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 370 |
+
|
| 371 |
+
total_params = 0
|
| 372 |
+
total_numel = 0
|
| 373 |
+
for name, shape in zero_model_states[0].frozen_param_shapes.items():
|
| 374 |
+
total_params += 1
|
| 375 |
+
unpartitioned_numel = shape.numel()
|
| 376 |
+
total_numel += unpartitioned_numel
|
| 377 |
+
|
| 378 |
+
param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
|
| 379 |
+
state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
|
| 380 |
+
|
| 381 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 382 |
+
|
| 383 |
+
if debug:
|
| 384 |
+
print(
|
| 385 |
+
f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 386 |
+
)
|
| 387 |
+
|
| 388 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 389 |
+
|
| 390 |
+
|
| 391 |
+
class GatheredTensor:
|
| 392 |
+
"""
|
| 393 |
+
A pseudo tensor that collects partitioned weights.
|
| 394 |
+
It is more memory efficient when there are multiple groups.
|
| 395 |
+
"""
|
| 396 |
+
|
| 397 |
+
def __init__(self, flat_groups, flat_groups_offset, offset, partitioned_numel, shape):
|
| 398 |
+
self.flat_groups = flat_groups
|
| 399 |
+
self.flat_groups_offset = flat_groups_offset
|
| 400 |
+
self.offset = offset
|
| 401 |
+
self.partitioned_numel = partitioned_numel
|
| 402 |
+
self.shape = shape
|
| 403 |
+
self.dtype = self.flat_groups[0][0].dtype
|
| 404 |
+
|
| 405 |
+
def contiguous(self):
|
| 406 |
+
"""
|
| 407 |
+
Merge partitioned weights from flat_groups into a single tensor.
|
| 408 |
+
"""
|
| 409 |
+
end_idx = self.offset + self.partitioned_numel
|
| 410 |
+
world_size = len(self.flat_groups)
|
| 411 |
+
pad_flat_param_chunks = []
|
| 412 |
+
|
| 413 |
+
for rank_i in range(world_size):
|
| 414 |
+
# for each rank, we need to collect weights from related group/groups
|
| 415 |
+
flat_groups_at_rank_i = self.flat_groups[rank_i]
|
| 416 |
+
start_group_id = None
|
| 417 |
+
end_group_id = None
|
| 418 |
+
for group_id in range(len(self.flat_groups_offset)):
|
| 419 |
+
if self.flat_groups_offset[group_id] <= self.offset < self.flat_groups_offset[group_id + 1]:
|
| 420 |
+
start_group_id = group_id
|
| 421 |
+
if self.flat_groups_offset[group_id] < end_idx <= self.flat_groups_offset[group_id + 1]:
|
| 422 |
+
end_group_id = group_id
|
| 423 |
+
break
|
| 424 |
+
# collect weights from related group/groups
|
| 425 |
+
for group_id in range(start_group_id, end_group_id + 1):
|
| 426 |
+
flat_tensor = flat_groups_at_rank_i[group_id]
|
| 427 |
+
start_offset = self.offset - self.flat_groups_offset[group_id]
|
| 428 |
+
end_offset = min(end_idx, self.flat_groups_offset[group_id + 1]) - self.flat_groups_offset[group_id]
|
| 429 |
+
pad_flat_param_chunks.append(flat_tensor[start_offset:end_offset])
|
| 430 |
+
|
| 431 |
+
# collect weights from all ranks
|
| 432 |
+
pad_flat_param = torch.cat(pad_flat_param_chunks, dim=0)
|
| 433 |
+
param = pad_flat_param[:self.shape.numel()].view(self.shape).contiguous()
|
| 434 |
+
return param
|
| 435 |
+
|
| 436 |
+
|
| 437 |
+
def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 438 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 439 |
+
avail_numel = sum([flat_group.numel() for flat_group in fp32_flat_groups[0]]) * world_size
|
| 440 |
+
|
| 441 |
+
# Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
|
| 442 |
+
# param, re-consolidating each param, while dealing with padding if any
|
| 443 |
+
|
| 444 |
+
# merge list of dicts, preserving order
|
| 445 |
+
param_shapes = {k: v for d in param_shapes for k, v in d.items()}
|
| 446 |
+
|
| 447 |
+
if debug:
|
| 448 |
+
for i in range(world_size):
|
| 449 |
+
print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
|
| 450 |
+
|
| 451 |
+
wanted_params = len(param_shapes)
|
| 452 |
+
wanted_numel = sum(shape.numel() for shape in param_shapes.values())
|
| 453 |
+
# not asserting if there is a mismatch due to possible padding
|
| 454 |
+
avail_numel = fp32_flat_groups[0].numel() * world_size
|
| 455 |
+
print(f"Trainable params: Have {avail_numel} numels to process.")
|
| 456 |
+
print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
|
| 457 |
+
|
| 458 |
+
# params
|
| 459 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 460 |
+
# out-of-core computing solution
|
| 461 |
+
offset = 0
|
| 462 |
+
total_numel = 0
|
| 463 |
+
total_params = 0
|
| 464 |
+
flat_groups_offset = [0] + list(np.cumsum([flat_tensor.numel() for flat_tensor in fp32_flat_groups[0]]))
|
| 465 |
+
for name, shape in tqdm(param_shapes.items(), desc='Gathering sharded weights'):
|
| 466 |
+
unpartitioned_numel = shape.numel()
|
| 467 |
+
total_numel += unpartitioned_numel
|
| 468 |
+
total_params += 1
|
| 469 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 470 |
+
|
| 471 |
+
if debug:
|
| 472 |
+
print(
|
| 473 |
+
f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 474 |
+
)
|
| 475 |
+
|
| 476 |
+
# memory efficient tensor
|
| 477 |
+
tensor = GatheredTensor(fp32_flat_groups, flat_groups_offset, offset, partitioned_numel, shape)
|
| 478 |
+
state_dict[name] = tensor
|
| 479 |
+
offset += partitioned_numel
|
| 480 |
+
|
| 481 |
+
offset *= world_size
|
| 482 |
+
|
| 483 |
+
# Sanity check
|
| 484 |
+
if offset != avail_numel:
|
| 485 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 486 |
+
|
| 487 |
+
print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
|
| 488 |
+
|
| 489 |
+
|
| 490 |
+
def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 491 |
+
exclude_frozen_parameters):
|
| 492 |
+
state_dict = OrderedDict()
|
| 493 |
+
|
| 494 |
+
# buffers
|
| 495 |
+
buffers = zero_model_states[0].buffers
|
| 496 |
+
state_dict.update(buffers)
|
| 497 |
+
if debug:
|
| 498 |
+
print(f"added {len(buffers)} buffers")
|
| 499 |
+
|
| 500 |
+
if not exclude_frozen_parameters:
|
| 501 |
+
_zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
|
| 502 |
+
|
| 503 |
+
_zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 504 |
+
|
| 505 |
+
# recover shared parameters
|
| 506 |
+
for pair in zero_model_states[0].shared_params:
|
| 507 |
+
if pair[1] in state_dict:
|
| 508 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 509 |
+
|
| 510 |
+
return state_dict
|
| 511 |
+
|
| 512 |
+
|
| 513 |
+
def to_torch_tensor(state_dict, return_empty_tensor=False):
|
| 514 |
+
"""
|
| 515 |
+
Convert state_dict of GatheredTensor to torch tensor
|
| 516 |
+
"""
|
| 517 |
+
torch_state_dict = {}
|
| 518 |
+
converted_tensors = {}
|
| 519 |
+
for name, tensor in state_dict.items():
|
| 520 |
+
tensor_id = id(tensor)
|
| 521 |
+
if tensor_id in converted_tensors: # shared tensors
|
| 522 |
+
shared_tensor = torch_state_dict[converted_tensors[tensor_id]]
|
| 523 |
+
torch_state_dict[name] = shared_tensor
|
| 524 |
+
else:
|
| 525 |
+
converted_tensors[tensor_id] = name
|
| 526 |
+
if return_empty_tensor:
|
| 527 |
+
torch_state_dict[name] = torch.empty(tensor.shape, dtype=tensor.dtype)
|
| 528 |
+
else:
|
| 529 |
+
torch_state_dict[name] = tensor.contiguous()
|
| 530 |
+
return torch_state_dict
|
| 531 |
+
|
| 532 |
+
|
| 533 |
+
def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 534 |
+
tag=None,
|
| 535 |
+
exclude_frozen_parameters=False,
|
| 536 |
+
lazy_mode=False):
|
| 537 |
+
"""
|
| 538 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
|
| 539 |
+
``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
|
| 540 |
+
via a model hub.
|
| 541 |
+
|
| 542 |
+
Args:
|
| 543 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder
|
| 544 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in 'latest' file. e.g., ``global_step14``
|
| 545 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 546 |
+
- ``lazy_mode``: get state_dict in lazy mode. It returns a dict of pesduo tensor instead of torch tensor, which is more memory efficient.
|
| 547 |
+
Convert the pesduo tensor to torch tensor by ``.contiguous()``
|
| 548 |
+
|
| 549 |
+
Returns:
|
| 550 |
+
- pytorch ``state_dict``
|
| 551 |
+
|
| 552 |
+
A typical usage might be ::
|
| 553 |
+
|
| 554 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 555 |
+
# do the training and checkpoint saving
|
| 556 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
|
| 557 |
+
model = model.cpu() # move to cpu
|
| 558 |
+
model.load_state_dict(state_dict)
|
| 559 |
+
# submit to model hub or save the model to share with others
|
| 560 |
+
|
| 561 |
+
In this example the ``model`` will no longer be usable in the deepspeed context of the same
|
| 562 |
+
application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 563 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 564 |
+
|
| 565 |
+
If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
|
| 566 |
+
|
| 567 |
+
Note: the above usage may not work if your application doesn't have sufficient free CPU memory.
|
| 568 |
+
You may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
|
| 569 |
+
the checkpoint. Or you can load state_dict in lazy mode ::
|
| 570 |
+
|
| 571 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 572 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, lazy_mode=True) # not on cpu
|
| 573 |
+
for name, lazy_tensor in state_dict.item():
|
| 574 |
+
tensor = lazy_tensor.contiguous() # to cpu
|
| 575 |
+
print(name, tensor)
|
| 576 |
+
# del tensor to release memory if it no longer in use
|
| 577 |
+
"""
|
| 578 |
+
if tag is None:
|
| 579 |
+
latest_path = os.path.join(checkpoint_dir, 'latest')
|
| 580 |
+
if os.path.isfile(latest_path):
|
| 581 |
+
with open(latest_path, 'r') as fd:
|
| 582 |
+
tag = fd.read().strip()
|
| 583 |
+
else:
|
| 584 |
+
raise ValueError(f"Unable to find 'latest' file at {latest_path}")
|
| 585 |
+
|
| 586 |
+
ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
|
| 587 |
+
|
| 588 |
+
if not os.path.isdir(ds_checkpoint_dir):
|
| 589 |
+
raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
|
| 590 |
+
|
| 591 |
+
state_dict = _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
|
| 592 |
+
if lazy_mode:
|
| 593 |
+
return state_dict
|
| 594 |
+
else:
|
| 595 |
+
return to_torch_tensor(state_dict)
|
| 596 |
+
|
| 597 |
+
|
| 598 |
+
def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir,
|
| 599 |
+
output_dir,
|
| 600 |
+
max_shard_size="5GB",
|
| 601 |
+
safe_serialization=False,
|
| 602 |
+
tag=None,
|
| 603 |
+
exclude_frozen_parameters=False):
|
| 604 |
+
"""
|
| 605 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
|
| 606 |
+
loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
|
| 607 |
+
|
| 608 |
+
Args:
|
| 609 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 610 |
+
- ``output_dir``: directory to the pytorch fp32 state_dict output files
|
| 611 |
+
- ``max_shard_size``: the maximum size for a checkpoint before being sharded, default value is 5GB
|
| 612 |
+
- ``safe_serialization``: whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).
|
| 613 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 614 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 615 |
+
"""
|
| 616 |
+
|
| 617 |
+
# Dependency pre-check
|
| 618 |
+
if safe_serialization:
|
| 619 |
+
try:
|
| 620 |
+
from safetensors.torch import save_file
|
| 621 |
+
except ImportError:
|
| 622 |
+
print('If you want to use `safe_serialization`, please `pip install safetensors`')
|
| 623 |
+
raise
|
| 624 |
+
if max_shard_size is not None:
|
| 625 |
+
try:
|
| 626 |
+
from huggingface_hub import split_torch_state_dict_into_shards
|
| 627 |
+
except ImportError:
|
| 628 |
+
print('If you want to use `max_shard_size`, please `pip install huggingface_hub`')
|
| 629 |
+
raise
|
| 630 |
+
|
| 631 |
+
# Convert zero checkpoint to state_dict
|
| 632 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 633 |
+
tag,
|
| 634 |
+
exclude_frozen_parameters,
|
| 635 |
+
lazy_mode=True)
|
| 636 |
+
|
| 637 |
+
# Shard the model if it is too big.
|
| 638 |
+
weights_name = "model.safetensors" if safe_serialization else "pytorch_model.bin"
|
| 639 |
+
if max_shard_size is not None:
|
| 640 |
+
filename_pattern = weights_name.replace(".bin", "{suffix}.bin").replace(".safetensors", "{suffix}.safetensors")
|
| 641 |
+
# an memory-efficient approach for sharding
|
| 642 |
+
empty_state_dict = to_torch_tensor(state_dict, return_empty_tensor=True)
|
| 643 |
+
state_dict_split = split_torch_state_dict_into_shards(empty_state_dict,
|
| 644 |
+
filename_pattern=filename_pattern,
|
| 645 |
+
max_shard_size=max_shard_size)
|
| 646 |
+
else:
|
| 647 |
+
from collections import namedtuple
|
| 648 |
+
StateDictSplit = namedtuple("StateDictSplit", ["is_sharded", "filename_to_tensors"])
|
| 649 |
+
state_dict_split = StateDictSplit(is_sharded=False,
|
| 650 |
+
filename_to_tensors={weights_name: list(state_dict.keys())})
|
| 651 |
+
|
| 652 |
+
# Save the model by shard
|
| 653 |
+
os.makedirs(output_dir, exist_ok=True)
|
| 654 |
+
filename_to_tensors = state_dict_split.filename_to_tensors.items()
|
| 655 |
+
for shard_file, tensors in tqdm(filename_to_tensors, desc="Saving checkpoint shards"):
|
| 656 |
+
shard_state_dict = {tensor_name: state_dict[tensor_name] for tensor_name in tensors}
|
| 657 |
+
shard_state_dict = to_torch_tensor(shard_state_dict)
|
| 658 |
+
output_path = os.path.join(output_dir, shard_file)
|
| 659 |
+
if safe_serialization:
|
| 660 |
+
save_file(shard_state_dict, output_path, metadata={"format": "pt"})
|
| 661 |
+
else:
|
| 662 |
+
torch.save(shard_state_dict, output_path)
|
| 663 |
+
# release the memory of current shard
|
| 664 |
+
for tensor_name in list(shard_state_dict.keys()):
|
| 665 |
+
del state_dict[tensor_name]
|
| 666 |
+
del shard_state_dict[tensor_name]
|
| 667 |
+
del shard_state_dict
|
| 668 |
+
gc.collect()
|
| 669 |
+
|
| 670 |
+
# Save index if sharded
|
| 671 |
+
if state_dict_split.is_sharded:
|
| 672 |
+
index = {
|
| 673 |
+
"metadata": state_dict_split.metadata,
|
| 674 |
+
"weight_map": state_dict_split.tensor_to_filename,
|
| 675 |
+
}
|
| 676 |
+
save_index_file = "model.safetensors.index.json" if safe_serialization else "pytorch_model.bin.index.json"
|
| 677 |
+
save_index_file = os.path.join(output_dir, save_index_file)
|
| 678 |
+
with open(save_index_file, "w", encoding="utf-8") as f:
|
| 679 |
+
content = json.dumps(index, indent=2, sort_keys=True) + "\n"
|
| 680 |
+
f.write(content)
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
|
| 684 |
+
"""
|
| 685 |
+
1. Put the provided model to cpu
|
| 686 |
+
2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
|
| 687 |
+
3. Load it into the provided model
|
| 688 |
+
|
| 689 |
+
Args:
|
| 690 |
+
- ``model``: the model object to update
|
| 691 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 692 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 693 |
+
|
| 694 |
+
Returns:
|
| 695 |
+
- ``model`: modified model
|
| 696 |
+
|
| 697 |
+
Make sure you have plenty of CPU memory available before you call this function. If you don't
|
| 698 |
+
have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
|
| 699 |
+
conveniently placed for you in the checkpoint folder.
|
| 700 |
+
|
| 701 |
+
A typical usage might be ::
|
| 702 |
+
|
| 703 |
+
from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
|
| 704 |
+
model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
|
| 705 |
+
# submit to model hub or save the model to share with others
|
| 706 |
+
|
| 707 |
+
Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
|
| 708 |
+
of the same application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 709 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 710 |
+
|
| 711 |
+
"""
|
| 712 |
+
logger.info("Extracting fp32 weights")
|
| 713 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
|
| 714 |
+
|
| 715 |
+
logger.info("Overwriting model with fp32 weights")
|
| 716 |
+
model = model.cpu()
|
| 717 |
+
model.load_state_dict(state_dict, strict=False)
|
| 718 |
+
|
| 719 |
+
return model
|
| 720 |
+
|
| 721 |
+
|
| 722 |
+
if __name__ == "__main__":
|
| 723 |
+
parser = argparse.ArgumentParser()
|
| 724 |
+
parser.add_argument("checkpoint_dir",
|
| 725 |
+
type=str,
|
| 726 |
+
help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
|
| 727 |
+
parser.add_argument("output_dir",
|
| 728 |
+
type=str,
|
| 729 |
+
help="directory to the pytorch fp32 state_dict output files"
|
| 730 |
+
"(e.g. path/checkpoint-12-output/)")
|
| 731 |
+
parser.add_argument(
|
| 732 |
+
"--max_shard_size",
|
| 733 |
+
type=str,
|
| 734 |
+
default="5GB",
|
| 735 |
+
help="The maximum size for a checkpoint before being sharded. Checkpoints shard will then be each of size"
|
| 736 |
+
"lower than this size. If expressed as a string, needs to be digits followed by a unit (like `5MB`"
|
| 737 |
+
"We default it to 5GB in order for models to be able to run easily on free-tier google colab instances"
|
| 738 |
+
"without CPU OOM issues.")
|
| 739 |
+
parser.add_argument(
|
| 740 |
+
"--safe_serialization",
|
| 741 |
+
default=False,
|
| 742 |
+
action='store_true',
|
| 743 |
+
help="Whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).")
|
| 744 |
+
parser.add_argument("-t",
|
| 745 |
+
"--tag",
|
| 746 |
+
type=str,
|
| 747 |
+
default=None,
|
| 748 |
+
help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
|
| 749 |
+
parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
|
| 750 |
+
parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
|
| 751 |
+
args = parser.parse_args()
|
| 752 |
+
|
| 753 |
+
debug = args.debug
|
| 754 |
+
|
| 755 |
+
convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
|
| 756 |
+
args.output_dir,
|
| 757 |
+
max_shard_size=args.max_shard_size,
|
| 758 |
+
safe_serialization=args.safe_serialization,
|
| 759 |
+
tag=args.tag,
|
| 760 |
+
exclude_frozen_parameters=args.exclude_frozen_parameters)
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/added_tokens.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</think>": 151668,
|
| 3 |
+
"</tool_call>": 151658,
|
| 4 |
+
"</tool_response>": 151666,
|
| 5 |
+
"<think>": 151667,
|
| 6 |
+
"<tool_call>": 151657,
|
| 7 |
+
"<tool_response>": 151665,
|
| 8 |
+
"<|box_end|>": 151649,
|
| 9 |
+
"<|box_start|>": 151648,
|
| 10 |
+
"<|endoftext|>": 151643,
|
| 11 |
+
"<|file_sep|>": 151664,
|
| 12 |
+
"<|fim_middle|>": 151660,
|
| 13 |
+
"<|fim_pad|>": 151662,
|
| 14 |
+
"<|fim_prefix|>": 151659,
|
| 15 |
+
"<|fim_suffix|>": 151661,
|
| 16 |
+
"<|im_end|>": 151645,
|
| 17 |
+
"<|im_start|>": 151644,
|
| 18 |
+
"<|image_pad|>": 151655,
|
| 19 |
+
"<|object_ref_end|>": 151647,
|
| 20 |
+
"<|object_ref_start|>": 151646,
|
| 21 |
+
"<|quad_end|>": 151651,
|
| 22 |
+
"<|quad_start|>": 151650,
|
| 23 |
+
"<|repo_name|>": 151663,
|
| 24 |
+
"<|video_pad|>": 151656,
|
| 25 |
+
"<|vision_end|>": 151653,
|
| 26 |
+
"<|vision_pad|>": 151654,
|
| 27 |
+
"<|vision_start|>": 151652
|
| 28 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/args.json
ADDED
|
@@ -0,0 +1,398 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"output_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train",
|
| 3 |
+
"overwrite_output_dir": false,
|
| 4 |
+
"do_train": false,
|
| 5 |
+
"do_eval": false,
|
| 6 |
+
"do_predict": false,
|
| 7 |
+
"eval_strategy": "no",
|
| 8 |
+
"prediction_loss_only": false,
|
| 9 |
+
"per_device_train_batch_size": 8,
|
| 10 |
+
"per_device_eval_batch_size": 1,
|
| 11 |
+
"per_gpu_train_batch_size": null,
|
| 12 |
+
"per_gpu_eval_batch_size": null,
|
| 13 |
+
"gradient_accumulation_steps": 1,
|
| 14 |
+
"eval_accumulation_steps": null,
|
| 15 |
+
"eval_delay": 0,
|
| 16 |
+
"torch_empty_cache_steps": null,
|
| 17 |
+
"learning_rate": 5e-05,
|
| 18 |
+
"weight_decay": 0.01,
|
| 19 |
+
"adam_beta1": 0.9,
|
| 20 |
+
"adam_beta2": 0.95,
|
| 21 |
+
"adam_epsilon": 1e-08,
|
| 22 |
+
"max_grad_norm": 1.0,
|
| 23 |
+
"num_train_epochs": 1.0,
|
| 24 |
+
"max_steps": -1,
|
| 25 |
+
"lr_scheduler_type": "cosine",
|
| 26 |
+
"lr_scheduler_kwargs": null,
|
| 27 |
+
"warmup_ratio": 0.03,
|
| 28 |
+
"warmup_steps": 0,
|
| 29 |
+
"log_level": "passive",
|
| 30 |
+
"log_level_replica": "warning",
|
| 31 |
+
"log_on_each_node": true,
|
| 32 |
+
"logging_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/runs",
|
| 33 |
+
"logging_strategy": "steps",
|
| 34 |
+
"logging_first_step": true,
|
| 35 |
+
"logging_steps": 5,
|
| 36 |
+
"logging_nan_inf_filter": true,
|
| 37 |
+
"save_strategy": "steps",
|
| 38 |
+
"save_steps": 100.0,
|
| 39 |
+
"save_total_limit": 0,
|
| 40 |
+
"save_safetensors": true,
|
| 41 |
+
"save_on_each_node": false,
|
| 42 |
+
"save_only_model": false,
|
| 43 |
+
"restore_callback_states_from_checkpoint": false,
|
| 44 |
+
"no_cuda": false,
|
| 45 |
+
"use_cpu": false,
|
| 46 |
+
"use_mps_device": false,
|
| 47 |
+
"seed": 42,
|
| 48 |
+
"data_seed": 42,
|
| 49 |
+
"jit_mode_eval": false,
|
| 50 |
+
"bf16": true,
|
| 51 |
+
"fp16": false,
|
| 52 |
+
"fp16_opt_level": "O1",
|
| 53 |
+
"half_precision_backend": "auto",
|
| 54 |
+
"bf16_full_eval": false,
|
| 55 |
+
"fp16_full_eval": false,
|
| 56 |
+
"tf32": null,
|
| 57 |
+
"local_rank": 0,
|
| 58 |
+
"ddp_backend": null,
|
| 59 |
+
"tpu_num_cores": null,
|
| 60 |
+
"tpu_metrics_debug": false,
|
| 61 |
+
"debug": null,
|
| 62 |
+
"dataloader_drop_last": false,
|
| 63 |
+
"eval_steps": null,
|
| 64 |
+
"dataloader_num_workers": 4,
|
| 65 |
+
"dataloader_prefetch_factor": null,
|
| 66 |
+
"past_index": -1,
|
| 67 |
+
"run_name": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train",
|
| 68 |
+
"disable_tqdm": null,
|
| 69 |
+
"remove_unused_columns": false,
|
| 70 |
+
"label_names": null,
|
| 71 |
+
"load_best_model_at_end": false,
|
| 72 |
+
"metric_for_best_model": "loss",
|
| 73 |
+
"greater_is_better": false,
|
| 74 |
+
"ignore_data_skip": false,
|
| 75 |
+
"fsdp": [],
|
| 76 |
+
"fsdp_min_num_params": 0,
|
| 77 |
+
"fsdp_config": null,
|
| 78 |
+
"fsdp_transformer_layer_cls_to_wrap": null,
|
| 79 |
+
"accelerator_config": {
|
| 80 |
+
"dispatch_batches": false
|
| 81 |
+
},
|
| 82 |
+
"parallelism_config": null,
|
| 83 |
+
"deepspeed": {
|
| 84 |
+
"fp16": {
|
| 85 |
+
"enabled": "auto",
|
| 86 |
+
"loss_scale": 0,
|
| 87 |
+
"loss_scale_window": 1000,
|
| 88 |
+
"initial_scale_power": 16,
|
| 89 |
+
"hysteresis": 2,
|
| 90 |
+
"min_loss_scale": 1
|
| 91 |
+
},
|
| 92 |
+
"bf16": {
|
| 93 |
+
"enabled": "auto"
|
| 94 |
+
},
|
| 95 |
+
"zero_optimization": {
|
| 96 |
+
"stage": 2,
|
| 97 |
+
"offload_optimizer": {
|
| 98 |
+
"device": "none",
|
| 99 |
+
"pin_memory": true
|
| 100 |
+
},
|
| 101 |
+
"allgather_partitions": true,
|
| 102 |
+
"allgather_bucket_size": 200000000.0,
|
| 103 |
+
"overlap_comm": false,
|
| 104 |
+
"reduce_scatter": true,
|
| 105 |
+
"reduce_bucket_size": 200000000.0,
|
| 106 |
+
"contiguous_gradients": true
|
| 107 |
+
},
|
| 108 |
+
"gradient_accumulation_steps": "auto",
|
| 109 |
+
"gradient_clipping": "auto",
|
| 110 |
+
"steps_per_print": 2000,
|
| 111 |
+
"train_batch_size": "auto",
|
| 112 |
+
"train_micro_batch_size_per_gpu": "auto",
|
| 113 |
+
"wall_clock_breakdown": false
|
| 114 |
+
},
|
| 115 |
+
"label_smoothing_factor": 0.0,
|
| 116 |
+
"optim": "adamw_torch_fused",
|
| 117 |
+
"optim_args": null,
|
| 118 |
+
"adafactor": false,
|
| 119 |
+
"group_by_length": false,
|
| 120 |
+
"length_column_name": "length",
|
| 121 |
+
"report_to": [
|
| 122 |
+
"tensorboard"
|
| 123 |
+
],
|
| 124 |
+
"project": "huggingface",
|
| 125 |
+
"trackio_space_id": "trackio",
|
| 126 |
+
"ddp_find_unused_parameters": null,
|
| 127 |
+
"ddp_bucket_cap_mb": null,
|
| 128 |
+
"ddp_broadcast_buffers": null,
|
| 129 |
+
"dataloader_pin_memory": true,
|
| 130 |
+
"dataloader_persistent_workers": false,
|
| 131 |
+
"skip_memory_metrics": true,
|
| 132 |
+
"use_legacy_prediction_loop": false,
|
| 133 |
+
"push_to_hub": false,
|
| 134 |
+
"resume_from_checkpoint": null,
|
| 135 |
+
"hub_model_id": null,
|
| 136 |
+
"hub_strategy": "every_save",
|
| 137 |
+
"hub_token": null,
|
| 138 |
+
"hub_private_repo": null,
|
| 139 |
+
"hub_always_push": false,
|
| 140 |
+
"hub_revision": null,
|
| 141 |
+
"gradient_checkpointing": true,
|
| 142 |
+
"gradient_checkpointing_kwargs": "{\"use_reentrant\": false}",
|
| 143 |
+
"include_inputs_for_metrics": false,
|
| 144 |
+
"include_for_metrics": [],
|
| 145 |
+
"eval_do_concat_batches": true,
|
| 146 |
+
"fp16_backend": "auto",
|
| 147 |
+
"push_to_hub_model_id": null,
|
| 148 |
+
"push_to_hub_organization": null,
|
| 149 |
+
"push_to_hub_token": null,
|
| 150 |
+
"mp_parameters": "",
|
| 151 |
+
"auto_find_batch_size": false,
|
| 152 |
+
"full_determinism": false,
|
| 153 |
+
"torchdynamo": null,
|
| 154 |
+
"ray_scope": "last",
|
| 155 |
+
"ddp_timeout": 18000000,
|
| 156 |
+
"torch_compile": false,
|
| 157 |
+
"torch_compile_backend": null,
|
| 158 |
+
"torch_compile_mode": null,
|
| 159 |
+
"include_tokens_per_second": false,
|
| 160 |
+
"include_num_input_tokens_seen": false,
|
| 161 |
+
"neftune_noise_alpha": null,
|
| 162 |
+
"optim_target_modules": null,
|
| 163 |
+
"batch_eval_metrics": false,
|
| 164 |
+
"eval_on_start": false,
|
| 165 |
+
"use_liger_kernel": false,
|
| 166 |
+
"liger_kernel_config": null,
|
| 167 |
+
"eval_use_gather_object": false,
|
| 168 |
+
"average_tokens_across_devices": false,
|
| 169 |
+
"sortish_sampler": false,
|
| 170 |
+
"predict_with_generate": false,
|
| 171 |
+
"generation_max_length": null,
|
| 172 |
+
"generation_num_beams": null,
|
| 173 |
+
"generation_config": null,
|
| 174 |
+
"tuner_backend": "peft",
|
| 175 |
+
"vit_gradient_checkpointing": true,
|
| 176 |
+
"router_aux_loss_coef": 0.0,
|
| 177 |
+
"enable_dft_loss": false,
|
| 178 |
+
"enable_channel_loss": false,
|
| 179 |
+
"check_model": true,
|
| 180 |
+
"acc_strategy": "token",
|
| 181 |
+
"train_dataloader_shuffle": true,
|
| 182 |
+
"max_epochs": null,
|
| 183 |
+
"aligner_lr": 2e-05,
|
| 184 |
+
"vit_lr": 1e-05,
|
| 185 |
+
"use_logits_to_keep": true,
|
| 186 |
+
"ds3_gather_for_generation": true,
|
| 187 |
+
"resume_only_model": false,
|
| 188 |
+
"optimizer": "multimodal",
|
| 189 |
+
"loss_type": "planning_modes",
|
| 190 |
+
"eval_metric": null,
|
| 191 |
+
"callbacks": [
|
| 192 |
+
"lora_2955_checks"
|
| 193 |
+
],
|
| 194 |
+
"early_stop_interval": null,
|
| 195 |
+
"eval_use_evalscope": false,
|
| 196 |
+
"eval_dataset": [],
|
| 197 |
+
"eval_dataset_args": null,
|
| 198 |
+
"eval_limit": null,
|
| 199 |
+
"eval_generation_config": null,
|
| 200 |
+
"extra_eval_args": null,
|
| 201 |
+
"tuner_type": "lora",
|
| 202 |
+
"use_galore": false,
|
| 203 |
+
"galore_target_modules": null,
|
| 204 |
+
"galore_rank": 128,
|
| 205 |
+
"galore_update_proj_gap": 50,
|
| 206 |
+
"galore_scale": 1.0,
|
| 207 |
+
"galore_proj_type": "std",
|
| 208 |
+
"galore_optim_per_parameter": false,
|
| 209 |
+
"galore_with_embedding": false,
|
| 210 |
+
"galore_quantization": false,
|
| 211 |
+
"galore_proj_quant": false,
|
| 212 |
+
"galore_proj_bits": 4,
|
| 213 |
+
"galore_proj_group_size": 256,
|
| 214 |
+
"galore_cos_threshold": 0.4,
|
| 215 |
+
"galore_gamma_proj": 2,
|
| 216 |
+
"galore_queue_size": 5,
|
| 217 |
+
"lisa_activated_layers": 0,
|
| 218 |
+
"lisa_step_interval": 20,
|
| 219 |
+
"use_flash_ckpt": false,
|
| 220 |
+
"use_ray": false,
|
| 221 |
+
"ray_exp_name": null,
|
| 222 |
+
"device_groups": null,
|
| 223 |
+
"model": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 224 |
+
"model_type": "qwen3_vl",
|
| 225 |
+
"model_revision": null,
|
| 226 |
+
"task_type": "causal_lm",
|
| 227 |
+
"torch_dtype": "bfloat16",
|
| 228 |
+
"attn_impl": "sdpa",
|
| 229 |
+
"experts_impl": null,
|
| 230 |
+
"new_special_tokens": [],
|
| 231 |
+
"num_labels": null,
|
| 232 |
+
"problem_type": null,
|
| 233 |
+
"rope_scaling": null,
|
| 234 |
+
"device_map": null,
|
| 235 |
+
"max_memory": {},
|
| 236 |
+
"max_model_len": null,
|
| 237 |
+
"local_repo_path": null,
|
| 238 |
+
"init_strategy": null,
|
| 239 |
+
"template": "qwen3_vl_planning_modes",
|
| 240 |
+
"system": null,
|
| 241 |
+
"max_length": 8192,
|
| 242 |
+
"truncation_strategy": "delete",
|
| 243 |
+
"max_pixels": 196608,
|
| 244 |
+
"agent_template": null,
|
| 245 |
+
"norm_bbox": null,
|
| 246 |
+
"use_chat_template": true,
|
| 247 |
+
"padding_side": "right",
|
| 248 |
+
"padding_free": false,
|
| 249 |
+
"loss_scale": "default",
|
| 250 |
+
"sequence_parallel_size": 1,
|
| 251 |
+
"template_backend": "swift",
|
| 252 |
+
"response_prefix": null,
|
| 253 |
+
"enable_thinking": false,
|
| 254 |
+
"add_non_thinking_prefix": false,
|
| 255 |
+
"dataset": [
|
| 256 |
+
"/cephfs/zhengwc/nuReasoning/dataset/sft/reasoning_modes_v1/m25/planning_train.jsonl"
|
| 257 |
+
],
|
| 258 |
+
"val_dataset": [],
|
| 259 |
+
"cached_dataset": [],
|
| 260 |
+
"cached_val_dataset": [],
|
| 261 |
+
"split_dataset_ratio": 0.0,
|
| 262 |
+
"dataset_num_proc": 1,
|
| 263 |
+
"load_from_cache_file": false,
|
| 264 |
+
"dataset_shuffle": true,
|
| 265 |
+
"val_dataset_shuffle": false,
|
| 266 |
+
"streaming": false,
|
| 267 |
+
"interleave_prob": null,
|
| 268 |
+
"stopping_strategy": "first_exhausted",
|
| 269 |
+
"shuffle_buffer_size": 1000,
|
| 270 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 271 |
+
"columns": {},
|
| 272 |
+
"strict": true,
|
| 273 |
+
"model_name": null,
|
| 274 |
+
"model_author": null,
|
| 275 |
+
"custom_dataset_info": [],
|
| 276 |
+
"quant_method": null,
|
| 277 |
+
"quant_bits": null,
|
| 278 |
+
"hqq_axis": null,
|
| 279 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 280 |
+
"bnb_4bit_quant_type": "nf4",
|
| 281 |
+
"bnb_4bit_use_double_quant": true,
|
| 282 |
+
"bnb_4bit_quant_storage": null,
|
| 283 |
+
"max_new_tokens": 64,
|
| 284 |
+
"temperature": 0.0,
|
| 285 |
+
"top_k": null,
|
| 286 |
+
"top_p": null,
|
| 287 |
+
"repetition_penalty": null,
|
| 288 |
+
"num_beams": 1,
|
| 289 |
+
"stream": false,
|
| 290 |
+
"stop_words": [],
|
| 291 |
+
"logprobs": false,
|
| 292 |
+
"top_logprobs": null,
|
| 293 |
+
"structured_outputs_regex": null,
|
| 294 |
+
"train_type": null,
|
| 295 |
+
"adapters": [],
|
| 296 |
+
"external_plugins": [
|
| 297 |
+
"/cephfs/zhengwc/nuReasoning/logs/reasoning_modes_16gpu/20261103-1420/m25/swift_planning_modes.py",
|
| 298 |
+
"/cephfs/zhengwc/nuReasoning/logs/reasoning_modes_16gpu/20261103-1420/m25/lora_2955_callbacks.py"
|
| 299 |
+
],
|
| 300 |
+
"custom_register_path": [],
|
| 301 |
+
"model_kwargs": {},
|
| 302 |
+
"load_args": false,
|
| 303 |
+
"load_data_args": false,
|
| 304 |
+
"packing": false,
|
| 305 |
+
"packing_length": null,
|
| 306 |
+
"packing_num_proc": 1,
|
| 307 |
+
"lazy_tokenize": true,
|
| 308 |
+
"use_hf": true,
|
| 309 |
+
"ignore_args_error": false,
|
| 310 |
+
"use_swift_lora": false,
|
| 311 |
+
"freeze_parameters": [],
|
| 312 |
+
"freeze_parameters_regex": null,
|
| 313 |
+
"freeze_parameters_ratio": 0.0,
|
| 314 |
+
"trainable_parameters": [],
|
| 315 |
+
"trainable_parameters_regex": null,
|
| 316 |
+
"freeze_llm": false,
|
| 317 |
+
"freeze_vit": false,
|
| 318 |
+
"freeze_aligner": false,
|
| 319 |
+
"target_modules": [
|
| 320 |
+
"all-linear"
|
| 321 |
+
],
|
| 322 |
+
"target_regex": null,
|
| 323 |
+
"target_parameters": null,
|
| 324 |
+
"modules_to_save": [],
|
| 325 |
+
"lora_rank": 32,
|
| 326 |
+
"lora_alpha": 64,
|
| 327 |
+
"lora_dropout": 0.05,
|
| 328 |
+
"lora_bias": "none",
|
| 329 |
+
"lora_dtype": null,
|
| 330 |
+
"lorap_lr_ratio": null,
|
| 331 |
+
"use_rslora": false,
|
| 332 |
+
"use_dora": false,
|
| 333 |
+
"lora_ga_batch_size": 2,
|
| 334 |
+
"lora_ga_iters": 2,
|
| 335 |
+
"lora_ga_max_length": 1024,
|
| 336 |
+
"lora_ga_direction": "ArB2r",
|
| 337 |
+
"lora_ga_scale": "stable",
|
| 338 |
+
"lora_ga_stable_gamma": 16,
|
| 339 |
+
"init_weights": true,
|
| 340 |
+
"fourier_n_frequency": 2000,
|
| 341 |
+
"fourier_scaling": 300.0,
|
| 342 |
+
"boft_block_size": 4,
|
| 343 |
+
"boft_block_num": 0,
|
| 344 |
+
"boft_n_butterfly_factor": 1,
|
| 345 |
+
"boft_dropout": 0.0,
|
| 346 |
+
"vera_rank": 256,
|
| 347 |
+
"vera_projection_prng_key": 0,
|
| 348 |
+
"vera_dropout": 0.0,
|
| 349 |
+
"vera_d_initial": 0.1,
|
| 350 |
+
"adapter_act": "gelu",
|
| 351 |
+
"adapter_length": 128,
|
| 352 |
+
"adalora_target_r": 8,
|
| 353 |
+
"adalora_init_r": 12,
|
| 354 |
+
"adalora_tinit": 0,
|
| 355 |
+
"adalora_tfinal": 0,
|
| 356 |
+
"adalora_deltaT": 1,
|
| 357 |
+
"adalora_beta1": 0.85,
|
| 358 |
+
"adalora_beta2": 0.85,
|
| 359 |
+
"adalora_orth_reg_weight": 0.5,
|
| 360 |
+
"llamapro_num_new_blocks": 4,
|
| 361 |
+
"llamapro_num_groups": null,
|
| 362 |
+
"reft_layer_key": null,
|
| 363 |
+
"reft_layers": null,
|
| 364 |
+
"reft_rank": 4,
|
| 365 |
+
"reft_intervention_type": "LoreftIntervention",
|
| 366 |
+
"reft_args": null,
|
| 367 |
+
"swanlab_token": null,
|
| 368 |
+
"swanlab_project": "ms-swift",
|
| 369 |
+
"swanlab_workspace": null,
|
| 370 |
+
"swanlab_exp_name": null,
|
| 371 |
+
"swanlab_notification_method": null,
|
| 372 |
+
"swanlab_webhook_url": null,
|
| 373 |
+
"swanlab_secret": null,
|
| 374 |
+
"swanlab_sender_email": null,
|
| 375 |
+
"swanlab_receiver_email": null,
|
| 376 |
+
"swanlab_smtp_server": null,
|
| 377 |
+
"swanlab_smtp_port": null,
|
| 378 |
+
"swanlab_email_language": "zh",
|
| 379 |
+
"swanlab_mode": "cloud",
|
| 380 |
+
"add_version": false,
|
| 381 |
+
"create_checkpoint_symlink": false,
|
| 382 |
+
"zero_hpz_partition_size": null,
|
| 383 |
+
"deepspeed_autotp_size": null,
|
| 384 |
+
"swift_version": "4.0.0.dev0",
|
| 385 |
+
"ckpt_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 386 |
+
"rank": 0,
|
| 387 |
+
"global_world_size": 16,
|
| 388 |
+
"local_world_size": 8,
|
| 389 |
+
"model_suffix": "checkpoint-1500",
|
| 390 |
+
"model_info": "ModelInfo(model_type='qwen3_vl', model_dir='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500', torch_dtype=torch.bfloat16, max_model_len=262144, quant_method=None, quant_bits=None, rope_scaling={'mrope_interleaved': True, 'mrope_section': [24, 20, 20], 'rope_type': 'default'}, is_moe_model=False, is_multimodal=True, config=None, task_type='causal_lm', num_labels=None)",
|
| 391 |
+
"model_meta": "ModelMeta(model_type='qwen3_vl', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-VL-2B-Instruct', hf_model_id='Qwen/Qwen3-VL-2B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Thinking', hf_model_id='Qwen/Qwen3-VL-2B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-2B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-2B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Instruct', hf_model_id='Qwen/Qwen3-VL-4B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Thinking', hf_model_id='Qwen/Qwen3-VL-4B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-4B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-4B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Instruct', hf_model_id='Qwen/Qwen3-VL-8B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Thinking', hf_model_id='Qwen/Qwen3-VL-8B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-8B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-8B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Instruct', hf_model_id='Qwen/Qwen3-VL-32B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Thinking', hf_model_id='Qwen/Qwen3-VL-32B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-32B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-32B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None)], template='qwen3_vl', ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.models.qwen.Qwen3VLLoader'>, template=None, model_arch=MultiModelKeys(arch_name='qwen3_vl', embedding=None, module_list=None, lm_head=None, q_proj=None, k_proj=None, v_proj=None, o_proj=None, attention=None, mlp=None, down_proj=None, qkv_proj=None, qk_proj=None, qa_proj=None, qb_proj=None, kv_proj=None, kva_proj=None, kvb_proj=None, language_model=['model.language_model', 'lm_head'], aligner=['model.visual.merger', 'model.visual.deepstack_merger_list'], vision_tower=['model.visual'], generator=[]), architectures=['Qwen3VLForConditionalGeneration'], additional_saved_files=[], torch_dtype=None, is_multimodal=True, is_reward=False, task_type=None, ignore_patterns=None, requires=['transformers>=4.57', 'qwen_vl_utils>=0.0.14', 'decord'], tags=['vision', 'video'])",
|
| 392 |
+
"model_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 393 |
+
"template_meta": "QwenTemplateMeta(template_type='qwen3_vl_planning_modes', prefix=[], prompt=['<|im_start|>user\\n{{QUERY}}<|im_end|>\\n<|im_start|>assistant\\n'], chat_sep=['<|im_end|>\\n'], suffix=['<|im_end|>\\n'], template_cls=<class 'swift_planning_modes.PlanningModesTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system=None, auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='', history_thinking_prefix='')",
|
| 394 |
+
"_val_dataset_exists": [],
|
| 395 |
+
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 396 |
+
"evaluation_strategy": "no",
|
| 397 |
+
"training_args": "Seq2SeqTrainingArguments(output_dir='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train', overwrite_output_dir=False, do_train=False, do_eval=False, do_predict=False, eval_strategy=<IntervalStrategy.NO: 'no'>, prediction_loss_only=False, per_device_train_batch_size=8, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=1, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=5e-05, weight_decay=0.01, 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.03, warmup_steps=0, log_level='passive', log_level_replica='warning', log_on_each_node=True, logging_dir='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/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=100, save_total_limit=0, 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, 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=None, dataloader_num_workers=4, dataloader_prefetch_factor=2, past_index=-1, run_name='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train', 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}, 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), parallelism_config=None, deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 2, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'allgather_partitions': True, 'allgather_bucket_size': 200000000.0, 'overlap_comm': False, 'reduce_scatter': True, 'reduce_bucket_size': 200000000.0, 'contiguous_gradients': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, label_smoothing_factor=0.0, optim=<OptimizerNames.ADAMW_TORCH_FUSED: 'adamw_torch_fused'>, optim_args=None, adafactor=False, group_by_length=False, length_column_name='length', report_to=['tensorboard'], project='huggingface', trackio_space_id='trackio', 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, hub_revision=None, gradient_checkpointing=True, gradient_checkpointing_kwargs={'use_reentrant': False}, 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=18000000, 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, liger_kernel_config=None, 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, tuner_backend='peft', vit_gradient_checkpointing=True, router_aux_loss_coef=0.0, enable_dft_loss=False, enable_channel_loss=False, check_model=True, acc_strategy='token', train_dataloader_shuffle=True, max_epochs=None, aligner_lr=2e-05, vit_lr=1e-05, use_logits_to_keep=True, ds3_gather_for_generation=True, resume_only_model=False, optimizer='multimodal', loss_type='planning_modes', eval_metric=None, callbacks=['lora_2955_checks'], early_stop_interval=None, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, extra_eval_args=None, tuner_type='lora', use_galore=False, galore_target_modules=None, galore_rank=128, galore_update_proj_gap=50, galore_scale=1.0, galore_proj_type='std', galore_optim_per_parameter=False, galore_with_embedding=False, galore_quantization=False, galore_proj_quant=False, galore_proj_bits=4, galore_proj_group_size=256, galore_cos_threshold=0.4, galore_gamma_proj=2, galore_queue_size=5, lisa_activated_layers=0, lisa_step_interval=20, use_flash_ckpt=False)"
|
| 398 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/config.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3VLForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"dtype": "bfloat16",
|
| 6 |
+
"eos_token_id": 151645,
|
| 7 |
+
"hidden_size": 4096,
|
| 8 |
+
"image_token_id": 151655,
|
| 9 |
+
"model_type": "qwen3_vl",
|
| 10 |
+
"pad_token_id": 151643,
|
| 11 |
+
"text_config": {
|
| 12 |
+
"attention_bias": false,
|
| 13 |
+
"attention_dropout": 0.0,
|
| 14 |
+
"bos_token_id": 151643,
|
| 15 |
+
"dtype": "bfloat16",
|
| 16 |
+
"eos_token_id": 151645,
|
| 17 |
+
"head_dim": 128,
|
| 18 |
+
"hidden_act": "silu",
|
| 19 |
+
"hidden_size": 4096,
|
| 20 |
+
"initializer_range": 0.02,
|
| 21 |
+
"intermediate_size": 12288,
|
| 22 |
+
"max_position_embeddings": 262144,
|
| 23 |
+
"model_type": "qwen3_vl_text",
|
| 24 |
+
"num_attention_heads": 32,
|
| 25 |
+
"num_hidden_layers": 36,
|
| 26 |
+
"num_key_value_heads": 8,
|
| 27 |
+
"pad_token_id": 151643,
|
| 28 |
+
"rms_norm_eps": 1e-06,
|
| 29 |
+
"rope_scaling": {
|
| 30 |
+
"mrope_interleaved": true,
|
| 31 |
+
"mrope_section": [
|
| 32 |
+
24,
|
| 33 |
+
20,
|
| 34 |
+
20
|
| 35 |
+
],
|
| 36 |
+
"rope_type": "default"
|
| 37 |
+
},
|
| 38 |
+
"rope_theta": 5000000,
|
| 39 |
+
"use_cache": false,
|
| 40 |
+
"vocab_size": 151936
|
| 41 |
+
},
|
| 42 |
+
"tie_word_embeddings": false,
|
| 43 |
+
"transformers_version": "4.57.6",
|
| 44 |
+
"video_token_id": 151656,
|
| 45 |
+
"vision_config": {
|
| 46 |
+
"deepstack_visual_indexes": [
|
| 47 |
+
8,
|
| 48 |
+
16,
|
| 49 |
+
24
|
| 50 |
+
],
|
| 51 |
+
"depth": 27,
|
| 52 |
+
"dtype": "bfloat16",
|
| 53 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 54 |
+
"hidden_size": 1152,
|
| 55 |
+
"in_channels": 3,
|
| 56 |
+
"initializer_range": 0.02,
|
| 57 |
+
"intermediate_size": 4304,
|
| 58 |
+
"model_type": "qwen3_vl",
|
| 59 |
+
"num_heads": 16,
|
| 60 |
+
"num_position_embeddings": 2304,
|
| 61 |
+
"out_hidden_size": 4096,
|
| 62 |
+
"pad_token_id": 151643,
|
| 63 |
+
"patch_size": 16,
|
| 64 |
+
"spatial_merge_size": 2,
|
| 65 |
+
"temporal_patch_size": 2
|
| 66 |
+
},
|
| 67 |
+
"vision_end_token_id": 151653,
|
| 68 |
+
"vision_start_token_id": 151652
|
| 69 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
151645,
|
| 6 |
+
151643
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 151643,
|
| 9 |
+
"temperature": 0.7,
|
| 10 |
+
"top_k": 20,
|
| 11 |
+
"top_p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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_parameters": 8767123696,
|
| 4 |
+
"total_size": 17534247392
|
| 5 |
+
},
|
| 6 |
+
"weight_map": {
|
| 7 |
+
"lm_head.weight": "model-00005-of-00005.safetensors",
|
| 8 |
+
"model.language_model.embed_tokens.weight": "model-00001-of-00005.safetensors",
|
| 9 |
+
"model.language_model.layers.0.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 10 |
+
"model.language_model.layers.0.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 11 |
+
"model.language_model.layers.0.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 12 |
+
"model.language_model.layers.0.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 13 |
+
"model.language_model.layers.0.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 14 |
+
"model.language_model.layers.0.self_attn.k_norm.weight": "model-00001-of-00005.safetensors",
|
| 15 |
+
"model.language_model.layers.0.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 16 |
+
"model.language_model.layers.0.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 17 |
+
"model.language_model.layers.0.self_attn.q_norm.weight": "model-00001-of-00005.safetensors",
|
| 18 |
+
"model.language_model.layers.0.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 19 |
+
"model.language_model.layers.0.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 20 |
+
"model.language_model.layers.1.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 21 |
+
"model.language_model.layers.1.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 22 |
+
"model.language_model.layers.1.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 23 |
+
"model.language_model.layers.1.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 24 |
+
"model.language_model.layers.1.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 25 |
+
"model.language_model.layers.1.self_attn.k_norm.weight": "model-00001-of-00005.safetensors",
|
| 26 |
+
"model.language_model.layers.1.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 27 |
+
"model.language_model.layers.1.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 28 |
+
"model.language_model.layers.1.self_attn.q_norm.weight": "model-00001-of-00005.safetensors",
|
| 29 |
+
"model.language_model.layers.1.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 30 |
+
"model.language_model.layers.1.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 31 |
+
"model.language_model.layers.10.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 32 |
+
"model.language_model.layers.10.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 33 |
+
"model.language_model.layers.10.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 34 |
+
"model.language_model.layers.10.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 35 |
+
"model.language_model.layers.10.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 36 |
+
"model.language_model.layers.10.self_attn.k_norm.weight": "model-00002-of-00005.safetensors",
|
| 37 |
+
"model.language_model.layers.10.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 38 |
+
"model.language_model.layers.10.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 39 |
+
"model.language_model.layers.10.self_attn.q_norm.weight": "model-00002-of-00005.safetensors",
|
| 40 |
+
"model.language_model.layers.10.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 41 |
+
"model.language_model.layers.10.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 42 |
+
"model.language_model.layers.11.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 43 |
+
"model.language_model.layers.11.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 44 |
+
"model.language_model.layers.11.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 45 |
+
"model.language_model.layers.11.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 46 |
+
"model.language_model.layers.11.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 47 |
+
"model.language_model.layers.11.self_attn.k_norm.weight": "model-00002-of-00005.safetensors",
|
| 48 |
+
"model.language_model.layers.11.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 49 |
+
"model.language_model.layers.11.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 50 |
+
"model.language_model.layers.11.self_attn.q_norm.weight": "model-00002-of-00005.safetensors",
|
| 51 |
+
"model.language_model.layers.11.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 52 |
+
"model.language_model.layers.11.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 53 |
+
"model.language_model.layers.12.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 54 |
+
"model.language_model.layers.12.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 55 |
+
"model.language_model.layers.12.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 56 |
+
"model.language_model.layers.12.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 57 |
+
"model.language_model.layers.12.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 58 |
+
"model.language_model.layers.12.self_attn.k_norm.weight": "model-00002-of-00005.safetensors",
|
| 59 |
+
"model.language_model.layers.12.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 60 |
+
"model.language_model.layers.12.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 61 |
+
"model.language_model.layers.12.self_attn.q_norm.weight": "model-00002-of-00005.safetensors",
|
| 62 |
+
"model.language_model.layers.12.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 63 |
+
"model.language_model.layers.12.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 64 |
+
"model.language_model.layers.13.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 65 |
+
"model.language_model.layers.13.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 66 |
+
"model.language_model.layers.13.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 67 |
+
"model.language_model.layers.13.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 68 |
+
"model.language_model.layers.13.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 69 |
+
"model.language_model.layers.13.self_attn.k_norm.weight": "model-00002-of-00005.safetensors",
|
| 70 |
+
"model.language_model.layers.13.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 71 |
+
"model.language_model.layers.13.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 72 |
+
"model.language_model.layers.13.self_attn.q_norm.weight": "model-00002-of-00005.safetensors",
|
| 73 |
+
"model.language_model.layers.13.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 74 |
+
"model.language_model.layers.13.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 75 |
+
"model.language_model.layers.14.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 76 |
+
"model.language_model.layers.14.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 77 |
+
"model.language_model.layers.14.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 78 |
+
"model.language_model.layers.14.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 79 |
+
"model.language_model.layers.14.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 80 |
+
"model.language_model.layers.14.self_attn.k_norm.weight": "model-00002-of-00005.safetensors",
|
| 81 |
+
"model.language_model.layers.14.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 82 |
+
"model.language_model.layers.14.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 83 |
+
"model.language_model.layers.14.self_attn.q_norm.weight": "model-00002-of-00005.safetensors",
|
| 84 |
+
"model.language_model.layers.14.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 85 |
+
"model.language_model.layers.14.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 86 |
+
"model.language_model.layers.15.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 87 |
+
"model.language_model.layers.15.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 88 |
+
"model.language_model.layers.15.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 89 |
+
"model.language_model.layers.15.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 90 |
+
"model.language_model.layers.15.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 91 |
+
"model.language_model.layers.15.self_attn.k_norm.weight": "model-00003-of-00005.safetensors",
|
| 92 |
+
"model.language_model.layers.15.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 93 |
+
"model.language_model.layers.15.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 94 |
+
"model.language_model.layers.15.self_attn.q_norm.weight": "model-00003-of-00005.safetensors",
|
| 95 |
+
"model.language_model.layers.15.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 96 |
+
"model.language_model.layers.15.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 97 |
+
"model.language_model.layers.16.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 98 |
+
"model.language_model.layers.16.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 99 |
+
"model.language_model.layers.16.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 100 |
+
"model.language_model.layers.16.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 101 |
+
"model.language_model.layers.16.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 102 |
+
"model.language_model.layers.16.self_attn.k_norm.weight": "model-00003-of-00005.safetensors",
|
| 103 |
+
"model.language_model.layers.16.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 104 |
+
"model.language_model.layers.16.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 105 |
+
"model.language_model.layers.16.self_attn.q_norm.weight": "model-00003-of-00005.safetensors",
|
| 106 |
+
"model.language_model.layers.16.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 107 |
+
"model.language_model.layers.16.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 108 |
+
"model.language_model.layers.17.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 109 |
+
"model.language_model.layers.17.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 110 |
+
"model.language_model.layers.17.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 111 |
+
"model.language_model.layers.17.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 112 |
+
"model.language_model.layers.17.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 113 |
+
"model.language_model.layers.17.self_attn.k_norm.weight": "model-00003-of-00005.safetensors",
|
| 114 |
+
"model.language_model.layers.17.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 115 |
+
"model.language_model.layers.17.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 116 |
+
"model.language_model.layers.17.self_attn.q_norm.weight": "model-00003-of-00005.safetensors",
|
| 117 |
+
"model.language_model.layers.17.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 118 |
+
"model.language_model.layers.17.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 119 |
+
"model.language_model.layers.18.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 120 |
+
"model.language_model.layers.18.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 121 |
+
"model.language_model.layers.18.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 122 |
+
"model.language_model.layers.18.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 123 |
+
"model.language_model.layers.18.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 124 |
+
"model.language_model.layers.18.self_attn.k_norm.weight": "model-00003-of-00005.safetensors",
|
| 125 |
+
"model.language_model.layers.18.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 126 |
+
"model.language_model.layers.18.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 127 |
+
"model.language_model.layers.18.self_attn.q_norm.weight": "model-00003-of-00005.safetensors",
|
| 128 |
+
"model.language_model.layers.18.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 129 |
+
"model.language_model.layers.18.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 130 |
+
"model.language_model.layers.19.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 131 |
+
"model.language_model.layers.19.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 132 |
+
"model.language_model.layers.19.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 133 |
+
"model.language_model.layers.19.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 134 |
+
"model.language_model.layers.19.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 135 |
+
"model.language_model.layers.19.self_attn.k_norm.weight": "model-00003-of-00005.safetensors",
|
| 136 |
+
"model.language_model.layers.19.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 137 |
+
"model.language_model.layers.19.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 138 |
+
"model.language_model.layers.19.self_attn.q_norm.weight": "model-00003-of-00005.safetensors",
|
| 139 |
+
"model.language_model.layers.19.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 140 |
+
"model.language_model.layers.19.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 141 |
+
"model.language_model.layers.2.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 142 |
+
"model.language_model.layers.2.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 143 |
+
"model.language_model.layers.2.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 144 |
+
"model.language_model.layers.2.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 145 |
+
"model.language_model.layers.2.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 146 |
+
"model.language_model.layers.2.self_attn.k_norm.weight": "model-00001-of-00005.safetensors",
|
| 147 |
+
"model.language_model.layers.2.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 148 |
+
"model.language_model.layers.2.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 149 |
+
"model.language_model.layers.2.self_attn.q_norm.weight": "model-00001-of-00005.safetensors",
|
| 150 |
+
"model.language_model.layers.2.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 151 |
+
"model.language_model.layers.2.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 152 |
+
"model.language_model.layers.20.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 153 |
+
"model.language_model.layers.20.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 154 |
+
"model.language_model.layers.20.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 155 |
+
"model.language_model.layers.20.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 156 |
+
"model.language_model.layers.20.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 157 |
+
"model.language_model.layers.20.self_attn.k_norm.weight": "model-00003-of-00005.safetensors",
|
| 158 |
+
"model.language_model.layers.20.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 159 |
+
"model.language_model.layers.20.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 160 |
+
"model.language_model.layers.20.self_attn.q_norm.weight": "model-00003-of-00005.safetensors",
|
| 161 |
+
"model.language_model.layers.20.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 162 |
+
"model.language_model.layers.20.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 163 |
+
"model.language_model.layers.21.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 164 |
+
"model.language_model.layers.21.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 165 |
+
"model.language_model.layers.21.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 166 |
+
"model.language_model.layers.21.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 167 |
+
"model.language_model.layers.21.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 168 |
+
"model.language_model.layers.21.self_attn.k_norm.weight": "model-00003-of-00005.safetensors",
|
| 169 |
+
"model.language_model.layers.21.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 170 |
+
"model.language_model.layers.21.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 171 |
+
"model.language_model.layers.21.self_attn.q_norm.weight": "model-00003-of-00005.safetensors",
|
| 172 |
+
"model.language_model.layers.21.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 173 |
+
"model.language_model.layers.21.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 174 |
+
"model.language_model.layers.22.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 175 |
+
"model.language_model.layers.22.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 176 |
+
"model.language_model.layers.22.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 177 |
+
"model.language_model.layers.22.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 178 |
+
"model.language_model.layers.22.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 179 |
+
"model.language_model.layers.22.self_attn.k_norm.weight": "model-00003-of-00005.safetensors",
|
| 180 |
+
"model.language_model.layers.22.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 181 |
+
"model.language_model.layers.22.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 182 |
+
"model.language_model.layers.22.self_attn.q_norm.weight": "model-00003-of-00005.safetensors",
|
| 183 |
+
"model.language_model.layers.22.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 184 |
+
"model.language_model.layers.22.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 185 |
+
"model.language_model.layers.23.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 186 |
+
"model.language_model.layers.23.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 187 |
+
"model.language_model.layers.23.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 188 |
+
"model.language_model.layers.23.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 189 |
+
"model.language_model.layers.23.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 190 |
+
"model.language_model.layers.23.self_attn.k_norm.weight": "model-00003-of-00005.safetensors",
|
| 191 |
+
"model.language_model.layers.23.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 192 |
+
"model.language_model.layers.23.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 193 |
+
"model.language_model.layers.23.self_attn.q_norm.weight": "model-00003-of-00005.safetensors",
|
| 194 |
+
"model.language_model.layers.23.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 195 |
+
"model.language_model.layers.23.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 196 |
+
"model.language_model.layers.24.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 197 |
+
"model.language_model.layers.24.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 198 |
+
"model.language_model.layers.24.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 199 |
+
"model.language_model.layers.24.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 200 |
+
"model.language_model.layers.24.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 201 |
+
"model.language_model.layers.24.self_attn.k_norm.weight": "model-00003-of-00005.safetensors",
|
| 202 |
+
"model.language_model.layers.24.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 203 |
+
"model.language_model.layers.24.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 204 |
+
"model.language_model.layers.24.self_attn.q_norm.weight": "model-00003-of-00005.safetensors",
|
| 205 |
+
"model.language_model.layers.24.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 206 |
+
"model.language_model.layers.24.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 207 |
+
"model.language_model.layers.25.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 208 |
+
"model.language_model.layers.25.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 209 |
+
"model.language_model.layers.25.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 210 |
+
"model.language_model.layers.25.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 211 |
+
"model.language_model.layers.25.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 212 |
+
"model.language_model.layers.25.self_attn.k_norm.weight": "model-00004-of-00005.safetensors",
|
| 213 |
+
"model.language_model.layers.25.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 214 |
+
"model.language_model.layers.25.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 215 |
+
"model.language_model.layers.25.self_attn.q_norm.weight": "model-00004-of-00005.safetensors",
|
| 216 |
+
"model.language_model.layers.25.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 217 |
+
"model.language_model.layers.25.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 218 |
+
"model.language_model.layers.26.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 219 |
+
"model.language_model.layers.26.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 220 |
+
"model.language_model.layers.26.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 221 |
+
"model.language_model.layers.26.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 222 |
+
"model.language_model.layers.26.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 223 |
+
"model.language_model.layers.26.self_attn.k_norm.weight": "model-00004-of-00005.safetensors",
|
| 224 |
+
"model.language_model.layers.26.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 225 |
+
"model.language_model.layers.26.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 226 |
+
"model.language_model.layers.26.self_attn.q_norm.weight": "model-00004-of-00005.safetensors",
|
| 227 |
+
"model.language_model.layers.26.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 228 |
+
"model.language_model.layers.26.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 229 |
+
"model.language_model.layers.27.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 230 |
+
"model.language_model.layers.27.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 231 |
+
"model.language_model.layers.27.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 232 |
+
"model.language_model.layers.27.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 233 |
+
"model.language_model.layers.27.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 234 |
+
"model.language_model.layers.27.self_attn.k_norm.weight": "model-00004-of-00005.safetensors",
|
| 235 |
+
"model.language_model.layers.27.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 236 |
+
"model.language_model.layers.27.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 237 |
+
"model.language_model.layers.27.self_attn.q_norm.weight": "model-00004-of-00005.safetensors",
|
| 238 |
+
"model.language_model.layers.27.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 239 |
+
"model.language_model.layers.27.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 240 |
+
"model.language_model.layers.28.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 241 |
+
"model.language_model.layers.28.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 242 |
+
"model.language_model.layers.28.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 243 |
+
"model.language_model.layers.28.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 244 |
+
"model.language_model.layers.28.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 245 |
+
"model.language_model.layers.28.self_attn.k_norm.weight": "model-00004-of-00005.safetensors",
|
| 246 |
+
"model.language_model.layers.28.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 247 |
+
"model.language_model.layers.28.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 248 |
+
"model.language_model.layers.28.self_attn.q_norm.weight": "model-00004-of-00005.safetensors",
|
| 249 |
+
"model.language_model.layers.28.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 250 |
+
"model.language_model.layers.28.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 251 |
+
"model.language_model.layers.29.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 252 |
+
"model.language_model.layers.29.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 253 |
+
"model.language_model.layers.29.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 254 |
+
"model.language_model.layers.29.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 255 |
+
"model.language_model.layers.29.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 256 |
+
"model.language_model.layers.29.self_attn.k_norm.weight": "model-00004-of-00005.safetensors",
|
| 257 |
+
"model.language_model.layers.29.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 258 |
+
"model.language_model.layers.29.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 259 |
+
"model.language_model.layers.29.self_attn.q_norm.weight": "model-00004-of-00005.safetensors",
|
| 260 |
+
"model.language_model.layers.29.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 261 |
+
"model.language_model.layers.29.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 262 |
+
"model.language_model.layers.3.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 263 |
+
"model.language_model.layers.3.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 264 |
+
"model.language_model.layers.3.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 265 |
+
"model.language_model.layers.3.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 266 |
+
"model.language_model.layers.3.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 267 |
+
"model.language_model.layers.3.self_attn.k_norm.weight": "model-00001-of-00005.safetensors",
|
| 268 |
+
"model.language_model.layers.3.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 269 |
+
"model.language_model.layers.3.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 270 |
+
"model.language_model.layers.3.self_attn.q_norm.weight": "model-00001-of-00005.safetensors",
|
| 271 |
+
"model.language_model.layers.3.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 272 |
+
"model.language_model.layers.3.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 273 |
+
"model.language_model.layers.30.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 274 |
+
"model.language_model.layers.30.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 275 |
+
"model.language_model.layers.30.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 276 |
+
"model.language_model.layers.30.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 277 |
+
"model.language_model.layers.30.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 278 |
+
"model.language_model.layers.30.self_attn.k_norm.weight": "model-00004-of-00005.safetensors",
|
| 279 |
+
"model.language_model.layers.30.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 280 |
+
"model.language_model.layers.30.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 281 |
+
"model.language_model.layers.30.self_attn.q_norm.weight": "model-00004-of-00005.safetensors",
|
| 282 |
+
"model.language_model.layers.30.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 283 |
+
"model.language_model.layers.30.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 284 |
+
"model.language_model.layers.31.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 285 |
+
"model.language_model.layers.31.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 286 |
+
"model.language_model.layers.31.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 287 |
+
"model.language_model.layers.31.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 288 |
+
"model.language_model.layers.31.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 289 |
+
"model.language_model.layers.31.self_attn.k_norm.weight": "model-00004-of-00005.safetensors",
|
| 290 |
+
"model.language_model.layers.31.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 291 |
+
"model.language_model.layers.31.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 292 |
+
"model.language_model.layers.31.self_attn.q_norm.weight": "model-00004-of-00005.safetensors",
|
| 293 |
+
"model.language_model.layers.31.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 294 |
+
"model.language_model.layers.31.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 295 |
+
"model.language_model.layers.32.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 296 |
+
"model.language_model.layers.32.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 297 |
+
"model.language_model.layers.32.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 298 |
+
"model.language_model.layers.32.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 299 |
+
"model.language_model.layers.32.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 300 |
+
"model.language_model.layers.32.self_attn.k_norm.weight": "model-00004-of-00005.safetensors",
|
| 301 |
+
"model.language_model.layers.32.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 302 |
+
"model.language_model.layers.32.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 303 |
+
"model.language_model.layers.32.self_attn.q_norm.weight": "model-00004-of-00005.safetensors",
|
| 304 |
+
"model.language_model.layers.32.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 305 |
+
"model.language_model.layers.32.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 306 |
+
"model.language_model.layers.33.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 307 |
+
"model.language_model.layers.33.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 308 |
+
"model.language_model.layers.33.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 309 |
+
"model.language_model.layers.33.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 310 |
+
"model.language_model.layers.33.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 311 |
+
"model.language_model.layers.33.self_attn.k_norm.weight": "model-00004-of-00005.safetensors",
|
| 312 |
+
"model.language_model.layers.33.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 313 |
+
"model.language_model.layers.33.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 314 |
+
"model.language_model.layers.33.self_attn.q_norm.weight": "model-00004-of-00005.safetensors",
|
| 315 |
+
"model.language_model.layers.33.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 316 |
+
"model.language_model.layers.33.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 317 |
+
"model.language_model.layers.34.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 318 |
+
"model.language_model.layers.34.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 319 |
+
"model.language_model.layers.34.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 320 |
+
"model.language_model.layers.34.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 321 |
+
"model.language_model.layers.34.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 322 |
+
"model.language_model.layers.34.self_attn.k_norm.weight": "model-00004-of-00005.safetensors",
|
| 323 |
+
"model.language_model.layers.34.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 324 |
+
"model.language_model.layers.34.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 325 |
+
"model.language_model.layers.34.self_attn.q_norm.weight": "model-00004-of-00005.safetensors",
|
| 326 |
+
"model.language_model.layers.34.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 327 |
+
"model.language_model.layers.34.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 328 |
+
"model.language_model.layers.35.input_layernorm.weight": "model-00005-of-00005.safetensors",
|
| 329 |
+
"model.language_model.layers.35.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
| 330 |
+
"model.language_model.layers.35.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
| 331 |
+
"model.language_model.layers.35.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
| 332 |
+
"model.language_model.layers.35.post_attention_layernorm.weight": "model-00005-of-00005.safetensors",
|
| 333 |
+
"model.language_model.layers.35.self_attn.k_norm.weight": "model-00005-of-00005.safetensors",
|
| 334 |
+
"model.language_model.layers.35.self_attn.k_proj.weight": "model-00005-of-00005.safetensors",
|
| 335 |
+
"model.language_model.layers.35.self_attn.o_proj.weight": "model-00005-of-00005.safetensors",
|
| 336 |
+
"model.language_model.layers.35.self_attn.q_norm.weight": "model-00005-of-00005.safetensors",
|
| 337 |
+
"model.language_model.layers.35.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 338 |
+
"model.language_model.layers.35.self_attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 339 |
+
"model.language_model.layers.4.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 340 |
+
"model.language_model.layers.4.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 341 |
+
"model.language_model.layers.4.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 342 |
+
"model.language_model.layers.4.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 343 |
+
"model.language_model.layers.4.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 344 |
+
"model.language_model.layers.4.self_attn.k_norm.weight": "model-00002-of-00005.safetensors",
|
| 345 |
+
"model.language_model.layers.4.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 346 |
+
"model.language_model.layers.4.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 347 |
+
"model.language_model.layers.4.self_attn.q_norm.weight": "model-00002-of-00005.safetensors",
|
| 348 |
+
"model.language_model.layers.4.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 349 |
+
"model.language_model.layers.4.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 350 |
+
"model.language_model.layers.5.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 351 |
+
"model.language_model.layers.5.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 352 |
+
"model.language_model.layers.5.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 353 |
+
"model.language_model.layers.5.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 354 |
+
"model.language_model.layers.5.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 355 |
+
"model.language_model.layers.5.self_attn.k_norm.weight": "model-00002-of-00005.safetensors",
|
| 356 |
+
"model.language_model.layers.5.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 357 |
+
"model.language_model.layers.5.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 358 |
+
"model.language_model.layers.5.self_attn.q_norm.weight": "model-00002-of-00005.safetensors",
|
| 359 |
+
"model.language_model.layers.5.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 360 |
+
"model.language_model.layers.5.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 361 |
+
"model.language_model.layers.6.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 362 |
+
"model.language_model.layers.6.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 363 |
+
"model.language_model.layers.6.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 364 |
+
"model.language_model.layers.6.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 365 |
+
"model.language_model.layers.6.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 366 |
+
"model.language_model.layers.6.self_attn.k_norm.weight": "model-00002-of-00005.safetensors",
|
| 367 |
+
"model.language_model.layers.6.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 368 |
+
"model.language_model.layers.6.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 369 |
+
"model.language_model.layers.6.self_attn.q_norm.weight": "model-00002-of-00005.safetensors",
|
| 370 |
+
"model.language_model.layers.6.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 371 |
+
"model.language_model.layers.6.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 372 |
+
"model.language_model.layers.7.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 373 |
+
"model.language_model.layers.7.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 374 |
+
"model.language_model.layers.7.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 375 |
+
"model.language_model.layers.7.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 376 |
+
"model.language_model.layers.7.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 377 |
+
"model.language_model.layers.7.self_attn.k_norm.weight": "model-00002-of-00005.safetensors",
|
| 378 |
+
"model.language_model.layers.7.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 379 |
+
"model.language_model.layers.7.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 380 |
+
"model.language_model.layers.7.self_attn.q_norm.weight": "model-00002-of-00005.safetensors",
|
| 381 |
+
"model.language_model.layers.7.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 382 |
+
"model.language_model.layers.7.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 383 |
+
"model.language_model.layers.8.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 384 |
+
"model.language_model.layers.8.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 385 |
+
"model.language_model.layers.8.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 386 |
+
"model.language_model.layers.8.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 387 |
+
"model.language_model.layers.8.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 388 |
+
"model.language_model.layers.8.self_attn.k_norm.weight": "model-00002-of-00005.safetensors",
|
| 389 |
+
"model.language_model.layers.8.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 390 |
+
"model.language_model.layers.8.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 391 |
+
"model.language_model.layers.8.self_attn.q_norm.weight": "model-00002-of-00005.safetensors",
|
| 392 |
+
"model.language_model.layers.8.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 393 |
+
"model.language_model.layers.8.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 394 |
+
"model.language_model.layers.9.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 395 |
+
"model.language_model.layers.9.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 396 |
+
"model.language_model.layers.9.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 397 |
+
"model.language_model.layers.9.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 398 |
+
"model.language_model.layers.9.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 399 |
+
"model.language_model.layers.9.self_attn.k_norm.weight": "model-00002-of-00005.safetensors",
|
| 400 |
+
"model.language_model.layers.9.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 401 |
+
"model.language_model.layers.9.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 402 |
+
"model.language_model.layers.9.self_attn.q_norm.weight": "model-00002-of-00005.safetensors",
|
| 403 |
+
"model.language_model.layers.9.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 404 |
+
"model.language_model.layers.9.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 405 |
+
"model.language_model.norm.weight": "model-00005-of-00005.safetensors",
|
| 406 |
+
"model.visual.blocks.0.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 407 |
+
"model.visual.blocks.0.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 408 |
+
"model.visual.blocks.0.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 409 |
+
"model.visual.blocks.0.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 410 |
+
"model.visual.blocks.0.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 411 |
+
"model.visual.blocks.0.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 412 |
+
"model.visual.blocks.0.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 413 |
+
"model.visual.blocks.0.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 414 |
+
"model.visual.blocks.0.norm1.bias": "model-00001-of-00005.safetensors",
|
| 415 |
+
"model.visual.blocks.0.norm1.weight": "model-00001-of-00005.safetensors",
|
| 416 |
+
"model.visual.blocks.0.norm2.bias": "model-00001-of-00005.safetensors",
|
| 417 |
+
"model.visual.blocks.0.norm2.weight": "model-00001-of-00005.safetensors",
|
| 418 |
+
"model.visual.blocks.1.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 419 |
+
"model.visual.blocks.1.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 420 |
+
"model.visual.blocks.1.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 421 |
+
"model.visual.blocks.1.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 422 |
+
"model.visual.blocks.1.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 423 |
+
"model.visual.blocks.1.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 424 |
+
"model.visual.blocks.1.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 425 |
+
"model.visual.blocks.1.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 426 |
+
"model.visual.blocks.1.norm1.bias": "model-00001-of-00005.safetensors",
|
| 427 |
+
"model.visual.blocks.1.norm1.weight": "model-00001-of-00005.safetensors",
|
| 428 |
+
"model.visual.blocks.1.norm2.bias": "model-00001-of-00005.safetensors",
|
| 429 |
+
"model.visual.blocks.1.norm2.weight": "model-00001-of-00005.safetensors",
|
| 430 |
+
"model.visual.blocks.10.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 431 |
+
"model.visual.blocks.10.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 432 |
+
"model.visual.blocks.10.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 433 |
+
"model.visual.blocks.10.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 434 |
+
"model.visual.blocks.10.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 435 |
+
"model.visual.blocks.10.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 436 |
+
"model.visual.blocks.10.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 437 |
+
"model.visual.blocks.10.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 438 |
+
"model.visual.blocks.10.norm1.bias": "model-00001-of-00005.safetensors",
|
| 439 |
+
"model.visual.blocks.10.norm1.weight": "model-00001-of-00005.safetensors",
|
| 440 |
+
"model.visual.blocks.10.norm2.bias": "model-00001-of-00005.safetensors",
|
| 441 |
+
"model.visual.blocks.10.norm2.weight": "model-00001-of-00005.safetensors",
|
| 442 |
+
"model.visual.blocks.11.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 443 |
+
"model.visual.blocks.11.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 444 |
+
"model.visual.blocks.11.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 445 |
+
"model.visual.blocks.11.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 446 |
+
"model.visual.blocks.11.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 447 |
+
"model.visual.blocks.11.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 448 |
+
"model.visual.blocks.11.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 449 |
+
"model.visual.blocks.11.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 450 |
+
"model.visual.blocks.11.norm1.bias": "model-00001-of-00005.safetensors",
|
| 451 |
+
"model.visual.blocks.11.norm1.weight": "model-00001-of-00005.safetensors",
|
| 452 |
+
"model.visual.blocks.11.norm2.bias": "model-00001-of-00005.safetensors",
|
| 453 |
+
"model.visual.blocks.11.norm2.weight": "model-00001-of-00005.safetensors",
|
| 454 |
+
"model.visual.blocks.12.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 455 |
+
"model.visual.blocks.12.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 456 |
+
"model.visual.blocks.12.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 457 |
+
"model.visual.blocks.12.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 458 |
+
"model.visual.blocks.12.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 459 |
+
"model.visual.blocks.12.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 460 |
+
"model.visual.blocks.12.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 461 |
+
"model.visual.blocks.12.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 462 |
+
"model.visual.blocks.12.norm1.bias": "model-00001-of-00005.safetensors",
|
| 463 |
+
"model.visual.blocks.12.norm1.weight": "model-00001-of-00005.safetensors",
|
| 464 |
+
"model.visual.blocks.12.norm2.bias": "model-00001-of-00005.safetensors",
|
| 465 |
+
"model.visual.blocks.12.norm2.weight": "model-00001-of-00005.safetensors",
|
| 466 |
+
"model.visual.blocks.13.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 467 |
+
"model.visual.blocks.13.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 468 |
+
"model.visual.blocks.13.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 469 |
+
"model.visual.blocks.13.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 470 |
+
"model.visual.blocks.13.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 471 |
+
"model.visual.blocks.13.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 472 |
+
"model.visual.blocks.13.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 473 |
+
"model.visual.blocks.13.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 474 |
+
"model.visual.blocks.13.norm1.bias": "model-00001-of-00005.safetensors",
|
| 475 |
+
"model.visual.blocks.13.norm1.weight": "model-00001-of-00005.safetensors",
|
| 476 |
+
"model.visual.blocks.13.norm2.bias": "model-00001-of-00005.safetensors",
|
| 477 |
+
"model.visual.blocks.13.norm2.weight": "model-00001-of-00005.safetensors",
|
| 478 |
+
"model.visual.blocks.14.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 479 |
+
"model.visual.blocks.14.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 480 |
+
"model.visual.blocks.14.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 481 |
+
"model.visual.blocks.14.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 482 |
+
"model.visual.blocks.14.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 483 |
+
"model.visual.blocks.14.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 484 |
+
"model.visual.blocks.14.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 485 |
+
"model.visual.blocks.14.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 486 |
+
"model.visual.blocks.14.norm1.bias": "model-00001-of-00005.safetensors",
|
| 487 |
+
"model.visual.blocks.14.norm1.weight": "model-00001-of-00005.safetensors",
|
| 488 |
+
"model.visual.blocks.14.norm2.bias": "model-00001-of-00005.safetensors",
|
| 489 |
+
"model.visual.blocks.14.norm2.weight": "model-00001-of-00005.safetensors",
|
| 490 |
+
"model.visual.blocks.15.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 491 |
+
"model.visual.blocks.15.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 492 |
+
"model.visual.blocks.15.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 493 |
+
"model.visual.blocks.15.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 494 |
+
"model.visual.blocks.15.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 495 |
+
"model.visual.blocks.15.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 496 |
+
"model.visual.blocks.15.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 497 |
+
"model.visual.blocks.15.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 498 |
+
"model.visual.blocks.15.norm1.bias": "model-00001-of-00005.safetensors",
|
| 499 |
+
"model.visual.blocks.15.norm1.weight": "model-00001-of-00005.safetensors",
|
| 500 |
+
"model.visual.blocks.15.norm2.bias": "model-00001-of-00005.safetensors",
|
| 501 |
+
"model.visual.blocks.15.norm2.weight": "model-00001-of-00005.safetensors",
|
| 502 |
+
"model.visual.blocks.16.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 503 |
+
"model.visual.blocks.16.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 504 |
+
"model.visual.blocks.16.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 505 |
+
"model.visual.blocks.16.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 506 |
+
"model.visual.blocks.16.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 507 |
+
"model.visual.blocks.16.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 508 |
+
"model.visual.blocks.16.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 509 |
+
"model.visual.blocks.16.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 510 |
+
"model.visual.blocks.16.norm1.bias": "model-00001-of-00005.safetensors",
|
| 511 |
+
"model.visual.blocks.16.norm1.weight": "model-00001-of-00005.safetensors",
|
| 512 |
+
"model.visual.blocks.16.norm2.bias": "model-00001-of-00005.safetensors",
|
| 513 |
+
"model.visual.blocks.16.norm2.weight": "model-00001-of-00005.safetensors",
|
| 514 |
+
"model.visual.blocks.17.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 515 |
+
"model.visual.blocks.17.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 516 |
+
"model.visual.blocks.17.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 517 |
+
"model.visual.blocks.17.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 518 |
+
"model.visual.blocks.17.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 519 |
+
"model.visual.blocks.17.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 520 |
+
"model.visual.blocks.17.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 521 |
+
"model.visual.blocks.17.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 522 |
+
"model.visual.blocks.17.norm1.bias": "model-00001-of-00005.safetensors",
|
| 523 |
+
"model.visual.blocks.17.norm1.weight": "model-00001-of-00005.safetensors",
|
| 524 |
+
"model.visual.blocks.17.norm2.bias": "model-00001-of-00005.safetensors",
|
| 525 |
+
"model.visual.blocks.17.norm2.weight": "model-00001-of-00005.safetensors",
|
| 526 |
+
"model.visual.blocks.18.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 527 |
+
"model.visual.blocks.18.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 528 |
+
"model.visual.blocks.18.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 529 |
+
"model.visual.blocks.18.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 530 |
+
"model.visual.blocks.18.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 531 |
+
"model.visual.blocks.18.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 532 |
+
"model.visual.blocks.18.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 533 |
+
"model.visual.blocks.18.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 534 |
+
"model.visual.blocks.18.norm1.bias": "model-00001-of-00005.safetensors",
|
| 535 |
+
"model.visual.blocks.18.norm1.weight": "model-00001-of-00005.safetensors",
|
| 536 |
+
"model.visual.blocks.18.norm2.bias": "model-00001-of-00005.safetensors",
|
| 537 |
+
"model.visual.blocks.18.norm2.weight": "model-00001-of-00005.safetensors",
|
| 538 |
+
"model.visual.blocks.19.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 539 |
+
"model.visual.blocks.19.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 540 |
+
"model.visual.blocks.19.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 541 |
+
"model.visual.blocks.19.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 542 |
+
"model.visual.blocks.19.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 543 |
+
"model.visual.blocks.19.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 544 |
+
"model.visual.blocks.19.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 545 |
+
"model.visual.blocks.19.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 546 |
+
"model.visual.blocks.19.norm1.bias": "model-00001-of-00005.safetensors",
|
| 547 |
+
"model.visual.blocks.19.norm1.weight": "model-00001-of-00005.safetensors",
|
| 548 |
+
"model.visual.blocks.19.norm2.bias": "model-00001-of-00005.safetensors",
|
| 549 |
+
"model.visual.blocks.19.norm2.weight": "model-00001-of-00005.safetensors",
|
| 550 |
+
"model.visual.blocks.2.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 551 |
+
"model.visual.blocks.2.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 552 |
+
"model.visual.blocks.2.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 553 |
+
"model.visual.blocks.2.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 554 |
+
"model.visual.blocks.2.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 555 |
+
"model.visual.blocks.2.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 556 |
+
"model.visual.blocks.2.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 557 |
+
"model.visual.blocks.2.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 558 |
+
"model.visual.blocks.2.norm1.bias": "model-00001-of-00005.safetensors",
|
| 559 |
+
"model.visual.blocks.2.norm1.weight": "model-00001-of-00005.safetensors",
|
| 560 |
+
"model.visual.blocks.2.norm2.bias": "model-00001-of-00005.safetensors",
|
| 561 |
+
"model.visual.blocks.2.norm2.weight": "model-00001-of-00005.safetensors",
|
| 562 |
+
"model.visual.blocks.20.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 563 |
+
"model.visual.blocks.20.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 564 |
+
"model.visual.blocks.20.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 565 |
+
"model.visual.blocks.20.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 566 |
+
"model.visual.blocks.20.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 567 |
+
"model.visual.blocks.20.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 568 |
+
"model.visual.blocks.20.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 569 |
+
"model.visual.blocks.20.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 570 |
+
"model.visual.blocks.20.norm1.bias": "model-00001-of-00005.safetensors",
|
| 571 |
+
"model.visual.blocks.20.norm1.weight": "model-00001-of-00005.safetensors",
|
| 572 |
+
"model.visual.blocks.20.norm2.bias": "model-00001-of-00005.safetensors",
|
| 573 |
+
"model.visual.blocks.20.norm2.weight": "model-00001-of-00005.safetensors",
|
| 574 |
+
"model.visual.blocks.21.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 575 |
+
"model.visual.blocks.21.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 576 |
+
"model.visual.blocks.21.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 577 |
+
"model.visual.blocks.21.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 578 |
+
"model.visual.blocks.21.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 579 |
+
"model.visual.blocks.21.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 580 |
+
"model.visual.blocks.21.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 581 |
+
"model.visual.blocks.21.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 582 |
+
"model.visual.blocks.21.norm1.bias": "model-00001-of-00005.safetensors",
|
| 583 |
+
"model.visual.blocks.21.norm1.weight": "model-00001-of-00005.safetensors",
|
| 584 |
+
"model.visual.blocks.21.norm2.bias": "model-00001-of-00005.safetensors",
|
| 585 |
+
"model.visual.blocks.21.norm2.weight": "model-00001-of-00005.safetensors",
|
| 586 |
+
"model.visual.blocks.22.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 587 |
+
"model.visual.blocks.22.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 588 |
+
"model.visual.blocks.22.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 589 |
+
"model.visual.blocks.22.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 590 |
+
"model.visual.blocks.22.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 591 |
+
"model.visual.blocks.22.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 592 |
+
"model.visual.blocks.22.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 593 |
+
"model.visual.blocks.22.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 594 |
+
"model.visual.blocks.22.norm1.bias": "model-00001-of-00005.safetensors",
|
| 595 |
+
"model.visual.blocks.22.norm1.weight": "model-00001-of-00005.safetensors",
|
| 596 |
+
"model.visual.blocks.22.norm2.bias": "model-00001-of-00005.safetensors",
|
| 597 |
+
"model.visual.blocks.22.norm2.weight": "model-00001-of-00005.safetensors",
|
| 598 |
+
"model.visual.blocks.23.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 599 |
+
"model.visual.blocks.23.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 600 |
+
"model.visual.blocks.23.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 601 |
+
"model.visual.blocks.23.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 602 |
+
"model.visual.blocks.23.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 603 |
+
"model.visual.blocks.23.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 604 |
+
"model.visual.blocks.23.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 605 |
+
"model.visual.blocks.23.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 606 |
+
"model.visual.blocks.23.norm1.bias": "model-00001-of-00005.safetensors",
|
| 607 |
+
"model.visual.blocks.23.norm1.weight": "model-00001-of-00005.safetensors",
|
| 608 |
+
"model.visual.blocks.23.norm2.bias": "model-00001-of-00005.safetensors",
|
| 609 |
+
"model.visual.blocks.23.norm2.weight": "model-00001-of-00005.safetensors",
|
| 610 |
+
"model.visual.blocks.24.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 611 |
+
"model.visual.blocks.24.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 612 |
+
"model.visual.blocks.24.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 613 |
+
"model.visual.blocks.24.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 614 |
+
"model.visual.blocks.24.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 615 |
+
"model.visual.blocks.24.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 616 |
+
"model.visual.blocks.24.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 617 |
+
"model.visual.blocks.24.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 618 |
+
"model.visual.blocks.24.norm1.bias": "model-00001-of-00005.safetensors",
|
| 619 |
+
"model.visual.blocks.24.norm1.weight": "model-00001-of-00005.safetensors",
|
| 620 |
+
"model.visual.blocks.24.norm2.bias": "model-00001-of-00005.safetensors",
|
| 621 |
+
"model.visual.blocks.24.norm2.weight": "model-00001-of-00005.safetensors",
|
| 622 |
+
"model.visual.blocks.25.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 623 |
+
"model.visual.blocks.25.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 624 |
+
"model.visual.blocks.25.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 625 |
+
"model.visual.blocks.25.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 626 |
+
"model.visual.blocks.25.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 627 |
+
"model.visual.blocks.25.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 628 |
+
"model.visual.blocks.25.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 629 |
+
"model.visual.blocks.25.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 630 |
+
"model.visual.blocks.25.norm1.bias": "model-00001-of-00005.safetensors",
|
| 631 |
+
"model.visual.blocks.25.norm1.weight": "model-00001-of-00005.safetensors",
|
| 632 |
+
"model.visual.blocks.25.norm2.bias": "model-00001-of-00005.safetensors",
|
| 633 |
+
"model.visual.blocks.25.norm2.weight": "model-00001-of-00005.safetensors",
|
| 634 |
+
"model.visual.blocks.26.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 635 |
+
"model.visual.blocks.26.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 636 |
+
"model.visual.blocks.26.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 637 |
+
"model.visual.blocks.26.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 638 |
+
"model.visual.blocks.26.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 639 |
+
"model.visual.blocks.26.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 640 |
+
"model.visual.blocks.26.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 641 |
+
"model.visual.blocks.26.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 642 |
+
"model.visual.blocks.26.norm1.bias": "model-00001-of-00005.safetensors",
|
| 643 |
+
"model.visual.blocks.26.norm1.weight": "model-00001-of-00005.safetensors",
|
| 644 |
+
"model.visual.blocks.26.norm2.bias": "model-00001-of-00005.safetensors",
|
| 645 |
+
"model.visual.blocks.26.norm2.weight": "model-00001-of-00005.safetensors",
|
| 646 |
+
"model.visual.blocks.3.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 647 |
+
"model.visual.blocks.3.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 648 |
+
"model.visual.blocks.3.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 649 |
+
"model.visual.blocks.3.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 650 |
+
"model.visual.blocks.3.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 651 |
+
"model.visual.blocks.3.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 652 |
+
"model.visual.blocks.3.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 653 |
+
"model.visual.blocks.3.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 654 |
+
"model.visual.blocks.3.norm1.bias": "model-00001-of-00005.safetensors",
|
| 655 |
+
"model.visual.blocks.3.norm1.weight": "model-00001-of-00005.safetensors",
|
| 656 |
+
"model.visual.blocks.3.norm2.bias": "model-00001-of-00005.safetensors",
|
| 657 |
+
"model.visual.blocks.3.norm2.weight": "model-00001-of-00005.safetensors",
|
| 658 |
+
"model.visual.blocks.4.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 659 |
+
"model.visual.blocks.4.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 660 |
+
"model.visual.blocks.4.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 661 |
+
"model.visual.blocks.4.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 662 |
+
"model.visual.blocks.4.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 663 |
+
"model.visual.blocks.4.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 664 |
+
"model.visual.blocks.4.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 665 |
+
"model.visual.blocks.4.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 666 |
+
"model.visual.blocks.4.norm1.bias": "model-00001-of-00005.safetensors",
|
| 667 |
+
"model.visual.blocks.4.norm1.weight": "model-00001-of-00005.safetensors",
|
| 668 |
+
"model.visual.blocks.4.norm2.bias": "model-00001-of-00005.safetensors",
|
| 669 |
+
"model.visual.blocks.4.norm2.weight": "model-00001-of-00005.safetensors",
|
| 670 |
+
"model.visual.blocks.5.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 671 |
+
"model.visual.blocks.5.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 672 |
+
"model.visual.blocks.5.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 673 |
+
"model.visual.blocks.5.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 674 |
+
"model.visual.blocks.5.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 675 |
+
"model.visual.blocks.5.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 676 |
+
"model.visual.blocks.5.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 677 |
+
"model.visual.blocks.5.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 678 |
+
"model.visual.blocks.5.norm1.bias": "model-00001-of-00005.safetensors",
|
| 679 |
+
"model.visual.blocks.5.norm1.weight": "model-00001-of-00005.safetensors",
|
| 680 |
+
"model.visual.blocks.5.norm2.bias": "model-00001-of-00005.safetensors",
|
| 681 |
+
"model.visual.blocks.5.norm2.weight": "model-00001-of-00005.safetensors",
|
| 682 |
+
"model.visual.blocks.6.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 683 |
+
"model.visual.blocks.6.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 684 |
+
"model.visual.blocks.6.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 685 |
+
"model.visual.blocks.6.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 686 |
+
"model.visual.blocks.6.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 687 |
+
"model.visual.blocks.6.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 688 |
+
"model.visual.blocks.6.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 689 |
+
"model.visual.blocks.6.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 690 |
+
"model.visual.blocks.6.norm1.bias": "model-00001-of-00005.safetensors",
|
| 691 |
+
"model.visual.blocks.6.norm1.weight": "model-00001-of-00005.safetensors",
|
| 692 |
+
"model.visual.blocks.6.norm2.bias": "model-00001-of-00005.safetensors",
|
| 693 |
+
"model.visual.blocks.6.norm2.weight": "model-00001-of-00005.safetensors",
|
| 694 |
+
"model.visual.blocks.7.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 695 |
+
"model.visual.blocks.7.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 696 |
+
"model.visual.blocks.7.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 697 |
+
"model.visual.blocks.7.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 698 |
+
"model.visual.blocks.7.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 699 |
+
"model.visual.blocks.7.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 700 |
+
"model.visual.blocks.7.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 701 |
+
"model.visual.blocks.7.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 702 |
+
"model.visual.blocks.7.norm1.bias": "model-00001-of-00005.safetensors",
|
| 703 |
+
"model.visual.blocks.7.norm1.weight": "model-00001-of-00005.safetensors",
|
| 704 |
+
"model.visual.blocks.7.norm2.bias": "model-00001-of-00005.safetensors",
|
| 705 |
+
"model.visual.blocks.7.norm2.weight": "model-00001-of-00005.safetensors",
|
| 706 |
+
"model.visual.blocks.8.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 707 |
+
"model.visual.blocks.8.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 708 |
+
"model.visual.blocks.8.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 709 |
+
"model.visual.blocks.8.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 710 |
+
"model.visual.blocks.8.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 711 |
+
"model.visual.blocks.8.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 712 |
+
"model.visual.blocks.8.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 713 |
+
"model.visual.blocks.8.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 714 |
+
"model.visual.blocks.8.norm1.bias": "model-00001-of-00005.safetensors",
|
| 715 |
+
"model.visual.blocks.8.norm1.weight": "model-00001-of-00005.safetensors",
|
| 716 |
+
"model.visual.blocks.8.norm2.bias": "model-00001-of-00005.safetensors",
|
| 717 |
+
"model.visual.blocks.8.norm2.weight": "model-00001-of-00005.safetensors",
|
| 718 |
+
"model.visual.blocks.9.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 719 |
+
"model.visual.blocks.9.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 720 |
+
"model.visual.blocks.9.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 721 |
+
"model.visual.blocks.9.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 722 |
+
"model.visual.blocks.9.mlp.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 723 |
+
"model.visual.blocks.9.mlp.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 724 |
+
"model.visual.blocks.9.mlp.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 725 |
+
"model.visual.blocks.9.mlp.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 726 |
+
"model.visual.blocks.9.norm1.bias": "model-00001-of-00005.safetensors",
|
| 727 |
+
"model.visual.blocks.9.norm1.weight": "model-00001-of-00005.safetensors",
|
| 728 |
+
"model.visual.blocks.9.norm2.bias": "model-00001-of-00005.safetensors",
|
| 729 |
+
"model.visual.blocks.9.norm2.weight": "model-00001-of-00005.safetensors",
|
| 730 |
+
"model.visual.deepstack_merger_list.0.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 731 |
+
"model.visual.deepstack_merger_list.0.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 732 |
+
"model.visual.deepstack_merger_list.0.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 733 |
+
"model.visual.deepstack_merger_list.0.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 734 |
+
"model.visual.deepstack_merger_list.0.norm.bias": "model-00001-of-00005.safetensors",
|
| 735 |
+
"model.visual.deepstack_merger_list.0.norm.weight": "model-00001-of-00005.safetensors",
|
| 736 |
+
"model.visual.deepstack_merger_list.1.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 737 |
+
"model.visual.deepstack_merger_list.1.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 738 |
+
"model.visual.deepstack_merger_list.1.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 739 |
+
"model.visual.deepstack_merger_list.1.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 740 |
+
"model.visual.deepstack_merger_list.1.norm.bias": "model-00001-of-00005.safetensors",
|
| 741 |
+
"model.visual.deepstack_merger_list.1.norm.weight": "model-00001-of-00005.safetensors",
|
| 742 |
+
"model.visual.deepstack_merger_list.2.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 743 |
+
"model.visual.deepstack_merger_list.2.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 744 |
+
"model.visual.deepstack_merger_list.2.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 745 |
+
"model.visual.deepstack_merger_list.2.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 746 |
+
"model.visual.deepstack_merger_list.2.norm.bias": "model-00001-of-00005.safetensors",
|
| 747 |
+
"model.visual.deepstack_merger_list.2.norm.weight": "model-00001-of-00005.safetensors",
|
| 748 |
+
"model.visual.merger.linear_fc1.bias": "model-00001-of-00005.safetensors",
|
| 749 |
+
"model.visual.merger.linear_fc1.weight": "model-00001-of-00005.safetensors",
|
| 750 |
+
"model.visual.merger.linear_fc2.bias": "model-00001-of-00005.safetensors",
|
| 751 |
+
"model.visual.merger.linear_fc2.weight": "model-00001-of-00005.safetensors",
|
| 752 |
+
"model.visual.merger.norm.bias": "model-00001-of-00005.safetensors",
|
| 753 |
+
"model.visual.merger.norm.weight": "model-00001-of-00005.safetensors",
|
| 754 |
+
"model.visual.patch_embed.proj.bias": "model-00001-of-00005.safetensors",
|
| 755 |
+
"model.visual.patch_embed.proj.weight": "model-00001-of-00005.safetensors",
|
| 756 |
+
"model.visual.pos_embed.weight": "model-00001-of-00005.safetensors"
|
| 757 |
+
}
|
| 758 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/preprocessor_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"size": {
|
| 3 |
+
"longest_edge": 16777216,
|
| 4 |
+
"shortest_edge": 65536
|
| 5 |
+
},
|
| 6 |
+
"patch_size": 16,
|
| 7 |
+
"temporal_patch_size": 2,
|
| 8 |
+
"merge_size": 2,
|
| 9 |
+
"image_mean": [
|
| 10 |
+
0.5,
|
| 11 |
+
0.5,
|
| 12 |
+
0.5
|
| 13 |
+
],
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"processor_class": "Qwen3VLProcessor",
|
| 20 |
+
"image_processor_type": "Qwen2VLImageProcessorFast"
|
| 21 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|im_start|>",
|
| 216 |
+
"<|im_end|>",
|
| 217 |
+
"<|object_ref_start|>",
|
| 218 |
+
"<|object_ref_end|>",
|
| 219 |
+
"<|box_start|>",
|
| 220 |
+
"<|box_end|>",
|
| 221 |
+
"<|quad_start|>",
|
| 222 |
+
"<|quad_end|>",
|
| 223 |
+
"<|vision_start|>",
|
| 224 |
+
"<|vision_end|>",
|
| 225 |
+
"<|vision_pad|>",
|
| 226 |
+
"<|image_pad|>",
|
| 227 |
+
"<|video_pad|>"
|
| 228 |
+
],
|
| 229 |
+
"bos_token": null,
|
| 230 |
+
"clean_up_tokenization_spaces": false,
|
| 231 |
+
"eos_token": "<|im_end|>",
|
| 232 |
+
"errors": "replace",
|
| 233 |
+
"extra_special_tokens": {},
|
| 234 |
+
"model_max_length": 262144,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"processor_class": "Qwen3VLProcessor",
|
| 237 |
+
"split_special_tokens": false,
|
| 238 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 239 |
+
"unk_token": null
|
| 240 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/video_preprocessor_config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": null,
|
| 3 |
+
"data_format": "channels_first",
|
| 4 |
+
"default_to_square": true,
|
| 5 |
+
"device": null,
|
| 6 |
+
"do_center_crop": null,
|
| 7 |
+
"do_convert_rgb": true,
|
| 8 |
+
"do_normalize": true,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"do_sample_frames": true,
|
| 12 |
+
"fps": 2,
|
| 13 |
+
"image_mean": [
|
| 14 |
+
0.5,
|
| 15 |
+
0.5,
|
| 16 |
+
0.5
|
| 17 |
+
],
|
| 18 |
+
"image_std": [
|
| 19 |
+
0.5,
|
| 20 |
+
0.5,
|
| 21 |
+
0.5
|
| 22 |
+
],
|
| 23 |
+
"input_data_format": null,
|
| 24 |
+
"max_frames": 768,
|
| 25 |
+
"merge_size": 2,
|
| 26 |
+
"min_frames": 4,
|
| 27 |
+
"num_frames": null,
|
| 28 |
+
"pad_size": null,
|
| 29 |
+
"patch_size": 16,
|
| 30 |
+
"processor_class": "Qwen3VLProcessor",
|
| 31 |
+
"resample": 3,
|
| 32 |
+
"rescale_factor": 0.00392156862745098,
|
| 33 |
+
"return_metadata": false,
|
| 34 |
+
"size": {
|
| 35 |
+
"longest_edge": 25165824,
|
| 36 |
+
"shortest_edge": 4096
|
| 37 |
+
},
|
| 38 |
+
"temporal_patch_size": 2,
|
| 39 |
+
"video_metadata": null,
|
| 40 |
+
"video_processor_type": "Qwen3VLVideoProcessor"
|
| 41 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/merged/checkpoint-178/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/README.md
ADDED
|
@@ -0,0 +1,207 @@
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: /cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500
|
| 7 |
+
- lora
|
| 8 |
+
- transformers
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Model Card for Model ID
|
| 12 |
+
|
| 13 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
## Model Details
|
| 18 |
+
|
| 19 |
+
### Model Description
|
| 20 |
+
|
| 21 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
- **Developed by:** [More Information Needed]
|
| 26 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 27 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 28 |
+
- **Model type:** [More Information Needed]
|
| 29 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 30 |
+
- **License:** [More Information Needed]
|
| 31 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 32 |
+
|
| 33 |
+
### Model Sources [optional]
|
| 34 |
+
|
| 35 |
+
<!-- Provide the basic links for the model. -->
|
| 36 |
+
|
| 37 |
+
- **Repository:** [More Information Needed]
|
| 38 |
+
- **Paper [optional]:** [More Information Needed]
|
| 39 |
+
- **Demo [optional]:** [More Information Needed]
|
| 40 |
+
|
| 41 |
+
## Uses
|
| 42 |
+
|
| 43 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 44 |
+
|
| 45 |
+
### Direct Use
|
| 46 |
+
|
| 47 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 48 |
+
|
| 49 |
+
[More Information Needed]
|
| 50 |
+
|
| 51 |
+
### Downstream Use [optional]
|
| 52 |
+
|
| 53 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 54 |
+
|
| 55 |
+
[More Information Needed]
|
| 56 |
+
|
| 57 |
+
### Out-of-Scope Use
|
| 58 |
+
|
| 59 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 60 |
+
|
| 61 |
+
[More Information Needed]
|
| 62 |
+
|
| 63 |
+
## Bias, Risks, and Limitations
|
| 64 |
+
|
| 65 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 66 |
+
|
| 67 |
+
[More Information Needed]
|
| 68 |
+
|
| 69 |
+
### Recommendations
|
| 70 |
+
|
| 71 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 72 |
+
|
| 73 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 74 |
+
|
| 75 |
+
## How to Get Started with the Model
|
| 76 |
+
|
| 77 |
+
Use the code below to get started with the model.
|
| 78 |
+
|
| 79 |
+
[More Information Needed]
|
| 80 |
+
|
| 81 |
+
## Training Details
|
| 82 |
+
|
| 83 |
+
### Training Data
|
| 84 |
+
|
| 85 |
+
<!-- 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. -->
|
| 86 |
+
|
| 87 |
+
[More Information Needed]
|
| 88 |
+
|
| 89 |
+
### Training Procedure
|
| 90 |
+
|
| 91 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 92 |
+
|
| 93 |
+
#### Preprocessing [optional]
|
| 94 |
+
|
| 95 |
+
[More Information Needed]
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
#### Training Hyperparameters
|
| 99 |
+
|
| 100 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 101 |
+
|
| 102 |
+
#### Speeds, Sizes, Times [optional]
|
| 103 |
+
|
| 104 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 105 |
+
|
| 106 |
+
[More Information Needed]
|
| 107 |
+
|
| 108 |
+
## Evaluation
|
| 109 |
+
|
| 110 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 111 |
+
|
| 112 |
+
### Testing Data, Factors & Metrics
|
| 113 |
+
|
| 114 |
+
#### Testing Data
|
| 115 |
+
|
| 116 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 117 |
+
|
| 118 |
+
[More Information Needed]
|
| 119 |
+
|
| 120 |
+
#### Factors
|
| 121 |
+
|
| 122 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 123 |
+
|
| 124 |
+
[More Information Needed]
|
| 125 |
+
|
| 126 |
+
#### Metrics
|
| 127 |
+
|
| 128 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 129 |
+
|
| 130 |
+
[More Information Needed]
|
| 131 |
+
|
| 132 |
+
### Results
|
| 133 |
+
|
| 134 |
+
[More Information Needed]
|
| 135 |
+
|
| 136 |
+
#### Summary
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
## Model Examination [optional]
|
| 141 |
+
|
| 142 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 143 |
+
|
| 144 |
+
[More Information Needed]
|
| 145 |
+
|
| 146 |
+
## Environmental Impact
|
| 147 |
+
|
| 148 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 149 |
+
|
| 150 |
+
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).
|
| 151 |
+
|
| 152 |
+
- **Hardware Type:** [More Information Needed]
|
| 153 |
+
- **Hours used:** [More Information Needed]
|
| 154 |
+
- **Cloud Provider:** [More Information Needed]
|
| 155 |
+
- **Compute Region:** [More Information Needed]
|
| 156 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 157 |
+
|
| 158 |
+
## Technical Specifications [optional]
|
| 159 |
+
|
| 160 |
+
### Model Architecture and Objective
|
| 161 |
+
|
| 162 |
+
[More Information Needed]
|
| 163 |
+
|
| 164 |
+
### Compute Infrastructure
|
| 165 |
+
|
| 166 |
+
[More Information Needed]
|
| 167 |
+
|
| 168 |
+
#### Hardware
|
| 169 |
+
|
| 170 |
+
[More Information Needed]
|
| 171 |
+
|
| 172 |
+
#### Software
|
| 173 |
+
|
| 174 |
+
[More Information Needed]
|
| 175 |
+
|
| 176 |
+
## Citation [optional]
|
| 177 |
+
|
| 178 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 179 |
+
|
| 180 |
+
**BibTeX:**
|
| 181 |
+
|
| 182 |
+
[More Information Needed]
|
| 183 |
+
|
| 184 |
+
**APA:**
|
| 185 |
+
|
| 186 |
+
[More Information Needed]
|
| 187 |
+
|
| 188 |
+
## Glossary [optional]
|
| 189 |
+
|
| 190 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 191 |
+
|
| 192 |
+
[More Information Needed]
|
| 193 |
+
|
| 194 |
+
## More Information [optional]
|
| 195 |
+
|
| 196 |
+
[More Information Needed]
|
| 197 |
+
|
| 198 |
+
## Model Card Authors [optional]
|
| 199 |
+
|
| 200 |
+
[More Information Needed]
|
| 201 |
+
|
| 202 |
+
## Model Card Contact
|
| 203 |
+
|
| 204 |
+
[More Information Needed]
|
| 205 |
+
### Framework versions
|
| 206 |
+
|
| 207 |
+
- PEFT 0.18.1
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/adapter_config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 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": 64,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": [],
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 32,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": "^(model.language_model.*\\.(k_proj|down_proj|o_proj|gate_proj|q_proj|up_proj|v_proj)|(?!(model.visual.merger|model.visual.deepstack_merger_list))model.visual.*\\.(linear_fc2|attn.proj|linear_fc1|qkv)|model.visual.merger.*\\.(linear_fc2|linear_fc1)|model.visual.deepstack_merger_list.*\\.(linear_fc2|linear_fc1))$",
|
| 32 |
+
"target_parameters": null,
|
| 33 |
+
"task_type": "CAUSAL_LM",
|
| 34 |
+
"trainable_token_indices": null,
|
| 35 |
+
"use_dora": false,
|
| 36 |
+
"use_qalora": false,
|
| 37 |
+
"use_rslora": false
|
| 38 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/additional_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lora_dtype": null, "lorap_lr_ratio": null, "lorap_emb_lr": 1e-06}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/args.json
ADDED
|
@@ -0,0 +1,398 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train",
|
| 3 |
+
"overwrite_output_dir": false,
|
| 4 |
+
"do_train": false,
|
| 5 |
+
"do_eval": false,
|
| 6 |
+
"do_predict": false,
|
| 7 |
+
"eval_strategy": "no",
|
| 8 |
+
"prediction_loss_only": false,
|
| 9 |
+
"per_device_train_batch_size": 8,
|
| 10 |
+
"per_device_eval_batch_size": 1,
|
| 11 |
+
"per_gpu_train_batch_size": null,
|
| 12 |
+
"per_gpu_eval_batch_size": null,
|
| 13 |
+
"gradient_accumulation_steps": 1,
|
| 14 |
+
"eval_accumulation_steps": null,
|
| 15 |
+
"eval_delay": 0,
|
| 16 |
+
"torch_empty_cache_steps": null,
|
| 17 |
+
"learning_rate": 5e-05,
|
| 18 |
+
"weight_decay": 0.01,
|
| 19 |
+
"adam_beta1": 0.9,
|
| 20 |
+
"adam_beta2": 0.95,
|
| 21 |
+
"adam_epsilon": 1e-08,
|
| 22 |
+
"max_grad_norm": 1.0,
|
| 23 |
+
"num_train_epochs": 1.0,
|
| 24 |
+
"max_steps": -1,
|
| 25 |
+
"lr_scheduler_type": "cosine",
|
| 26 |
+
"lr_scheduler_kwargs": null,
|
| 27 |
+
"warmup_ratio": 0.03,
|
| 28 |
+
"warmup_steps": 0,
|
| 29 |
+
"log_level": "passive",
|
| 30 |
+
"log_level_replica": "warning",
|
| 31 |
+
"log_on_each_node": true,
|
| 32 |
+
"logging_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/runs",
|
| 33 |
+
"logging_strategy": "steps",
|
| 34 |
+
"logging_first_step": true,
|
| 35 |
+
"logging_steps": 5,
|
| 36 |
+
"logging_nan_inf_filter": true,
|
| 37 |
+
"save_strategy": "steps",
|
| 38 |
+
"save_steps": 100.0,
|
| 39 |
+
"save_total_limit": 0,
|
| 40 |
+
"save_safetensors": true,
|
| 41 |
+
"save_on_each_node": false,
|
| 42 |
+
"save_only_model": false,
|
| 43 |
+
"restore_callback_states_from_checkpoint": false,
|
| 44 |
+
"no_cuda": false,
|
| 45 |
+
"use_cpu": false,
|
| 46 |
+
"use_mps_device": false,
|
| 47 |
+
"seed": 42,
|
| 48 |
+
"data_seed": 42,
|
| 49 |
+
"jit_mode_eval": false,
|
| 50 |
+
"bf16": true,
|
| 51 |
+
"fp16": false,
|
| 52 |
+
"fp16_opt_level": "O1",
|
| 53 |
+
"half_precision_backend": "auto",
|
| 54 |
+
"bf16_full_eval": false,
|
| 55 |
+
"fp16_full_eval": false,
|
| 56 |
+
"tf32": null,
|
| 57 |
+
"local_rank": 0,
|
| 58 |
+
"ddp_backend": null,
|
| 59 |
+
"tpu_num_cores": null,
|
| 60 |
+
"tpu_metrics_debug": false,
|
| 61 |
+
"debug": null,
|
| 62 |
+
"dataloader_drop_last": false,
|
| 63 |
+
"eval_steps": null,
|
| 64 |
+
"dataloader_num_workers": 4,
|
| 65 |
+
"dataloader_prefetch_factor": null,
|
| 66 |
+
"past_index": -1,
|
| 67 |
+
"run_name": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train",
|
| 68 |
+
"disable_tqdm": null,
|
| 69 |
+
"remove_unused_columns": false,
|
| 70 |
+
"label_names": null,
|
| 71 |
+
"load_best_model_at_end": false,
|
| 72 |
+
"metric_for_best_model": "loss",
|
| 73 |
+
"greater_is_better": false,
|
| 74 |
+
"ignore_data_skip": false,
|
| 75 |
+
"fsdp": [],
|
| 76 |
+
"fsdp_min_num_params": 0,
|
| 77 |
+
"fsdp_config": null,
|
| 78 |
+
"fsdp_transformer_layer_cls_to_wrap": null,
|
| 79 |
+
"accelerator_config": {
|
| 80 |
+
"dispatch_batches": false
|
| 81 |
+
},
|
| 82 |
+
"parallelism_config": null,
|
| 83 |
+
"deepspeed": {
|
| 84 |
+
"fp16": {
|
| 85 |
+
"enabled": "auto",
|
| 86 |
+
"loss_scale": 0,
|
| 87 |
+
"loss_scale_window": 1000,
|
| 88 |
+
"initial_scale_power": 16,
|
| 89 |
+
"hysteresis": 2,
|
| 90 |
+
"min_loss_scale": 1
|
| 91 |
+
},
|
| 92 |
+
"bf16": {
|
| 93 |
+
"enabled": "auto"
|
| 94 |
+
},
|
| 95 |
+
"zero_optimization": {
|
| 96 |
+
"stage": 2,
|
| 97 |
+
"offload_optimizer": {
|
| 98 |
+
"device": "none",
|
| 99 |
+
"pin_memory": true
|
| 100 |
+
},
|
| 101 |
+
"allgather_partitions": true,
|
| 102 |
+
"allgather_bucket_size": 200000000.0,
|
| 103 |
+
"overlap_comm": false,
|
| 104 |
+
"reduce_scatter": true,
|
| 105 |
+
"reduce_bucket_size": 200000000.0,
|
| 106 |
+
"contiguous_gradients": true
|
| 107 |
+
},
|
| 108 |
+
"gradient_accumulation_steps": "auto",
|
| 109 |
+
"gradient_clipping": "auto",
|
| 110 |
+
"steps_per_print": 2000,
|
| 111 |
+
"train_batch_size": "auto",
|
| 112 |
+
"train_micro_batch_size_per_gpu": "auto",
|
| 113 |
+
"wall_clock_breakdown": false
|
| 114 |
+
},
|
| 115 |
+
"label_smoothing_factor": 0.0,
|
| 116 |
+
"optim": "adamw_torch_fused",
|
| 117 |
+
"optim_args": null,
|
| 118 |
+
"adafactor": false,
|
| 119 |
+
"group_by_length": false,
|
| 120 |
+
"length_column_name": "length",
|
| 121 |
+
"report_to": [
|
| 122 |
+
"tensorboard"
|
| 123 |
+
],
|
| 124 |
+
"project": "huggingface",
|
| 125 |
+
"trackio_space_id": "trackio",
|
| 126 |
+
"ddp_find_unused_parameters": null,
|
| 127 |
+
"ddp_bucket_cap_mb": null,
|
| 128 |
+
"ddp_broadcast_buffers": null,
|
| 129 |
+
"dataloader_pin_memory": true,
|
| 130 |
+
"dataloader_persistent_workers": false,
|
| 131 |
+
"skip_memory_metrics": true,
|
| 132 |
+
"use_legacy_prediction_loop": false,
|
| 133 |
+
"push_to_hub": false,
|
| 134 |
+
"resume_from_checkpoint": null,
|
| 135 |
+
"hub_model_id": null,
|
| 136 |
+
"hub_strategy": "every_save",
|
| 137 |
+
"hub_token": null,
|
| 138 |
+
"hub_private_repo": null,
|
| 139 |
+
"hub_always_push": false,
|
| 140 |
+
"hub_revision": null,
|
| 141 |
+
"gradient_checkpointing": true,
|
| 142 |
+
"gradient_checkpointing_kwargs": "{\"use_reentrant\": false}",
|
| 143 |
+
"include_inputs_for_metrics": false,
|
| 144 |
+
"include_for_metrics": [],
|
| 145 |
+
"eval_do_concat_batches": true,
|
| 146 |
+
"fp16_backend": "auto",
|
| 147 |
+
"push_to_hub_model_id": null,
|
| 148 |
+
"push_to_hub_organization": null,
|
| 149 |
+
"push_to_hub_token": null,
|
| 150 |
+
"mp_parameters": "",
|
| 151 |
+
"auto_find_batch_size": false,
|
| 152 |
+
"full_determinism": false,
|
| 153 |
+
"torchdynamo": null,
|
| 154 |
+
"ray_scope": "last",
|
| 155 |
+
"ddp_timeout": 18000000,
|
| 156 |
+
"torch_compile": false,
|
| 157 |
+
"torch_compile_backend": null,
|
| 158 |
+
"torch_compile_mode": null,
|
| 159 |
+
"include_tokens_per_second": false,
|
| 160 |
+
"include_num_input_tokens_seen": false,
|
| 161 |
+
"neftune_noise_alpha": null,
|
| 162 |
+
"optim_target_modules": null,
|
| 163 |
+
"batch_eval_metrics": false,
|
| 164 |
+
"eval_on_start": false,
|
| 165 |
+
"use_liger_kernel": false,
|
| 166 |
+
"liger_kernel_config": null,
|
| 167 |
+
"eval_use_gather_object": false,
|
| 168 |
+
"average_tokens_across_devices": false,
|
| 169 |
+
"sortish_sampler": false,
|
| 170 |
+
"predict_with_generate": false,
|
| 171 |
+
"generation_max_length": null,
|
| 172 |
+
"generation_num_beams": null,
|
| 173 |
+
"generation_config": null,
|
| 174 |
+
"tuner_backend": "peft",
|
| 175 |
+
"vit_gradient_checkpointing": true,
|
| 176 |
+
"router_aux_loss_coef": 0.0,
|
| 177 |
+
"enable_dft_loss": false,
|
| 178 |
+
"enable_channel_loss": false,
|
| 179 |
+
"check_model": true,
|
| 180 |
+
"acc_strategy": "token",
|
| 181 |
+
"train_dataloader_shuffle": true,
|
| 182 |
+
"max_epochs": null,
|
| 183 |
+
"aligner_lr": 2e-05,
|
| 184 |
+
"vit_lr": 1e-05,
|
| 185 |
+
"use_logits_to_keep": true,
|
| 186 |
+
"ds3_gather_for_generation": true,
|
| 187 |
+
"resume_only_model": false,
|
| 188 |
+
"optimizer": "multimodal",
|
| 189 |
+
"loss_type": "planning_modes",
|
| 190 |
+
"eval_metric": null,
|
| 191 |
+
"callbacks": [
|
| 192 |
+
"lora_2955_checks"
|
| 193 |
+
],
|
| 194 |
+
"early_stop_interval": null,
|
| 195 |
+
"eval_use_evalscope": false,
|
| 196 |
+
"eval_dataset": [],
|
| 197 |
+
"eval_dataset_args": null,
|
| 198 |
+
"eval_limit": null,
|
| 199 |
+
"eval_generation_config": null,
|
| 200 |
+
"extra_eval_args": null,
|
| 201 |
+
"tuner_type": "lora",
|
| 202 |
+
"use_galore": false,
|
| 203 |
+
"galore_target_modules": null,
|
| 204 |
+
"galore_rank": 128,
|
| 205 |
+
"galore_update_proj_gap": 50,
|
| 206 |
+
"galore_scale": 1.0,
|
| 207 |
+
"galore_proj_type": "std",
|
| 208 |
+
"galore_optim_per_parameter": false,
|
| 209 |
+
"galore_with_embedding": false,
|
| 210 |
+
"galore_quantization": false,
|
| 211 |
+
"galore_proj_quant": false,
|
| 212 |
+
"galore_proj_bits": 4,
|
| 213 |
+
"galore_proj_group_size": 256,
|
| 214 |
+
"galore_cos_threshold": 0.4,
|
| 215 |
+
"galore_gamma_proj": 2,
|
| 216 |
+
"galore_queue_size": 5,
|
| 217 |
+
"lisa_activated_layers": 0,
|
| 218 |
+
"lisa_step_interval": 20,
|
| 219 |
+
"use_flash_ckpt": false,
|
| 220 |
+
"use_ray": false,
|
| 221 |
+
"ray_exp_name": null,
|
| 222 |
+
"device_groups": null,
|
| 223 |
+
"model": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 224 |
+
"model_type": "qwen3_vl",
|
| 225 |
+
"model_revision": null,
|
| 226 |
+
"task_type": "causal_lm",
|
| 227 |
+
"torch_dtype": "bfloat16",
|
| 228 |
+
"attn_impl": "sdpa",
|
| 229 |
+
"experts_impl": null,
|
| 230 |
+
"new_special_tokens": [],
|
| 231 |
+
"num_labels": null,
|
| 232 |
+
"problem_type": null,
|
| 233 |
+
"rope_scaling": null,
|
| 234 |
+
"device_map": null,
|
| 235 |
+
"max_memory": {},
|
| 236 |
+
"max_model_len": null,
|
| 237 |
+
"local_repo_path": null,
|
| 238 |
+
"init_strategy": null,
|
| 239 |
+
"template": "qwen3_vl_planning_modes",
|
| 240 |
+
"system": null,
|
| 241 |
+
"max_length": 8192,
|
| 242 |
+
"truncation_strategy": "delete",
|
| 243 |
+
"max_pixels": 196608,
|
| 244 |
+
"agent_template": null,
|
| 245 |
+
"norm_bbox": null,
|
| 246 |
+
"use_chat_template": true,
|
| 247 |
+
"padding_side": "right",
|
| 248 |
+
"padding_free": false,
|
| 249 |
+
"loss_scale": "default",
|
| 250 |
+
"sequence_parallel_size": 1,
|
| 251 |
+
"template_backend": "swift",
|
| 252 |
+
"response_prefix": null,
|
| 253 |
+
"enable_thinking": false,
|
| 254 |
+
"add_non_thinking_prefix": false,
|
| 255 |
+
"dataset": [
|
| 256 |
+
"/cephfs/zhengwc/nuReasoning/dataset/sft/reasoning_modes_v1/m25/planning_train.jsonl"
|
| 257 |
+
],
|
| 258 |
+
"val_dataset": [],
|
| 259 |
+
"cached_dataset": [],
|
| 260 |
+
"cached_val_dataset": [],
|
| 261 |
+
"split_dataset_ratio": 0.0,
|
| 262 |
+
"dataset_num_proc": 1,
|
| 263 |
+
"load_from_cache_file": false,
|
| 264 |
+
"dataset_shuffle": true,
|
| 265 |
+
"val_dataset_shuffle": false,
|
| 266 |
+
"streaming": false,
|
| 267 |
+
"interleave_prob": null,
|
| 268 |
+
"stopping_strategy": "first_exhausted",
|
| 269 |
+
"shuffle_buffer_size": 1000,
|
| 270 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 271 |
+
"columns": {},
|
| 272 |
+
"strict": true,
|
| 273 |
+
"model_name": null,
|
| 274 |
+
"model_author": null,
|
| 275 |
+
"custom_dataset_info": [],
|
| 276 |
+
"quant_method": null,
|
| 277 |
+
"quant_bits": null,
|
| 278 |
+
"hqq_axis": null,
|
| 279 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 280 |
+
"bnb_4bit_quant_type": "nf4",
|
| 281 |
+
"bnb_4bit_use_double_quant": true,
|
| 282 |
+
"bnb_4bit_quant_storage": null,
|
| 283 |
+
"max_new_tokens": 64,
|
| 284 |
+
"temperature": 0.0,
|
| 285 |
+
"top_k": null,
|
| 286 |
+
"top_p": null,
|
| 287 |
+
"repetition_penalty": null,
|
| 288 |
+
"num_beams": 1,
|
| 289 |
+
"stream": false,
|
| 290 |
+
"stop_words": [],
|
| 291 |
+
"logprobs": false,
|
| 292 |
+
"top_logprobs": null,
|
| 293 |
+
"structured_outputs_regex": null,
|
| 294 |
+
"train_type": null,
|
| 295 |
+
"adapters": [],
|
| 296 |
+
"external_plugins": [
|
| 297 |
+
"/cephfs/zhengwc/nuReasoning/logs/reasoning_modes_16gpu/20261103-1420/m25/swift_planning_modes.py",
|
| 298 |
+
"/cephfs/zhengwc/nuReasoning/logs/reasoning_modes_16gpu/20261103-1420/m25/lora_2955_callbacks.py"
|
| 299 |
+
],
|
| 300 |
+
"custom_register_path": [],
|
| 301 |
+
"model_kwargs": {},
|
| 302 |
+
"load_args": false,
|
| 303 |
+
"load_data_args": false,
|
| 304 |
+
"packing": false,
|
| 305 |
+
"packing_length": null,
|
| 306 |
+
"packing_num_proc": 1,
|
| 307 |
+
"lazy_tokenize": true,
|
| 308 |
+
"use_hf": true,
|
| 309 |
+
"ignore_args_error": false,
|
| 310 |
+
"use_swift_lora": false,
|
| 311 |
+
"freeze_parameters": [],
|
| 312 |
+
"freeze_parameters_regex": null,
|
| 313 |
+
"freeze_parameters_ratio": 0.0,
|
| 314 |
+
"trainable_parameters": [],
|
| 315 |
+
"trainable_parameters_regex": null,
|
| 316 |
+
"freeze_llm": false,
|
| 317 |
+
"freeze_vit": false,
|
| 318 |
+
"freeze_aligner": false,
|
| 319 |
+
"target_modules": [
|
| 320 |
+
"all-linear"
|
| 321 |
+
],
|
| 322 |
+
"target_regex": null,
|
| 323 |
+
"target_parameters": null,
|
| 324 |
+
"modules_to_save": [],
|
| 325 |
+
"lora_rank": 32,
|
| 326 |
+
"lora_alpha": 64,
|
| 327 |
+
"lora_dropout": 0.05,
|
| 328 |
+
"lora_bias": "none",
|
| 329 |
+
"lora_dtype": null,
|
| 330 |
+
"lorap_lr_ratio": null,
|
| 331 |
+
"use_rslora": false,
|
| 332 |
+
"use_dora": false,
|
| 333 |
+
"lora_ga_batch_size": 2,
|
| 334 |
+
"lora_ga_iters": 2,
|
| 335 |
+
"lora_ga_max_length": 1024,
|
| 336 |
+
"lora_ga_direction": "ArB2r",
|
| 337 |
+
"lora_ga_scale": "stable",
|
| 338 |
+
"lora_ga_stable_gamma": 16,
|
| 339 |
+
"init_weights": true,
|
| 340 |
+
"fourier_n_frequency": 2000,
|
| 341 |
+
"fourier_scaling": 300.0,
|
| 342 |
+
"boft_block_size": 4,
|
| 343 |
+
"boft_block_num": 0,
|
| 344 |
+
"boft_n_butterfly_factor": 1,
|
| 345 |
+
"boft_dropout": 0.0,
|
| 346 |
+
"vera_rank": 256,
|
| 347 |
+
"vera_projection_prng_key": 0,
|
| 348 |
+
"vera_dropout": 0.0,
|
| 349 |
+
"vera_d_initial": 0.1,
|
| 350 |
+
"adapter_act": "gelu",
|
| 351 |
+
"adapter_length": 128,
|
| 352 |
+
"adalora_target_r": 8,
|
| 353 |
+
"adalora_init_r": 12,
|
| 354 |
+
"adalora_tinit": 0,
|
| 355 |
+
"adalora_tfinal": 0,
|
| 356 |
+
"adalora_deltaT": 1,
|
| 357 |
+
"adalora_beta1": 0.85,
|
| 358 |
+
"adalora_beta2": 0.85,
|
| 359 |
+
"adalora_orth_reg_weight": 0.5,
|
| 360 |
+
"llamapro_num_new_blocks": 4,
|
| 361 |
+
"llamapro_num_groups": null,
|
| 362 |
+
"reft_layer_key": null,
|
| 363 |
+
"reft_layers": null,
|
| 364 |
+
"reft_rank": 4,
|
| 365 |
+
"reft_intervention_type": "LoreftIntervention",
|
| 366 |
+
"reft_args": null,
|
| 367 |
+
"swanlab_token": null,
|
| 368 |
+
"swanlab_project": "ms-swift",
|
| 369 |
+
"swanlab_workspace": null,
|
| 370 |
+
"swanlab_exp_name": null,
|
| 371 |
+
"swanlab_notification_method": null,
|
| 372 |
+
"swanlab_webhook_url": null,
|
| 373 |
+
"swanlab_secret": null,
|
| 374 |
+
"swanlab_sender_email": null,
|
| 375 |
+
"swanlab_receiver_email": null,
|
| 376 |
+
"swanlab_smtp_server": null,
|
| 377 |
+
"swanlab_smtp_port": null,
|
| 378 |
+
"swanlab_email_language": "zh",
|
| 379 |
+
"swanlab_mode": "cloud",
|
| 380 |
+
"add_version": false,
|
| 381 |
+
"create_checkpoint_symlink": false,
|
| 382 |
+
"zero_hpz_partition_size": null,
|
| 383 |
+
"deepspeed_autotp_size": null,
|
| 384 |
+
"swift_version": "4.0.0.dev0",
|
| 385 |
+
"ckpt_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 386 |
+
"rank": 0,
|
| 387 |
+
"global_world_size": 16,
|
| 388 |
+
"local_world_size": 8,
|
| 389 |
+
"model_suffix": "checkpoint-1500",
|
| 390 |
+
"model_info": "ModelInfo(model_type='qwen3_vl', model_dir='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500', torch_dtype=torch.bfloat16, max_model_len=262144, quant_method=None, quant_bits=None, rope_scaling={'mrope_interleaved': True, 'mrope_section': [24, 20, 20], 'rope_type': 'default'}, is_moe_model=False, is_multimodal=True, config=None, task_type='causal_lm', num_labels=None)",
|
| 391 |
+
"model_meta": "ModelMeta(model_type='qwen3_vl', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-VL-2B-Instruct', hf_model_id='Qwen/Qwen3-VL-2B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Thinking', hf_model_id='Qwen/Qwen3-VL-2B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-2B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-2B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Instruct', hf_model_id='Qwen/Qwen3-VL-4B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Thinking', hf_model_id='Qwen/Qwen3-VL-4B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-4B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-4B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Instruct', hf_model_id='Qwen/Qwen3-VL-8B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Thinking', hf_model_id='Qwen/Qwen3-VL-8B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-8B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-8B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Instruct', hf_model_id='Qwen/Qwen3-VL-32B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Thinking', hf_model_id='Qwen/Qwen3-VL-32B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-32B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-32B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None)], template='qwen3_vl', ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.models.qwen.Qwen3VLLoader'>, template=None, model_arch=MultiModelKeys(arch_name='qwen3_vl', embedding=None, module_list=None, lm_head=None, q_proj=None, k_proj=None, v_proj=None, o_proj=None, attention=None, mlp=None, down_proj=None, qkv_proj=None, qk_proj=None, qa_proj=None, qb_proj=None, kv_proj=None, kva_proj=None, kvb_proj=None, language_model=['model.language_model', 'lm_head'], aligner=['model.visual.merger', 'model.visual.deepstack_merger_list'], vision_tower=['model.visual'], generator=[]), architectures=['Qwen3VLForConditionalGeneration'], additional_saved_files=[], torch_dtype=None, is_multimodal=True, is_reward=False, task_type=None, ignore_patterns=None, requires=['transformers>=4.57', 'qwen_vl_utils>=0.0.14', 'decord'], tags=['vision', 'video'])",
|
| 392 |
+
"model_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 393 |
+
"template_meta": "QwenTemplateMeta(template_type='qwen3_vl_planning_modes', prefix=[], prompt=['<|im_start|>user\\n{{QUERY}}<|im_end|>\\n<|im_start|>assistant\\n'], chat_sep=['<|im_end|>\\n'], suffix=['<|im_end|>\\n'], template_cls=<class 'swift_planning_modes.PlanningModesTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system=None, auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='', history_thinking_prefix='')",
|
| 394 |
+
"_val_dataset_exists": [],
|
| 395 |
+
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 396 |
+
"evaluation_strategy": "no",
|
| 397 |
+
"training_args": "Seq2SeqTrainingArguments(output_dir='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train', overwrite_output_dir=False, do_train=False, do_eval=False, do_predict=False, eval_strategy=<IntervalStrategy.NO: 'no'>, prediction_loss_only=False, per_device_train_batch_size=8, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=1, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=5e-05, weight_decay=0.01, 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.03, warmup_steps=0, log_level='passive', log_level_replica='warning', log_on_each_node=True, logging_dir='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/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=100, save_total_limit=0, 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, 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=None, dataloader_num_workers=4, dataloader_prefetch_factor=2, past_index=-1, run_name='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train', 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}, 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), parallelism_config=None, deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 2, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'allgather_partitions': True, 'allgather_bucket_size': 200000000.0, 'overlap_comm': False, 'reduce_scatter': True, 'reduce_bucket_size': 200000000.0, 'contiguous_gradients': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, label_smoothing_factor=0.0, optim=<OptimizerNames.ADAMW_TORCH_FUSED: 'adamw_torch_fused'>, optim_args=None, adafactor=False, group_by_length=False, length_column_name='length', report_to=['tensorboard'], project='huggingface', trackio_space_id='trackio', 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, hub_revision=None, gradient_checkpointing=True, gradient_checkpointing_kwargs={'use_reentrant': False}, 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=18000000, 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, liger_kernel_config=None, 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, tuner_backend='peft', vit_gradient_checkpointing=True, router_aux_loss_coef=0.0, enable_dft_loss=False, enable_channel_loss=False, check_model=True, acc_strategy='token', train_dataloader_shuffle=True, max_epochs=None, aligner_lr=2e-05, vit_lr=1e-05, use_logits_to_keep=True, ds3_gather_for_generation=True, resume_only_model=False, optimizer='multimodal', loss_type='planning_modes', eval_metric=None, callbacks=['lora_2955_checks'], early_stop_interval=None, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, extra_eval_args=None, tuner_type='lora', use_galore=False, galore_target_modules=None, galore_rank=128, galore_update_proj_gap=50, galore_scale=1.0, galore_proj_type='std', galore_optim_per_parameter=False, galore_with_embedding=False, galore_quantization=False, galore_proj_quant=False, galore_proj_bits=4, galore_proj_group_size=256, galore_cos_threshold=0.4, galore_gamma_proj=2, galore_queue_size=5, lisa_activated_layers=0, lisa_step_interval=20, use_flash_ckpt=False)"
|
| 398 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/latest
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
global_step178
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/save_audit.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"passed": true,
|
| 3 |
+
"step": 178,
|
| 4 |
+
"epoch": 1.0,
|
| 5 |
+
"adapter_parameters": 104987648,
|
| 6 |
+
"optimizer_rank_files": 16,
|
| 7 |
+
"retained_optimizer_step": 178,
|
| 8 |
+
"removed_optimizer_steps": [
|
| 9 |
+
100
|
| 10 |
+
]
|
| 11 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/trainer_state.json
ADDED
|
@@ -0,0 +1,646 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 178,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"A_fraction": 0.0,
|
| 14 |
+
"O_fraction": 1.0,
|
| 15 |
+
"T_fraction": 1.0,
|
| 16 |
+
"epoch": 0.0056179775280898875,
|
| 17 |
+
"grad_norm": 0.20275463163852692,
|
| 18 |
+
"learning_rate": 8.333333333333334e-06,
|
| 19 |
+
"loss": 0.7954131364822388,
|
| 20 |
+
"loss_A": 0.0,
|
| 21 |
+
"loss_O": 1.68595290184021,
|
| 22 |
+
"loss_T": 0.45822253823280334,
|
| 23 |
+
"step": 1,
|
| 24 |
+
"token_acc": 0.7609826160170373,
|
| 25 |
+
"tokens_A": 0.0,
|
| 26 |
+
"tokens_O": 95.328125,
|
| 27 |
+
"tokens_T": 62.4140625
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"A_fraction": 0.0,
|
| 31 |
+
"O_fraction": 1.0,
|
| 32 |
+
"T_fraction": 1.0,
|
| 33 |
+
"epoch": 0.028089887640449437,
|
| 34 |
+
"grad_norm": 0.2153787910938263,
|
| 35 |
+
"learning_rate": 4.166666666666667e-05,
|
| 36 |
+
"loss": 0.7887904644012451,
|
| 37 |
+
"loss_A": 0.0,
|
| 38 |
+
"loss_O": 1.5867021083831787,
|
| 39 |
+
"loss_T": 0.4714500606060028,
|
| 40 |
+
"step": 5,
|
| 41 |
+
"token_acc": 0.7605729877216917,
|
| 42 |
+
"tokens_A": 0.0,
|
| 43 |
+
"tokens_O": 92.154296875,
|
| 44 |
+
"tokens_T": 62.462890625
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"A_fraction": 0.0,
|
| 48 |
+
"O_fraction": 1.0,
|
| 49 |
+
"T_fraction": 1.0,
|
| 50 |
+
"epoch": 0.056179775280898875,
|
| 51 |
+
"grad_norm": 0.1632121503353119,
|
| 52 |
+
"learning_rate": 4.9933307091588796e-05,
|
| 53 |
+
"loss": 0.7051661491394043,
|
| 54 |
+
"loss_A": 0.0,
|
| 55 |
+
"loss_O": 1.2187381744384767,
|
| 56 |
+
"loss_T": 0.46141853332519533,
|
| 57 |
+
"step": 10,
|
| 58 |
+
"token_acc": 0.7786319909506793,
|
| 59 |
+
"tokens_A": 0.0,
|
| 60 |
+
"tokens_O": 93.7234375,
|
| 61 |
+
"tokens_T": 62.365625
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"A_fraction": 0.0,
|
| 65 |
+
"O_fraction": 1.0,
|
| 66 |
+
"T_fraction": 1.0,
|
| 67 |
+
"epoch": 0.08426966292134831,
|
| 68 |
+
"grad_norm": 0.1537398397922516,
|
| 69 |
+
"learning_rate": 4.9662976890711167e-05,
|
| 70 |
+
"loss": 0.6670995712280273,
|
| 71 |
+
"loss_A": 0.0,
|
| 72 |
+
"loss_O": 0.9948543548583985,
|
| 73 |
+
"loss_T": 0.46812868118286133,
|
| 74 |
+
"step": 15,
|
| 75 |
+
"token_acc": 0.7935791748369283,
|
| 76 |
+
"tokens_A": 0.0,
|
| 77 |
+
"tokens_O": 93.6875,
|
| 78 |
+
"tokens_T": 62.49375
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"A_fraction": 0.0,
|
| 82 |
+
"O_fraction": 1.0,
|
| 83 |
+
"T_fraction": 1.0,
|
| 84 |
+
"epoch": 0.11235955056179775,
|
| 85 |
+
"grad_norm": 0.1397559493780136,
|
| 86 |
+
"learning_rate": 4.9187092426435634e-05,
|
| 87 |
+
"loss": 0.6521862983703614,
|
| 88 |
+
"loss_A": 0.0,
|
| 89 |
+
"loss_O": 0.9194217681884765,
|
| 90 |
+
"loss_T": 0.46830196380615235,
|
| 91 |
+
"step": 20,
|
| 92 |
+
"token_acc": 0.797624157723983,
|
| 93 |
+
"tokens_A": 0.0,
|
| 94 |
+
"tokens_O": 94.1546875,
|
| 95 |
+
"tokens_T": 62.36875
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"A_fraction": 0.0,
|
| 99 |
+
"O_fraction": 1.0,
|
| 100 |
+
"T_fraction": 1.0,
|
| 101 |
+
"epoch": 0.1404494382022472,
|
| 102 |
+
"grad_norm": 0.1247982606291771,
|
| 103 |
+
"learning_rate": 4.850961997099892e-05,
|
| 104 |
+
"loss": 0.6442286968231201,
|
| 105 |
+
"loss_A": 0.0,
|
| 106 |
+
"loss_O": 0.8494020462036133,
|
| 107 |
+
"loss_T": 0.474348258972168,
|
| 108 |
+
"step": 25,
|
| 109 |
+
"token_acc": 0.7993207132510863,
|
| 110 |
+
"tokens_A": 0.0,
|
| 111 |
+
"tokens_O": 94.0234375,
|
| 112 |
+
"tokens_T": 62.390625
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"A_fraction": 0.0,
|
| 116 |
+
"O_fraction": 1.0,
|
| 117 |
+
"T_fraction": 1.0,
|
| 118 |
+
"epoch": 0.16853932584269662,
|
| 119 |
+
"grad_norm": 0.11541972309350967,
|
| 120 |
+
"learning_rate": 4.763620593732867e-05,
|
| 121 |
+
"loss": 0.6199660778045655,
|
| 122 |
+
"loss_A": 0.0,
|
| 123 |
+
"loss_O": 0.7848412990570068,
|
| 124 |
+
"loss_T": 0.4629978179931641,
|
| 125 |
+
"step": 30,
|
| 126 |
+
"token_acc": 0.8057307389584641,
|
| 127 |
+
"tokens_A": 0.0,
|
| 128 |
+
"tokens_O": 94.5203125,
|
| 129 |
+
"tokens_T": 62.309375
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"A_fraction": 0.0,
|
| 133 |
+
"O_fraction": 1.0,
|
| 134 |
+
"T_fraction": 1.0,
|
| 135 |
+
"epoch": 0.19662921348314608,
|
| 136 |
+
"grad_norm": 0.1156366765499115,
|
| 137 |
+
"learning_rate": 4.657412981885862e-05,
|
| 138 |
+
"loss": 0.6106561660766602,
|
| 139 |
+
"loss_A": 0.0,
|
| 140 |
+
"loss_O": 0.7545938968658448,
|
| 141 |
+
"loss_T": 0.45973739624023435,
|
| 142 |
+
"step": 35,
|
| 143 |
+
"token_acc": 0.8086456952312081,
|
| 144 |
+
"tokens_A": 0.0,
|
| 145 |
+
"tokens_O": 93.0390625,
|
| 146 |
+
"tokens_T": 62.5296875
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"A_fraction": 0.0,
|
| 150 |
+
"O_fraction": 1.0,
|
| 151 |
+
"T_fraction": 1.0,
|
| 152 |
+
"epoch": 0.2247191011235955,
|
| 153 |
+
"grad_norm": 0.115145742893219,
|
| 154 |
+
"learning_rate": 4.533224351838914e-05,
|
| 155 |
+
"loss": 0.6064013481140137,
|
| 156 |
+
"loss_A": 0.0,
|
| 157 |
+
"loss_O": 0.7301078796386719,
|
| 158 |
+
"loss_T": 0.46037979125976564,
|
| 159 |
+
"step": 40,
|
| 160 |
+
"token_acc": 0.8110419518238403,
|
| 161 |
+
"tokens_A": 0.0,
|
| 162 |
+
"tokens_O": 94.040625,
|
| 163 |
+
"tokens_T": 62.3515625
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"A_fraction": 0.0,
|
| 167 |
+
"O_fraction": 1.0,
|
| 168 |
+
"T_fraction": 1.0,
|
| 169 |
+
"epoch": 0.25280898876404495,
|
| 170 |
+
"grad_norm": 0.12269679456949234,
|
| 171 |
+
"learning_rate": 4.392089757165841e-05,
|
| 172 |
+
"loss": 0.605807876586914,
|
| 173 |
+
"loss_A": 0.0,
|
| 174 |
+
"loss_O": 0.6853338241577148,
|
| 175 |
+
"loss_T": 0.46874113082885743,
|
| 176 |
+
"step": 45,
|
| 177 |
+
"token_acc": 0.815006956867422,
|
| 178 |
+
"tokens_A": 0.0,
|
| 179 |
+
"tokens_O": 94.709375,
|
| 180 |
+
"tokens_T": 62.509375
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"A_fraction": 0.0,
|
| 184 |
+
"O_fraction": 1.0,
|
| 185 |
+
"T_fraction": 1.0,
|
| 186 |
+
"epoch": 0.2808988764044944,
|
| 187 |
+
"grad_norm": 0.11138639599084854,
|
| 188 |
+
"learning_rate": 4.235185488051585e-05,
|
| 189 |
+
"loss": 0.604167366027832,
|
| 190 |
+
"loss_A": 0.0,
|
| 191 |
+
"loss_O": 0.6778008460998535,
|
| 192 |
+
"loss_T": 0.468607234954834,
|
| 193 |
+
"step": 50,
|
| 194 |
+
"token_acc": 0.8108413492242844,
|
| 195 |
+
"tokens_A": 0.0,
|
| 196 |
+
"tokens_O": 96.7796875,
|
| 197 |
+
"tokens_T": 62.246875
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"A_fraction": 0.0,
|
| 201 |
+
"O_fraction": 1.0,
|
| 202 |
+
"T_fraction": 1.0,
|
| 203 |
+
"epoch": 0.3089887640449438,
|
| 204 |
+
"grad_norm": 0.12257670611143112,
|
| 205 |
+
"learning_rate": 4.0638192674691136e-05,
|
| 206 |
+
"loss": 0.5942151069641113,
|
| 207 |
+
"loss_A": 0.0,
|
| 208 |
+
"loss_O": 0.664482307434082,
|
| 209 |
+
"loss_T": 0.4613186836242676,
|
| 210 |
+
"step": 55,
|
| 211 |
+
"token_acc": 0.8149884079207523,
|
| 212 |
+
"tokens_A": 0.0,
|
| 213 |
+
"tokens_O": 93.3015625,
|
| 214 |
+
"tokens_T": 62.38125
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"A_fraction": 0.0,
|
| 218 |
+
"O_fraction": 1.0,
|
| 219 |
+
"T_fraction": 1.0,
|
| 220 |
+
"epoch": 0.33707865168539325,
|
| 221 |
+
"grad_norm": 0.12396655976772308,
|
| 222 |
+
"learning_rate": 3.879419351926115e-05,
|
| 223 |
+
"loss": 0.5967383861541748,
|
| 224 |
+
"loss_A": 0.0,
|
| 225 |
+
"loss_O": 0.630449628829956,
|
| 226 |
+
"loss_T": 0.47064847946166993,
|
| 227 |
+
"step": 60,
|
| 228 |
+
"token_acc": 0.815505068433716,
|
| 229 |
+
"tokens_A": 0.0,
|
| 230 |
+
"tokens_O": 96.1046875,
|
| 231 |
+
"tokens_T": 62.3515625
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"A_fraction": 0.0,
|
| 235 |
+
"O_fraction": 1.0,
|
| 236 |
+
"T_fraction": 1.0,
|
| 237 |
+
"epoch": 0.3651685393258427,
|
| 238 |
+
"grad_norm": 0.12259514629840851,
|
| 239 |
+
"learning_rate": 3.683522627621608e-05,
|
| 240 |
+
"loss": 0.5733925342559815,
|
| 241 |
+
"loss_A": 0.0,
|
| 242 |
+
"loss_O": 0.618816614151001,
|
| 243 |
+
"loss_T": 0.44962921142578127,
|
| 244 |
+
"step": 65,
|
| 245 |
+
"token_acc": 0.8197710426947435,
|
| 246 |
+
"tokens_A": 0.0,
|
| 247 |
+
"tokens_O": 94.0734375,
|
| 248 |
+
"tokens_T": 62.3421875
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"A_fraction": 0.0,
|
| 252 |
+
"O_fraction": 1.0,
|
| 253 |
+
"T_fraction": 1.0,
|
| 254 |
+
"epoch": 0.39325842696629215,
|
| 255 |
+
"grad_norm": 0.12059304863214493,
|
| 256 |
+
"learning_rate": 3.47776180122539e-05,
|
| 257 |
+
"loss": 0.5957588672637939,
|
| 258 |
+
"loss_A": 0.0,
|
| 259 |
+
"loss_O": 0.6359923839569092,
|
| 260 |
+
"loss_T": 0.46856040954589845,
|
| 261 |
+
"step": 70,
|
| 262 |
+
"token_acc": 0.8149265581579992,
|
| 263 |
+
"tokens_A": 0.0,
|
| 264 |
+
"tokens_O": 95.0203125,
|
| 265 |
+
"tokens_T": 62.4171875
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"A_fraction": 0.0,
|
| 269 |
+
"O_fraction": 1.0,
|
| 270 |
+
"T_fraction": 1.0,
|
| 271 |
+
"epoch": 0.42134831460674155,
|
| 272 |
+
"grad_norm": 0.11385505646467209,
|
| 273 |
+
"learning_rate": 3.263851792039109e-05,
|
| 274 |
+
"loss": 0.589472484588623,
|
| 275 |
+
"loss_A": 0.0,
|
| 276 |
+
"loss_O": 0.6276932716369629,
|
| 277 |
+
"loss_T": 0.46393380165100095,
|
| 278 |
+
"step": 75,
|
| 279 |
+
"token_acc": 0.8165946670639058,
|
| 280 |
+
"tokens_A": 0.0,
|
| 281 |
+
"tokens_O": 94.953125,
|
| 282 |
+
"tokens_T": 62.3828125
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"A_fraction": 0.0,
|
| 286 |
+
"O_fraction": 1.0,
|
| 287 |
+
"T_fraction": 1.0,
|
| 288 |
+
"epoch": 0.449438202247191,
|
| 289 |
+
"grad_norm": 0.12233258783817291,
|
| 290 |
+
"learning_rate": 3.0435754389538928e-05,
|
| 291 |
+
"loss": 0.5774576187133789,
|
| 292 |
+
"loss_A": 0.0,
|
| 293 |
+
"loss_O": 0.6074398994445801,
|
| 294 |
+
"loss_T": 0.45596961975097655,
|
| 295 |
+
"step": 80,
|
| 296 |
+
"token_acc": 0.8203774953165602,
|
| 297 |
+
"tokens_A": 0.0,
|
| 298 |
+
"tokens_O": 92.8625,
|
| 299 |
+
"tokens_T": 62.271875
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"A_fraction": 0.0,
|
| 303 |
+
"O_fraction": 1.0,
|
| 304 |
+
"T_fraction": 1.0,
|
| 305 |
+
"epoch": 0.47752808988764045,
|
| 306 |
+
"grad_norm": 0.12458215653896332,
|
| 307 |
+
"learning_rate": 2.81876864133027e-05,
|
| 308 |
+
"loss": 0.5816618919372558,
|
| 309 |
+
"loss_A": 0.0,
|
| 310 |
+
"loss_O": 0.5889397621154785,
|
| 311 |
+
"loss_T": 0.46387395858764646,
|
| 312 |
+
"step": 85,
|
| 313 |
+
"token_acc": 0.8213459159650452,
|
| 314 |
+
"tokens_A": 0.0,
|
| 315 |
+
"tokens_O": 94.3203125,
|
| 316 |
+
"tokens_T": 62.3109375
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"A_fraction": 0.0,
|
| 320 |
+
"O_fraction": 1.0,
|
| 321 |
+
"T_fraction": 1.0,
|
| 322 |
+
"epoch": 0.5056179775280899,
|
| 323 |
+
"grad_norm": 0.11027105897665024,
|
| 324 |
+
"learning_rate": 2.5913050576441477e-05,
|
| 325 |
+
"loss": 0.5824127197265625,
|
| 326 |
+
"loss_A": 0.0,
|
| 327 |
+
"loss_O": 0.596703052520752,
|
| 328 |
+
"loss_T": 0.4630721092224121,
|
| 329 |
+
"step": 90,
|
| 330 |
+
"token_acc": 0.8199137965923348,
|
| 331 |
+
"tokens_A": 0.0,
|
| 332 |
+
"tokens_O": 91.946875,
|
| 333 |
+
"tokens_T": 62.484375
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"A_fraction": 0.0,
|
| 337 |
+
"O_fraction": 1.0,
|
| 338 |
+
"T_fraction": 1.0,
|
| 339 |
+
"epoch": 0.5337078651685393,
|
| 340 |
+
"grad_norm": 0.12903445959091187,
|
| 341 |
+
"learning_rate": 2.363080489428391e-05,
|
| 342 |
+
"loss": 0.5844289779663085,
|
| 343 |
+
"loss_A": 0.0,
|
| 344 |
+
"loss_O": 0.5926475524902344,
|
| 345 |
+
"loss_T": 0.46589951515197753,
|
| 346 |
+
"step": 95,
|
| 347 |
+
"token_acc": 0.8228294446596541,
|
| 348 |
+
"tokens_A": 0.0,
|
| 349 |
+
"tokens_O": 94.7671875,
|
| 350 |
+
"tokens_T": 62.540625
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"A_fraction": 0.0,
|
| 354 |
+
"O_fraction": 1.0,
|
| 355 |
+
"T_fraction": 1.0,
|
| 356 |
+
"epoch": 0.5617977528089888,
|
| 357 |
+
"grad_norm": 0.11726368963718414,
|
| 358 |
+
"learning_rate": 2.1359970806624885e-05,
|
| 359 |
+
"loss": 0.5775651931762695,
|
| 360 |
+
"loss_A": 0.0,
|
| 361 |
+
"loss_O": 0.5932145595550538,
|
| 362 |
+
"loss_T": 0.4589222431182861,
|
| 363 |
+
"step": 100,
|
| 364 |
+
"token_acc": 0.8240529235515738,
|
| 365 |
+
"tokens_A": 0.0,
|
| 366 |
+
"tokens_O": 95.8375,
|
| 367 |
+
"tokens_T": 62.1734375
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"A_fraction": 0.0,
|
| 371 |
+
"O_fraction": 1.0,
|
| 372 |
+
"T_fraction": 1.0,
|
| 373 |
+
"epoch": 0.5898876404494382,
|
| 374 |
+
"grad_norm": 0.11973011493682861,
|
| 375 |
+
"learning_rate": 1.911947464300911e-05,
|
| 376 |
+
"loss": 0.5860462188720703,
|
| 377 |
+
"loss_A": 0.0,
|
| 378 |
+
"loss_O": 0.5922955513000489,
|
| 379 |
+
"loss_T": 0.4675870895385742,
|
| 380 |
+
"step": 105,
|
| 381 |
+
"token_acc": 0.8201532426884539,
|
| 382 |
+
"tokens_A": 0.0,
|
| 383 |
+
"tokens_O": 91.246875,
|
| 384 |
+
"tokens_T": 62.5125
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"A_fraction": 0.0,
|
| 388 |
+
"O_fraction": 1.0,
|
| 389 |
+
"T_fraction": 1.0,
|
| 390 |
+
"epoch": 0.6179775280898876,
|
| 391 |
+
"grad_norm": 0.11599209904670715,
|
| 392 |
+
"learning_rate": 1.692798988071385e-05,
|
| 393 |
+
"loss": 0.5781955718994141,
|
| 394 |
+
"loss_A": 0.0,
|
| 395 |
+
"loss_O": 0.5873032569885254,
|
| 396 |
+
"loss_T": 0.4607349395751953,
|
| 397 |
+
"step": 110,
|
| 398 |
+
"token_acc": 0.821186075200337,
|
| 399 |
+
"tokens_A": 0.0,
|
| 400 |
+
"tokens_O": 93.40625,
|
| 401 |
+
"tokens_T": 62.3859375
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"A_fraction": 0.0,
|
| 405 |
+
"O_fraction": 1.0,
|
| 406 |
+
"T_fraction": 1.0,
|
| 407 |
+
"epoch": 0.6460674157303371,
|
| 408 |
+
"grad_norm": 0.12532521784305573,
|
| 409 |
+
"learning_rate": 1.4803781510135723e-05,
|
| 410 |
+
"loss": 0.5718844890594482,
|
| 411 |
+
"loss_A": 0.0,
|
| 412 |
+
"loss_O": 0.5844184875488281,
|
| 413 |
+
"loss_T": 0.4550007820129395,
|
| 414 |
+
"step": 115,
|
| 415 |
+
"token_acc": 0.8245247377516981,
|
| 416 |
+
"tokens_A": 0.0,
|
| 417 |
+
"tokens_O": 93.103125,
|
| 418 |
+
"tokens_T": 62.403125
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"A_fraction": 0.0,
|
| 422 |
+
"O_fraction": 1.0,
|
| 423 |
+
"T_fraction": 1.0,
|
| 424 |
+
"epoch": 0.6741573033707865,
|
| 425 |
+
"grad_norm": 0.12159833312034607,
|
| 426 |
+
"learning_rate": 1.2764553804722867e-05,
|
| 427 |
+
"loss": 0.5712523460388184,
|
| 428 |
+
"loss_A": 0.0,
|
| 429 |
+
"loss_O": 0.5783406257629394,
|
| 430 |
+
"loss_T": 0.45558414459228513,
|
| 431 |
+
"step": 120,
|
| 432 |
+
"token_acc": 0.8229622099622,
|
| 433 |
+
"tokens_A": 0.0,
|
| 434 |
+
"tokens_O": 95.95,
|
| 435 |
+
"tokens_T": 62.3671875
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"A_fraction": 0.0,
|
| 439 |
+
"O_fraction": 1.0,
|
| 440 |
+
"T_fraction": 1.0,
|
| 441 |
+
"epoch": 0.702247191011236,
|
| 442 |
+
"grad_norm": 0.11940538883209229,
|
| 443 |
+
"learning_rate": 1.0827302764217886e-05,
|
| 444 |
+
"loss": 0.5921811103820801,
|
| 445 |
+
"loss_A": 0.0,
|
| 446 |
+
"loss_O": 0.6025129318237304,
|
| 447 |
+
"loss_T": 0.4716785430908203,
|
| 448 |
+
"step": 125,
|
| 449 |
+
"token_acc": 0.8190841596492102,
|
| 450 |
+
"tokens_A": 0.0,
|
| 451 |
+
"tokens_O": 94.390625,
|
| 452 |
+
"tokens_T": 62.3984375
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"A_fraction": 0.0,
|
| 456 |
+
"O_fraction": 1.0,
|
| 457 |
+
"T_fraction": 1.0,
|
| 458 |
+
"epoch": 0.7303370786516854,
|
| 459 |
+
"grad_norm": 0.1571342796087265,
|
| 460 |
+
"learning_rate": 9.008174461027724e-06,
|
| 461 |
+
"loss": 0.5788092613220215,
|
| 462 |
+
"loss_A": 0.0,
|
| 463 |
+
"loss_O": 0.5981739044189454,
|
| 464 |
+
"loss_T": 0.45917444229125975,
|
| 465 |
+
"step": 130,
|
| 466 |
+
"token_acc": 0.8233772718194527,
|
| 467 |
+
"tokens_A": 0.0,
|
| 468 |
+
"tokens_O": 93.9921875,
|
| 469 |
+
"tokens_T": 62.4765625
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"A_fraction": 0.0,
|
| 473 |
+
"O_fraction": 1.0,
|
| 474 |
+
"T_fraction": 1.0,
|
| 475 |
+
"epoch": 0.7584269662921348,
|
| 476 |
+
"grad_norm": 0.12044236809015274,
|
| 477 |
+
"learning_rate": 7.3223304703363135e-06,
|
| 478 |
+
"loss": 0.5740638732910156,
|
| 479 |
+
"loss_A": 0.0,
|
| 480 |
+
"loss_O": 0.585455322265625,
|
| 481 |
+
"loss_T": 0.4569727897644043,
|
| 482 |
+
"step": 135,
|
| 483 |
+
"token_acc": 0.8242340057172767,
|
| 484 |
+
"tokens_A": 0.0,
|
| 485 |
+
"tokens_O": 92.76875,
|
| 486 |
+
"tokens_T": 62.4625
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"A_fraction": 0.0,
|
| 490 |
+
"O_fraction": 1.0,
|
| 491 |
+
"T_fraction": 1.0,
|
| 492 |
+
"epoch": 0.7865168539325843,
|
| 493 |
+
"grad_norm": 0.1196296289563179,
|
| 494 |
+
"learning_rate": 5.783821505536696e-06,
|
| 495 |
+
"loss": 0.5938168525695801,
|
| 496 |
+
"loss_A": 0.0,
|
| 497 |
+
"loss_O": 0.5802971363067627,
|
| 498 |
+
"loss_T": 0.4777574062347412,
|
| 499 |
+
"step": 140,
|
| 500 |
+
"token_acc": 0.8219083465134437,
|
| 501 |
+
"tokens_A": 0.0,
|
| 502 |
+
"tokens_O": 93.715625,
|
| 503 |
+
"tokens_T": 62.375
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"A_fraction": 0.0,
|
| 507 |
+
"O_fraction": 1.0,
|
| 508 |
+
"T_fraction": 1.0,
|
| 509 |
+
"epoch": 0.8146067415730337,
|
| 510 |
+
"grad_norm": 0.11233756691217422,
|
| 511 |
+
"learning_rate": 4.405470312171392e-06,
|
| 512 |
+
"loss": 0.578665828704834,
|
| 513 |
+
"loss_A": 0.0,
|
| 514 |
+
"loss_O": 0.5973251342773438,
|
| 515 |
+
"loss_T": 0.4592007637023926,
|
| 516 |
+
"step": 145,
|
| 517 |
+
"token_acc": 0.8212256412308431,
|
| 518 |
+
"tokens_A": 0.0,
|
| 519 |
+
"tokens_O": 93.625,
|
| 520 |
+
"tokens_T": 62.56875
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"A_fraction": 0.0,
|
| 524 |
+
"O_fraction": 1.0,
|
| 525 |
+
"T_fraction": 1.0,
|
| 526 |
+
"epoch": 0.8426966292134831,
|
| 527 |
+
"grad_norm": 0.11678257584571838,
|
| 528 |
+
"learning_rate": 3.198764796404807e-06,
|
| 529 |
+
"loss": 0.5796337127685547,
|
| 530 |
+
"loss_A": 0.0,
|
| 531 |
+
"loss_O": 0.5708772659301757,
|
| 532 |
+
"loss_T": 0.4654582977294922,
|
| 533 |
+
"step": 150,
|
| 534 |
+
"token_acc": 0.8235428685100458,
|
| 535 |
+
"tokens_A": 0.0,
|
| 536 |
+
"tokens_O": 94.525,
|
| 537 |
+
"tokens_T": 62.56875
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"A_fraction": 0.0,
|
| 541 |
+
"O_fraction": 1.0,
|
| 542 |
+
"T_fraction": 1.0,
|
| 543 |
+
"epoch": 0.8707865168539326,
|
| 544 |
+
"grad_norm": 0.11596320569515228,
|
| 545 |
+
"learning_rate": 2.1737622787514593e-06,
|
| 546 |
+
"loss": 0.5702414512634277,
|
| 547 |
+
"loss_A": 0.0,
|
| 548 |
+
"loss_O": 0.5724139213562012,
|
| 549 |
+
"loss_T": 0.4557586669921875,
|
| 550 |
+
"step": 155,
|
| 551 |
+
"token_acc": 0.8252297014866516,
|
| 552 |
+
"tokens_A": 0.0,
|
| 553 |
+
"tokens_O": 96.03125,
|
| 554 |
+
"tokens_T": 62.4625
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"A_fraction": 0.0,
|
| 558 |
+
"O_fraction": 1.0,
|
| 559 |
+
"T_fraction": 1.0,
|
| 560 |
+
"epoch": 0.898876404494382,
|
| 561 |
+
"grad_norm": 0.11729475855827332,
|
| 562 |
+
"learning_rate": 1.3390056710597649e-06,
|
| 563 |
+
"loss": 0.5549430847167969,
|
| 564 |
+
"loss_A": 0.0,
|
| 565 |
+
"loss_O": 0.5542611598968505,
|
| 566 |
+
"loss_T": 0.4440908432006836,
|
| 567 |
+
"step": 160,
|
| 568 |
+
"token_acc": 0.8283231540791499,
|
| 569 |
+
"tokens_A": 0.0,
|
| 570 |
+
"tokens_O": 95.015625,
|
| 571 |
+
"tokens_T": 62.3203125
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"A_fraction": 0.0,
|
| 575 |
+
"O_fraction": 1.0,
|
| 576 |
+
"T_fraction": 1.0,
|
| 577 |
+
"epoch": 0.9269662921348315,
|
| 578 |
+
"grad_norm": 0.1282833069562912,
|
| 579 |
+
"learning_rate": 7.014522753768848e-07,
|
| 580 |
+
"loss": 0.5726681232452393,
|
| 581 |
+
"loss_A": 0.0,
|
| 582 |
+
"loss_O": 0.565861988067627,
|
| 583 |
+
"loss_T": 0.45949573516845704,
|
| 584 |
+
"step": 165,
|
| 585 |
+
"token_acc": 0.8249405490383371,
|
| 586 |
+
"tokens_A": 0.0,
|
| 587 |
+
"tokens_O": 94.55,
|
| 588 |
+
"tokens_T": 62.4859375
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"A_fraction": 0.0,
|
| 592 |
+
"O_fraction": 1.0,
|
| 593 |
+
"T_fraction": 1.0,
|
| 594 |
+
"epoch": 0.9550561797752809,
|
| 595 |
+
"grad_norm": 0.12150660157203674,
|
| 596 |
+
"learning_rate": 2.664157981222437e-07,
|
| 597 |
+
"loss": 0.5775932312011719,
|
| 598 |
+
"loss_A": 0.0,
|
| 599 |
+
"loss_O": 0.5520602226257324,
|
| 600 |
+
"loss_T": 0.4671812057495117,
|
| 601 |
+
"step": 170,
|
| 602 |
+
"token_acc": 0.8248640746563066,
|
| 603 |
+
"tokens_A": 0.0,
|
| 604 |
+
"tokens_O": 93.709375,
|
| 605 |
+
"tokens_T": 62.3390625
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"A_fraction": 0.0,
|
| 609 |
+
"O_fraction": 1.0,
|
| 610 |
+
"T_fraction": 1.0,
|
| 611 |
+
"epoch": 0.9831460674157303,
|
| 612 |
+
"grad_norm": 0.12730605900287628,
|
| 613 |
+
"learning_rate": 3.7522062854356e-08,
|
| 614 |
+
"loss": 0.5763805389404297,
|
| 615 |
+
"loss_A": 0.0,
|
| 616 |
+
"loss_O": 0.5537808418273926,
|
| 617 |
+
"loss_T": 0.4656243324279785,
|
| 618 |
+
"step": 175,
|
| 619 |
+
"token_acc": 0.8256269904458599,
|
| 620 |
+
"tokens_A": 0.0,
|
| 621 |
+
"tokens_O": 94.65625,
|
| 622 |
+
"tokens_T": 62.34375
|
| 623 |
+
}
|
| 624 |
+
],
|
| 625 |
+
"logging_steps": 5,
|
| 626 |
+
"max_steps": 178,
|
| 627 |
+
"num_input_tokens_seen": 0,
|
| 628 |
+
"num_train_epochs": 1,
|
| 629 |
+
"save_steps": 100,
|
| 630 |
+
"stateful_callbacks": {
|
| 631 |
+
"TrainerControl": {
|
| 632 |
+
"args": {
|
| 633 |
+
"should_epoch_stop": false,
|
| 634 |
+
"should_evaluate": false,
|
| 635 |
+
"should_log": false,
|
| 636 |
+
"should_save": true,
|
| 637 |
+
"should_training_stop": true
|
| 638 |
+
},
|
| 639 |
+
"attributes": {}
|
| 640 |
+
}
|
| 641 |
+
},
|
| 642 |
+
"total_flos": 3.6072960600005673e+18,
|
| 643 |
+
"train_batch_size": 8,
|
| 644 |
+
"trial_name": null,
|
| 645 |
+
"trial_params": null
|
| 646 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m25/train/checkpoint-178/zero_to_fp32.py
ADDED
|
@@ -0,0 +1,760 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python
|
| 2 |
+
|
| 3 |
+
# Copyright (c) Microsoft Corporation.
|
| 4 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 5 |
+
|
| 6 |
+
# DeepSpeed Team
|
| 7 |
+
|
| 8 |
+
# This script extracts fp32 consolidated weights from a zero 1, 2 and 3 DeepSpeed checkpoints. It gets
|
| 9 |
+
# copied into the top level checkpoint dir, so the user can easily do the conversion at any point in
|
| 10 |
+
# the future. Once extracted, the weights don't require DeepSpeed and can be used in any
|
| 11 |
+
# application.
|
| 12 |
+
#
|
| 13 |
+
# example:
|
| 14 |
+
# python zero_to_fp32.py . output_dir/
|
| 15 |
+
# or
|
| 16 |
+
# python zero_to_fp32.py . output_dir/ --safe_serialization
|
| 17 |
+
|
| 18 |
+
import argparse
|
| 19 |
+
import torch
|
| 20 |
+
import glob
|
| 21 |
+
import math
|
| 22 |
+
import os
|
| 23 |
+
import re
|
| 24 |
+
import gc
|
| 25 |
+
import json
|
| 26 |
+
import numpy as np
|
| 27 |
+
from tqdm import tqdm
|
| 28 |
+
from collections import OrderedDict
|
| 29 |
+
from dataclasses import dataclass
|
| 30 |
+
|
| 31 |
+
# while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
|
| 32 |
+
# DeepSpeed data structures it has to be available in the current python environment.
|
| 33 |
+
from deepspeed.utils import logger
|
| 34 |
+
from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
|
| 35 |
+
FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
|
| 36 |
+
FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
@dataclass
|
| 40 |
+
class zero_model_state:
|
| 41 |
+
buffers: dict()
|
| 42 |
+
param_shapes: dict()
|
| 43 |
+
shared_params: list
|
| 44 |
+
ds_version: int
|
| 45 |
+
frozen_param_shapes: dict()
|
| 46 |
+
frozen_param_fragments: dict()
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
debug = 0
|
| 50 |
+
|
| 51 |
+
# load to cpu
|
| 52 |
+
device = torch.device('cpu')
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def atoi(text):
|
| 56 |
+
return int(text) if text.isdigit() else text
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def natural_keys(text):
|
| 60 |
+
'''
|
| 61 |
+
alist.sort(key=natural_keys) sorts in human order
|
| 62 |
+
http://nedbatchelder.com/blog/200712/human_sorting.html
|
| 63 |
+
(See Toothy's implementation in the comments)
|
| 64 |
+
'''
|
| 65 |
+
return [atoi(c) for c in re.split(r'(\d+)', text)]
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def get_model_state_file(checkpoint_dir, zero_stage):
|
| 69 |
+
if not os.path.isdir(checkpoint_dir):
|
| 70 |
+
raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
|
| 71 |
+
|
| 72 |
+
# there should be only one file
|
| 73 |
+
if zero_stage <= 2:
|
| 74 |
+
file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
|
| 75 |
+
elif zero_stage == 3:
|
| 76 |
+
file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
|
| 77 |
+
|
| 78 |
+
if not os.path.exists(file):
|
| 79 |
+
raise FileNotFoundError(f"can't find model states file at '{file}'")
|
| 80 |
+
|
| 81 |
+
return file
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
def get_checkpoint_files(checkpoint_dir, glob_pattern):
|
| 85 |
+
# XXX: need to test that this simple glob rule works for multi-node setup too
|
| 86 |
+
ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
|
| 87 |
+
|
| 88 |
+
if len(ckpt_files) == 0:
|
| 89 |
+
raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
|
| 90 |
+
|
| 91 |
+
return ckpt_files
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def get_optim_files(checkpoint_dir):
|
| 95 |
+
return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def get_model_state_files(checkpoint_dir):
|
| 99 |
+
return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def parse_model_states(files):
|
| 103 |
+
zero_model_states = []
|
| 104 |
+
for file in files:
|
| 105 |
+
state_dict = torch.load(file, map_location=device, weights_only=False)
|
| 106 |
+
|
| 107 |
+
if BUFFER_NAMES not in state_dict:
|
| 108 |
+
raise ValueError(f"{file} is not a model state checkpoint")
|
| 109 |
+
buffer_names = state_dict[BUFFER_NAMES]
|
| 110 |
+
if debug:
|
| 111 |
+
print("Found buffers:", buffer_names)
|
| 112 |
+
|
| 113 |
+
# recover just the buffers while restoring them to fp32 if they were saved in fp16
|
| 114 |
+
buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
|
| 115 |
+
param_shapes = state_dict[PARAM_SHAPES]
|
| 116 |
+
|
| 117 |
+
# collect parameters that are included in param_shapes
|
| 118 |
+
param_names = []
|
| 119 |
+
for s in param_shapes:
|
| 120 |
+
for name in s.keys():
|
| 121 |
+
param_names.append(name)
|
| 122 |
+
|
| 123 |
+
# update with frozen parameters
|
| 124 |
+
frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
|
| 125 |
+
if frozen_param_shapes is not None:
|
| 126 |
+
if debug:
|
| 127 |
+
print(f"Found frozen_param_shapes: {frozen_param_shapes}")
|
| 128 |
+
param_names += list(frozen_param_shapes.keys())
|
| 129 |
+
|
| 130 |
+
# handle shared params
|
| 131 |
+
shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
|
| 132 |
+
|
| 133 |
+
ds_version = state_dict.get(DS_VERSION, None)
|
| 134 |
+
|
| 135 |
+
frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
|
| 136 |
+
|
| 137 |
+
z_model_state = zero_model_state(buffers=buffers,
|
| 138 |
+
param_shapes=param_shapes,
|
| 139 |
+
shared_params=shared_params,
|
| 140 |
+
ds_version=ds_version,
|
| 141 |
+
frozen_param_shapes=frozen_param_shapes,
|
| 142 |
+
frozen_param_fragments=frozen_param_fragments)
|
| 143 |
+
zero_model_states.append(z_model_state)
|
| 144 |
+
|
| 145 |
+
return zero_model_states
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
def parse_optim_states(files, ds_checkpoint_dir):
|
| 149 |
+
total_files = len(files)
|
| 150 |
+
state_dicts = []
|
| 151 |
+
for f in tqdm(files, desc='Loading checkpoint shards'):
|
| 152 |
+
state_dict = torch.load(f, map_location=device, mmap=True, weights_only=False)
|
| 153 |
+
# immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
|
| 154 |
+
# and also handle the case where it was already removed by another helper script
|
| 155 |
+
state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
|
| 156 |
+
state_dicts.append(state_dict)
|
| 157 |
+
|
| 158 |
+
if ZERO_STAGE not in state_dicts[0][OPTIMIZER_STATE_DICT]:
|
| 159 |
+
raise ValueError(f"{files[0]} is not a zero checkpoint")
|
| 160 |
+
zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
|
| 161 |
+
world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
|
| 162 |
+
|
| 163 |
+
# For ZeRO-2 each param group can have different partition_count as data parallelism for expert
|
| 164 |
+
# parameters can be different from data parallelism for non-expert parameters. So we can just
|
| 165 |
+
# use the max of the partition_count to get the dp world_size.
|
| 166 |
+
|
| 167 |
+
if type(world_size) is list:
|
| 168 |
+
world_size = max(world_size)
|
| 169 |
+
|
| 170 |
+
if world_size != total_files:
|
| 171 |
+
raise ValueError(
|
| 172 |
+
f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
|
| 173 |
+
"Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
|
| 174 |
+
)
|
| 175 |
+
|
| 176 |
+
# the groups are named differently in each stage
|
| 177 |
+
if zero_stage <= 2:
|
| 178 |
+
fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
|
| 179 |
+
elif zero_stage == 3:
|
| 180 |
+
fp32_groups_key = FP32_FLAT_GROUPS
|
| 181 |
+
else:
|
| 182 |
+
raise ValueError(f"unknown zero stage {zero_stage}")
|
| 183 |
+
|
| 184 |
+
fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
|
| 185 |
+
return zero_stage, world_size, fp32_flat_groups
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
|
| 189 |
+
"""
|
| 190 |
+
Returns fp32 state_dict reconstructed from ds checkpoint
|
| 191 |
+
|
| 192 |
+
Args:
|
| 193 |
+
- ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
|
| 194 |
+
|
| 195 |
+
"""
|
| 196 |
+
print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
|
| 197 |
+
|
| 198 |
+
optim_files = get_optim_files(ds_checkpoint_dir)
|
| 199 |
+
zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
|
| 200 |
+
print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
|
| 201 |
+
|
| 202 |
+
model_files = get_model_state_files(ds_checkpoint_dir)
|
| 203 |
+
|
| 204 |
+
zero_model_states = parse_model_states(model_files)
|
| 205 |
+
print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
|
| 206 |
+
|
| 207 |
+
if zero_stage <= 2:
|
| 208 |
+
return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 209 |
+
exclude_frozen_parameters)
|
| 210 |
+
elif zero_stage == 3:
|
| 211 |
+
return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 212 |
+
exclude_frozen_parameters)
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
def _zero2_merge_frozen_params(state_dict, zero_model_states):
|
| 216 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 217 |
+
return
|
| 218 |
+
|
| 219 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 220 |
+
frozen_param_fragments = zero_model_states[0].frozen_param_fragments
|
| 221 |
+
|
| 222 |
+
if debug:
|
| 223 |
+
num_elem = sum(s.numel() for s in frozen_param_shapes.values())
|
| 224 |
+
print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 225 |
+
|
| 226 |
+
wanted_params = len(frozen_param_shapes)
|
| 227 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 228 |
+
avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
|
| 229 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 230 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 231 |
+
|
| 232 |
+
total_params = 0
|
| 233 |
+
total_numel = 0
|
| 234 |
+
for name, shape in frozen_param_shapes.items():
|
| 235 |
+
total_params += 1
|
| 236 |
+
unpartitioned_numel = shape.numel()
|
| 237 |
+
total_numel += unpartitioned_numel
|
| 238 |
+
|
| 239 |
+
state_dict[name] = frozen_param_fragments[name]
|
| 240 |
+
|
| 241 |
+
if debug:
|
| 242 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 243 |
+
|
| 244 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
def _has_callable(obj, fn):
|
| 248 |
+
attr = getattr(obj, fn, None)
|
| 249 |
+
return callable(attr)
|
| 250 |
+
|
| 251 |
+
|
| 252 |
+
def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 253 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 254 |
+
|
| 255 |
+
# Reconstruction protocol:
|
| 256 |
+
#
|
| 257 |
+
# XXX: document this
|
| 258 |
+
|
| 259 |
+
if debug:
|
| 260 |
+
for i in range(world_size):
|
| 261 |
+
for j in range(len(fp32_flat_groups[0])):
|
| 262 |
+
print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
|
| 263 |
+
|
| 264 |
+
# XXX: memory usage doubles here (zero2)
|
| 265 |
+
num_param_groups = len(fp32_flat_groups[0])
|
| 266 |
+
merged_single_partition_of_fp32_groups = []
|
| 267 |
+
for i in range(num_param_groups):
|
| 268 |
+
merged_partitions = [sd[i] for sd in fp32_flat_groups]
|
| 269 |
+
full_single_fp32_vector = torch.cat(merged_partitions, 0)
|
| 270 |
+
merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
|
| 271 |
+
avail_numel = sum(
|
| 272 |
+
[full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
|
| 273 |
+
|
| 274 |
+
if debug:
|
| 275 |
+
wanted_params = sum([len(shapes) for shapes in param_shapes])
|
| 276 |
+
wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
|
| 277 |
+
# not asserting if there is a mismatch due to possible padding
|
| 278 |
+
print(f"Have {avail_numel} numels to process.")
|
| 279 |
+
print(f"Need {wanted_numel} numels in {wanted_params} params.")
|
| 280 |
+
|
| 281 |
+
# params
|
| 282 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 283 |
+
# out-of-core computing solution
|
| 284 |
+
total_numel = 0
|
| 285 |
+
total_params = 0
|
| 286 |
+
for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
|
| 287 |
+
offset = 0
|
| 288 |
+
avail_numel = full_single_fp32_vector.numel()
|
| 289 |
+
for name, shape in shapes.items():
|
| 290 |
+
|
| 291 |
+
unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
|
| 292 |
+
total_numel += unpartitioned_numel
|
| 293 |
+
total_params += 1
|
| 294 |
+
|
| 295 |
+
if debug:
|
| 296 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 297 |
+
state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
|
| 298 |
+
offset += unpartitioned_numel
|
| 299 |
+
|
| 300 |
+
# Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
|
| 301 |
+
# avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
|
| 302 |
+
# paddings performed in the code it's almost impossible to predict the exact numbers w/o the
|
| 303 |
+
# live optimizer object, so we are checking that the numbers are within the right range
|
| 304 |
+
align_to = 2 * world_size
|
| 305 |
+
|
| 306 |
+
def zero2_align(x):
|
| 307 |
+
return align_to * math.ceil(x / align_to)
|
| 308 |
+
|
| 309 |
+
if debug:
|
| 310 |
+
print(f"original offset={offset}, avail_numel={avail_numel}")
|
| 311 |
+
|
| 312 |
+
offset = zero2_align(offset)
|
| 313 |
+
avail_numel = zero2_align(avail_numel)
|
| 314 |
+
|
| 315 |
+
if debug:
|
| 316 |
+
print(f"aligned offset={offset}, avail_numel={avail_numel}")
|
| 317 |
+
|
| 318 |
+
# Sanity check
|
| 319 |
+
if offset != avail_numel:
|
| 320 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 321 |
+
|
| 322 |
+
print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
|
| 323 |
+
|
| 324 |
+
|
| 325 |
+
def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 326 |
+
exclude_frozen_parameters):
|
| 327 |
+
state_dict = OrderedDict()
|
| 328 |
+
|
| 329 |
+
# buffers
|
| 330 |
+
buffers = zero_model_states[0].buffers
|
| 331 |
+
state_dict.update(buffers)
|
| 332 |
+
if debug:
|
| 333 |
+
print(f"added {len(buffers)} buffers")
|
| 334 |
+
|
| 335 |
+
if not exclude_frozen_parameters:
|
| 336 |
+
_zero2_merge_frozen_params(state_dict, zero_model_states)
|
| 337 |
+
|
| 338 |
+
_zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 339 |
+
|
| 340 |
+
# recover shared parameters
|
| 341 |
+
for pair in zero_model_states[0].shared_params:
|
| 342 |
+
if pair[1] in state_dict:
|
| 343 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 344 |
+
|
| 345 |
+
return state_dict
|
| 346 |
+
|
| 347 |
+
|
| 348 |
+
def zero3_partitioned_param_info(unpartitioned_numel, world_size):
|
| 349 |
+
remainder = unpartitioned_numel % world_size
|
| 350 |
+
padding_numel = (world_size - remainder) if remainder else 0
|
| 351 |
+
partitioned_numel = math.ceil(unpartitioned_numel / world_size)
|
| 352 |
+
return partitioned_numel, padding_numel
|
| 353 |
+
|
| 354 |
+
|
| 355 |
+
def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
|
| 356 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 357 |
+
return
|
| 358 |
+
|
| 359 |
+
if debug:
|
| 360 |
+
for i in range(world_size):
|
| 361 |
+
num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
|
| 362 |
+
print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 363 |
+
|
| 364 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 365 |
+
wanted_params = len(frozen_param_shapes)
|
| 366 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 367 |
+
avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
|
| 368 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 369 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 370 |
+
|
| 371 |
+
total_params = 0
|
| 372 |
+
total_numel = 0
|
| 373 |
+
for name, shape in zero_model_states[0].frozen_param_shapes.items():
|
| 374 |
+
total_params += 1
|
| 375 |
+
unpartitioned_numel = shape.numel()
|
| 376 |
+
total_numel += unpartitioned_numel
|
| 377 |
+
|
| 378 |
+
param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
|
| 379 |
+
state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
|
| 380 |
+
|
| 381 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 382 |
+
|
| 383 |
+
if debug:
|
| 384 |
+
print(
|
| 385 |
+
f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 386 |
+
)
|
| 387 |
+
|
| 388 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 389 |
+
|
| 390 |
+
|
| 391 |
+
class GatheredTensor:
|
| 392 |
+
"""
|
| 393 |
+
A pseudo tensor that collects partitioned weights.
|
| 394 |
+
It is more memory efficient when there are multiple groups.
|
| 395 |
+
"""
|
| 396 |
+
|
| 397 |
+
def __init__(self, flat_groups, flat_groups_offset, offset, partitioned_numel, shape):
|
| 398 |
+
self.flat_groups = flat_groups
|
| 399 |
+
self.flat_groups_offset = flat_groups_offset
|
| 400 |
+
self.offset = offset
|
| 401 |
+
self.partitioned_numel = partitioned_numel
|
| 402 |
+
self.shape = shape
|
| 403 |
+
self.dtype = self.flat_groups[0][0].dtype
|
| 404 |
+
|
| 405 |
+
def contiguous(self):
|
| 406 |
+
"""
|
| 407 |
+
Merge partitioned weights from flat_groups into a single tensor.
|
| 408 |
+
"""
|
| 409 |
+
end_idx = self.offset + self.partitioned_numel
|
| 410 |
+
world_size = len(self.flat_groups)
|
| 411 |
+
pad_flat_param_chunks = []
|
| 412 |
+
|
| 413 |
+
for rank_i in range(world_size):
|
| 414 |
+
# for each rank, we need to collect weights from related group/groups
|
| 415 |
+
flat_groups_at_rank_i = self.flat_groups[rank_i]
|
| 416 |
+
start_group_id = None
|
| 417 |
+
end_group_id = None
|
| 418 |
+
for group_id in range(len(self.flat_groups_offset)):
|
| 419 |
+
if self.flat_groups_offset[group_id] <= self.offset < self.flat_groups_offset[group_id + 1]:
|
| 420 |
+
start_group_id = group_id
|
| 421 |
+
if self.flat_groups_offset[group_id] < end_idx <= self.flat_groups_offset[group_id + 1]:
|
| 422 |
+
end_group_id = group_id
|
| 423 |
+
break
|
| 424 |
+
# collect weights from related group/groups
|
| 425 |
+
for group_id in range(start_group_id, end_group_id + 1):
|
| 426 |
+
flat_tensor = flat_groups_at_rank_i[group_id]
|
| 427 |
+
start_offset = self.offset - self.flat_groups_offset[group_id]
|
| 428 |
+
end_offset = min(end_idx, self.flat_groups_offset[group_id + 1]) - self.flat_groups_offset[group_id]
|
| 429 |
+
pad_flat_param_chunks.append(flat_tensor[start_offset:end_offset])
|
| 430 |
+
|
| 431 |
+
# collect weights from all ranks
|
| 432 |
+
pad_flat_param = torch.cat(pad_flat_param_chunks, dim=0)
|
| 433 |
+
param = pad_flat_param[:self.shape.numel()].view(self.shape).contiguous()
|
| 434 |
+
return param
|
| 435 |
+
|
| 436 |
+
|
| 437 |
+
def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 438 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 439 |
+
avail_numel = sum([flat_group.numel() for flat_group in fp32_flat_groups[0]]) * world_size
|
| 440 |
+
|
| 441 |
+
# Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
|
| 442 |
+
# param, re-consolidating each param, while dealing with padding if any
|
| 443 |
+
|
| 444 |
+
# merge list of dicts, preserving order
|
| 445 |
+
param_shapes = {k: v for d in param_shapes for k, v in d.items()}
|
| 446 |
+
|
| 447 |
+
if debug:
|
| 448 |
+
for i in range(world_size):
|
| 449 |
+
print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
|
| 450 |
+
|
| 451 |
+
wanted_params = len(param_shapes)
|
| 452 |
+
wanted_numel = sum(shape.numel() for shape in param_shapes.values())
|
| 453 |
+
# not asserting if there is a mismatch due to possible padding
|
| 454 |
+
avail_numel = fp32_flat_groups[0].numel() * world_size
|
| 455 |
+
print(f"Trainable params: Have {avail_numel} numels to process.")
|
| 456 |
+
print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
|
| 457 |
+
|
| 458 |
+
# params
|
| 459 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 460 |
+
# out-of-core computing solution
|
| 461 |
+
offset = 0
|
| 462 |
+
total_numel = 0
|
| 463 |
+
total_params = 0
|
| 464 |
+
flat_groups_offset = [0] + list(np.cumsum([flat_tensor.numel() for flat_tensor in fp32_flat_groups[0]]))
|
| 465 |
+
for name, shape in tqdm(param_shapes.items(), desc='Gathering sharded weights'):
|
| 466 |
+
unpartitioned_numel = shape.numel()
|
| 467 |
+
total_numel += unpartitioned_numel
|
| 468 |
+
total_params += 1
|
| 469 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 470 |
+
|
| 471 |
+
if debug:
|
| 472 |
+
print(
|
| 473 |
+
f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 474 |
+
)
|
| 475 |
+
|
| 476 |
+
# memory efficient tensor
|
| 477 |
+
tensor = GatheredTensor(fp32_flat_groups, flat_groups_offset, offset, partitioned_numel, shape)
|
| 478 |
+
state_dict[name] = tensor
|
| 479 |
+
offset += partitioned_numel
|
| 480 |
+
|
| 481 |
+
offset *= world_size
|
| 482 |
+
|
| 483 |
+
# Sanity check
|
| 484 |
+
if offset != avail_numel:
|
| 485 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 486 |
+
|
| 487 |
+
print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
|
| 488 |
+
|
| 489 |
+
|
| 490 |
+
def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 491 |
+
exclude_frozen_parameters):
|
| 492 |
+
state_dict = OrderedDict()
|
| 493 |
+
|
| 494 |
+
# buffers
|
| 495 |
+
buffers = zero_model_states[0].buffers
|
| 496 |
+
state_dict.update(buffers)
|
| 497 |
+
if debug:
|
| 498 |
+
print(f"added {len(buffers)} buffers")
|
| 499 |
+
|
| 500 |
+
if not exclude_frozen_parameters:
|
| 501 |
+
_zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
|
| 502 |
+
|
| 503 |
+
_zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 504 |
+
|
| 505 |
+
# recover shared parameters
|
| 506 |
+
for pair in zero_model_states[0].shared_params:
|
| 507 |
+
if pair[1] in state_dict:
|
| 508 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 509 |
+
|
| 510 |
+
return state_dict
|
| 511 |
+
|
| 512 |
+
|
| 513 |
+
def to_torch_tensor(state_dict, return_empty_tensor=False):
|
| 514 |
+
"""
|
| 515 |
+
Convert state_dict of GatheredTensor to torch tensor
|
| 516 |
+
"""
|
| 517 |
+
torch_state_dict = {}
|
| 518 |
+
converted_tensors = {}
|
| 519 |
+
for name, tensor in state_dict.items():
|
| 520 |
+
tensor_id = id(tensor)
|
| 521 |
+
if tensor_id in converted_tensors: # shared tensors
|
| 522 |
+
shared_tensor = torch_state_dict[converted_tensors[tensor_id]]
|
| 523 |
+
torch_state_dict[name] = shared_tensor
|
| 524 |
+
else:
|
| 525 |
+
converted_tensors[tensor_id] = name
|
| 526 |
+
if return_empty_tensor:
|
| 527 |
+
torch_state_dict[name] = torch.empty(tensor.shape, dtype=tensor.dtype)
|
| 528 |
+
else:
|
| 529 |
+
torch_state_dict[name] = tensor.contiguous()
|
| 530 |
+
return torch_state_dict
|
| 531 |
+
|
| 532 |
+
|
| 533 |
+
def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 534 |
+
tag=None,
|
| 535 |
+
exclude_frozen_parameters=False,
|
| 536 |
+
lazy_mode=False):
|
| 537 |
+
"""
|
| 538 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
|
| 539 |
+
``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
|
| 540 |
+
via a model hub.
|
| 541 |
+
|
| 542 |
+
Args:
|
| 543 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder
|
| 544 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in 'latest' file. e.g., ``global_step14``
|
| 545 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 546 |
+
- ``lazy_mode``: get state_dict in lazy mode. It returns a dict of pesduo tensor instead of torch tensor, which is more memory efficient.
|
| 547 |
+
Convert the pesduo tensor to torch tensor by ``.contiguous()``
|
| 548 |
+
|
| 549 |
+
Returns:
|
| 550 |
+
- pytorch ``state_dict``
|
| 551 |
+
|
| 552 |
+
A typical usage might be ::
|
| 553 |
+
|
| 554 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 555 |
+
# do the training and checkpoint saving
|
| 556 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
|
| 557 |
+
model = model.cpu() # move to cpu
|
| 558 |
+
model.load_state_dict(state_dict)
|
| 559 |
+
# submit to model hub or save the model to share with others
|
| 560 |
+
|
| 561 |
+
In this example the ``model`` will no longer be usable in the deepspeed context of the same
|
| 562 |
+
application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 563 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 564 |
+
|
| 565 |
+
If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
|
| 566 |
+
|
| 567 |
+
Note: the above usage may not work if your application doesn't have sufficient free CPU memory.
|
| 568 |
+
You may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
|
| 569 |
+
the checkpoint. Or you can load state_dict in lazy mode ::
|
| 570 |
+
|
| 571 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 572 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, lazy_mode=True) # not on cpu
|
| 573 |
+
for name, lazy_tensor in state_dict.item():
|
| 574 |
+
tensor = lazy_tensor.contiguous() # to cpu
|
| 575 |
+
print(name, tensor)
|
| 576 |
+
# del tensor to release memory if it no longer in use
|
| 577 |
+
"""
|
| 578 |
+
if tag is None:
|
| 579 |
+
latest_path = os.path.join(checkpoint_dir, 'latest')
|
| 580 |
+
if os.path.isfile(latest_path):
|
| 581 |
+
with open(latest_path, 'r') as fd:
|
| 582 |
+
tag = fd.read().strip()
|
| 583 |
+
else:
|
| 584 |
+
raise ValueError(f"Unable to find 'latest' file at {latest_path}")
|
| 585 |
+
|
| 586 |
+
ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
|
| 587 |
+
|
| 588 |
+
if not os.path.isdir(ds_checkpoint_dir):
|
| 589 |
+
raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
|
| 590 |
+
|
| 591 |
+
state_dict = _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
|
| 592 |
+
if lazy_mode:
|
| 593 |
+
return state_dict
|
| 594 |
+
else:
|
| 595 |
+
return to_torch_tensor(state_dict)
|
| 596 |
+
|
| 597 |
+
|
| 598 |
+
def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir,
|
| 599 |
+
output_dir,
|
| 600 |
+
max_shard_size="5GB",
|
| 601 |
+
safe_serialization=False,
|
| 602 |
+
tag=None,
|
| 603 |
+
exclude_frozen_parameters=False):
|
| 604 |
+
"""
|
| 605 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
|
| 606 |
+
loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
|
| 607 |
+
|
| 608 |
+
Args:
|
| 609 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 610 |
+
- ``output_dir``: directory to the pytorch fp32 state_dict output files
|
| 611 |
+
- ``max_shard_size``: the maximum size for a checkpoint before being sharded, default value is 5GB
|
| 612 |
+
- ``safe_serialization``: whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).
|
| 613 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 614 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 615 |
+
"""
|
| 616 |
+
|
| 617 |
+
# Dependency pre-check
|
| 618 |
+
if safe_serialization:
|
| 619 |
+
try:
|
| 620 |
+
from safetensors.torch import save_file
|
| 621 |
+
except ImportError:
|
| 622 |
+
print('If you want to use `safe_serialization`, please `pip install safetensors`')
|
| 623 |
+
raise
|
| 624 |
+
if max_shard_size is not None:
|
| 625 |
+
try:
|
| 626 |
+
from huggingface_hub import split_torch_state_dict_into_shards
|
| 627 |
+
except ImportError:
|
| 628 |
+
print('If you want to use `max_shard_size`, please `pip install huggingface_hub`')
|
| 629 |
+
raise
|
| 630 |
+
|
| 631 |
+
# Convert zero checkpoint to state_dict
|
| 632 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 633 |
+
tag,
|
| 634 |
+
exclude_frozen_parameters,
|
| 635 |
+
lazy_mode=True)
|
| 636 |
+
|
| 637 |
+
# Shard the model if it is too big.
|
| 638 |
+
weights_name = "model.safetensors" if safe_serialization else "pytorch_model.bin"
|
| 639 |
+
if max_shard_size is not None:
|
| 640 |
+
filename_pattern = weights_name.replace(".bin", "{suffix}.bin").replace(".safetensors", "{suffix}.safetensors")
|
| 641 |
+
# an memory-efficient approach for sharding
|
| 642 |
+
empty_state_dict = to_torch_tensor(state_dict, return_empty_tensor=True)
|
| 643 |
+
state_dict_split = split_torch_state_dict_into_shards(empty_state_dict,
|
| 644 |
+
filename_pattern=filename_pattern,
|
| 645 |
+
max_shard_size=max_shard_size)
|
| 646 |
+
else:
|
| 647 |
+
from collections import namedtuple
|
| 648 |
+
StateDictSplit = namedtuple("StateDictSplit", ["is_sharded", "filename_to_tensors"])
|
| 649 |
+
state_dict_split = StateDictSplit(is_sharded=False,
|
| 650 |
+
filename_to_tensors={weights_name: list(state_dict.keys())})
|
| 651 |
+
|
| 652 |
+
# Save the model by shard
|
| 653 |
+
os.makedirs(output_dir, exist_ok=True)
|
| 654 |
+
filename_to_tensors = state_dict_split.filename_to_tensors.items()
|
| 655 |
+
for shard_file, tensors in tqdm(filename_to_tensors, desc="Saving checkpoint shards"):
|
| 656 |
+
shard_state_dict = {tensor_name: state_dict[tensor_name] for tensor_name in tensors}
|
| 657 |
+
shard_state_dict = to_torch_tensor(shard_state_dict)
|
| 658 |
+
output_path = os.path.join(output_dir, shard_file)
|
| 659 |
+
if safe_serialization:
|
| 660 |
+
save_file(shard_state_dict, output_path, metadata={"format": "pt"})
|
| 661 |
+
else:
|
| 662 |
+
torch.save(shard_state_dict, output_path)
|
| 663 |
+
# release the memory of current shard
|
| 664 |
+
for tensor_name in list(shard_state_dict.keys()):
|
| 665 |
+
del state_dict[tensor_name]
|
| 666 |
+
del shard_state_dict[tensor_name]
|
| 667 |
+
del shard_state_dict
|
| 668 |
+
gc.collect()
|
| 669 |
+
|
| 670 |
+
# Save index if sharded
|
| 671 |
+
if state_dict_split.is_sharded:
|
| 672 |
+
index = {
|
| 673 |
+
"metadata": state_dict_split.metadata,
|
| 674 |
+
"weight_map": state_dict_split.tensor_to_filename,
|
| 675 |
+
}
|
| 676 |
+
save_index_file = "model.safetensors.index.json" if safe_serialization else "pytorch_model.bin.index.json"
|
| 677 |
+
save_index_file = os.path.join(output_dir, save_index_file)
|
| 678 |
+
with open(save_index_file, "w", encoding="utf-8") as f:
|
| 679 |
+
content = json.dumps(index, indent=2, sort_keys=True) + "\n"
|
| 680 |
+
f.write(content)
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
|
| 684 |
+
"""
|
| 685 |
+
1. Put the provided model to cpu
|
| 686 |
+
2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
|
| 687 |
+
3. Load it into the provided model
|
| 688 |
+
|
| 689 |
+
Args:
|
| 690 |
+
- ``model``: the model object to update
|
| 691 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 692 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 693 |
+
|
| 694 |
+
Returns:
|
| 695 |
+
- ``model`: modified model
|
| 696 |
+
|
| 697 |
+
Make sure you have plenty of CPU memory available before you call this function. If you don't
|
| 698 |
+
have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
|
| 699 |
+
conveniently placed for you in the checkpoint folder.
|
| 700 |
+
|
| 701 |
+
A typical usage might be ::
|
| 702 |
+
|
| 703 |
+
from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
|
| 704 |
+
model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
|
| 705 |
+
# submit to model hub or save the model to share with others
|
| 706 |
+
|
| 707 |
+
Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
|
| 708 |
+
of the same application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 709 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 710 |
+
|
| 711 |
+
"""
|
| 712 |
+
logger.info("Extracting fp32 weights")
|
| 713 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
|
| 714 |
+
|
| 715 |
+
logger.info("Overwriting model with fp32 weights")
|
| 716 |
+
model = model.cpu()
|
| 717 |
+
model.load_state_dict(state_dict, strict=False)
|
| 718 |
+
|
| 719 |
+
return model
|
| 720 |
+
|
| 721 |
+
|
| 722 |
+
if __name__ == "__main__":
|
| 723 |
+
parser = argparse.ArgumentParser()
|
| 724 |
+
parser.add_argument("checkpoint_dir",
|
| 725 |
+
type=str,
|
| 726 |
+
help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
|
| 727 |
+
parser.add_argument("output_dir",
|
| 728 |
+
type=str,
|
| 729 |
+
help="directory to the pytorch fp32 state_dict output files"
|
| 730 |
+
"(e.g. path/checkpoint-12-output/)")
|
| 731 |
+
parser.add_argument(
|
| 732 |
+
"--max_shard_size",
|
| 733 |
+
type=str,
|
| 734 |
+
default="5GB",
|
| 735 |
+
help="The maximum size for a checkpoint before being sharded. Checkpoints shard will then be each of size"
|
| 736 |
+
"lower than this size. If expressed as a string, needs to be digits followed by a unit (like `5MB`"
|
| 737 |
+
"We default it to 5GB in order for models to be able to run easily on free-tier google colab instances"
|
| 738 |
+
"without CPU OOM issues.")
|
| 739 |
+
parser.add_argument(
|
| 740 |
+
"--safe_serialization",
|
| 741 |
+
default=False,
|
| 742 |
+
action='store_true',
|
| 743 |
+
help="Whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).")
|
| 744 |
+
parser.add_argument("-t",
|
| 745 |
+
"--tag",
|
| 746 |
+
type=str,
|
| 747 |
+
default=None,
|
| 748 |
+
help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
|
| 749 |
+
parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
|
| 750 |
+
parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
|
| 751 |
+
args = parser.parse_args()
|
| 752 |
+
|
| 753 |
+
debug = args.debug
|
| 754 |
+
|
| 755 |
+
convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
|
| 756 |
+
args.output_dir,
|
| 757 |
+
max_shard_size=args.max_shard_size,
|
| 758 |
+
safe_serialization=args.safe_serialization,
|
| 759 |
+
tag=args.tag,
|
| 760 |
+
exclude_frozen_parameters=args.exclude_frozen_parameters)
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/checkpoint-178/README.md
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: /cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500
|
| 7 |
+
- lora
|
| 8 |
+
- transformers
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Model Card for Model ID
|
| 12 |
+
|
| 13 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
## Model Details
|
| 18 |
+
|
| 19 |
+
### Model Description
|
| 20 |
+
|
| 21 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
- **Developed by:** [More Information Needed]
|
| 26 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 27 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 28 |
+
- **Model type:** [More Information Needed]
|
| 29 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 30 |
+
- **License:** [More Information Needed]
|
| 31 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 32 |
+
|
| 33 |
+
### Model Sources [optional]
|
| 34 |
+
|
| 35 |
+
<!-- Provide the basic links for the model. -->
|
| 36 |
+
|
| 37 |
+
- **Repository:** [More Information Needed]
|
| 38 |
+
- **Paper [optional]:** [More Information Needed]
|
| 39 |
+
- **Demo [optional]:** [More Information Needed]
|
| 40 |
+
|
| 41 |
+
## Uses
|
| 42 |
+
|
| 43 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 44 |
+
|
| 45 |
+
### Direct Use
|
| 46 |
+
|
| 47 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 48 |
+
|
| 49 |
+
[More Information Needed]
|
| 50 |
+
|
| 51 |
+
### Downstream Use [optional]
|
| 52 |
+
|
| 53 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 54 |
+
|
| 55 |
+
[More Information Needed]
|
| 56 |
+
|
| 57 |
+
### Out-of-Scope Use
|
| 58 |
+
|
| 59 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 60 |
+
|
| 61 |
+
[More Information Needed]
|
| 62 |
+
|
| 63 |
+
## Bias, Risks, and Limitations
|
| 64 |
+
|
| 65 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 66 |
+
|
| 67 |
+
[More Information Needed]
|
| 68 |
+
|
| 69 |
+
### Recommendations
|
| 70 |
+
|
| 71 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 72 |
+
|
| 73 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 74 |
+
|
| 75 |
+
## How to Get Started with the Model
|
| 76 |
+
|
| 77 |
+
Use the code below to get started with the model.
|
| 78 |
+
|
| 79 |
+
[More Information Needed]
|
| 80 |
+
|
| 81 |
+
## Training Details
|
| 82 |
+
|
| 83 |
+
### Training Data
|
| 84 |
+
|
| 85 |
+
<!-- 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. -->
|
| 86 |
+
|
| 87 |
+
[More Information Needed]
|
| 88 |
+
|
| 89 |
+
### Training Procedure
|
| 90 |
+
|
| 91 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 92 |
+
|
| 93 |
+
#### Preprocessing [optional]
|
| 94 |
+
|
| 95 |
+
[More Information Needed]
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
#### Training Hyperparameters
|
| 99 |
+
|
| 100 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 101 |
+
|
| 102 |
+
#### Speeds, Sizes, Times [optional]
|
| 103 |
+
|
| 104 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 105 |
+
|
| 106 |
+
[More Information Needed]
|
| 107 |
+
|
| 108 |
+
## Evaluation
|
| 109 |
+
|
| 110 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 111 |
+
|
| 112 |
+
### Testing Data, Factors & Metrics
|
| 113 |
+
|
| 114 |
+
#### Testing Data
|
| 115 |
+
|
| 116 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 117 |
+
|
| 118 |
+
[More Information Needed]
|
| 119 |
+
|
| 120 |
+
#### Factors
|
| 121 |
+
|
| 122 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 123 |
+
|
| 124 |
+
[More Information Needed]
|
| 125 |
+
|
| 126 |
+
#### Metrics
|
| 127 |
+
|
| 128 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 129 |
+
|
| 130 |
+
[More Information Needed]
|
| 131 |
+
|
| 132 |
+
### Results
|
| 133 |
+
|
| 134 |
+
[More Information Needed]
|
| 135 |
+
|
| 136 |
+
#### Summary
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
## Model Examination [optional]
|
| 141 |
+
|
| 142 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 143 |
+
|
| 144 |
+
[More Information Needed]
|
| 145 |
+
|
| 146 |
+
## Environmental Impact
|
| 147 |
+
|
| 148 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 149 |
+
|
| 150 |
+
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).
|
| 151 |
+
|
| 152 |
+
- **Hardware Type:** [More Information Needed]
|
| 153 |
+
- **Hours used:** [More Information Needed]
|
| 154 |
+
- **Cloud Provider:** [More Information Needed]
|
| 155 |
+
- **Compute Region:** [More Information Needed]
|
| 156 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 157 |
+
|
| 158 |
+
## Technical Specifications [optional]
|
| 159 |
+
|
| 160 |
+
### Model Architecture and Objective
|
| 161 |
+
|
| 162 |
+
[More Information Needed]
|
| 163 |
+
|
| 164 |
+
### Compute Infrastructure
|
| 165 |
+
|
| 166 |
+
[More Information Needed]
|
| 167 |
+
|
| 168 |
+
#### Hardware
|
| 169 |
+
|
| 170 |
+
[More Information Needed]
|
| 171 |
+
|
| 172 |
+
#### Software
|
| 173 |
+
|
| 174 |
+
[More Information Needed]
|
| 175 |
+
|
| 176 |
+
## Citation [optional]
|
| 177 |
+
|
| 178 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 179 |
+
|
| 180 |
+
**BibTeX:**
|
| 181 |
+
|
| 182 |
+
[More Information Needed]
|
| 183 |
+
|
| 184 |
+
**APA:**
|
| 185 |
+
|
| 186 |
+
[More Information Needed]
|
| 187 |
+
|
| 188 |
+
## Glossary [optional]
|
| 189 |
+
|
| 190 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 191 |
+
|
| 192 |
+
[More Information Needed]
|
| 193 |
+
|
| 194 |
+
## More Information [optional]
|
| 195 |
+
|
| 196 |
+
[More Information Needed]
|
| 197 |
+
|
| 198 |
+
## Model Card Authors [optional]
|
| 199 |
+
|
| 200 |
+
[More Information Needed]
|
| 201 |
+
|
| 202 |
+
## Model Card Contact
|
| 203 |
+
|
| 204 |
+
[More Information Needed]
|
| 205 |
+
### Framework versions
|
| 206 |
+
|
| 207 |
+
- PEFT 0.18.1
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/checkpoint-178/adapter_config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 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": 64,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": [],
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 32,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": "^(model.language_model.*\\.(down_proj|k_proj|q_proj|v_proj|gate_proj|o_proj|up_proj)|(?!(model.visual.merger|model.visual.deepstack_merger_list))model.visual.*\\.(linear_fc2|attn.proj|qkv|linear_fc1)|model.visual.merger.*\\.(linear_fc1|linear_fc2)|model.visual.deepstack_merger_list.*\\.(linear_fc1|linear_fc2))$",
|
| 32 |
+
"target_parameters": null,
|
| 33 |
+
"task_type": "CAUSAL_LM",
|
| 34 |
+
"trainable_token_indices": null,
|
| 35 |
+
"use_dora": false,
|
| 36 |
+
"use_qalora": false,
|
| 37 |
+
"use_rslora": false
|
| 38 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/chec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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"output_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train",
|
| 3 |
+
"overwrite_output_dir": false,
|
| 4 |
+
"do_train": false,
|
| 5 |
+
"do_eval": false,
|
| 6 |
+
"do_predict": false,
|
| 7 |
+
"eval_strategy": "no",
|
| 8 |
+
"prediction_loss_only": false,
|
| 9 |
+
"per_device_train_batch_size": 8,
|
| 10 |
+
"per_device_eval_batch_size": 1,
|
| 11 |
+
"per_gpu_train_batch_size": null,
|
| 12 |
+
"per_gpu_eval_batch_size": null,
|
| 13 |
+
"gradient_accumulation_steps": 1,
|
| 14 |
+
"eval_accumulation_steps": null,
|
| 15 |
+
"eval_delay": 0,
|
| 16 |
+
"torch_empty_cache_steps": null,
|
| 17 |
+
"learning_rate": 5e-05,
|
| 18 |
+
"weight_decay": 0.01,
|
| 19 |
+
"adam_beta1": 0.9,
|
| 20 |
+
"adam_beta2": 0.95,
|
| 21 |
+
"adam_epsilon": 1e-08,
|
| 22 |
+
"max_grad_norm": 1.0,
|
| 23 |
+
"num_train_epochs": 1.0,
|
| 24 |
+
"max_steps": -1,
|
| 25 |
+
"lr_scheduler_type": "cosine",
|
| 26 |
+
"lr_scheduler_kwargs": null,
|
| 27 |
+
"warmup_ratio": 0.03,
|
| 28 |
+
"warmup_steps": 0,
|
| 29 |
+
"log_level": "passive",
|
| 30 |
+
"log_level_replica": "warning",
|
| 31 |
+
"log_on_each_node": true,
|
| 32 |
+
"logging_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/runs",
|
| 33 |
+
"logging_strategy": "steps",
|
| 34 |
+
"logging_first_step": true,
|
| 35 |
+
"logging_steps": 5,
|
| 36 |
+
"logging_nan_inf_filter": true,
|
| 37 |
+
"save_strategy": "steps",
|
| 38 |
+
"save_steps": 100.0,
|
| 39 |
+
"save_total_limit": 0,
|
| 40 |
+
"save_safetensors": true,
|
| 41 |
+
"save_on_each_node": false,
|
| 42 |
+
"save_only_model": false,
|
| 43 |
+
"restore_callback_states_from_checkpoint": false,
|
| 44 |
+
"no_cuda": false,
|
| 45 |
+
"use_cpu": false,
|
| 46 |
+
"use_mps_device": false,
|
| 47 |
+
"seed": 42,
|
| 48 |
+
"data_seed": 42,
|
| 49 |
+
"jit_mode_eval": false,
|
| 50 |
+
"bf16": true,
|
| 51 |
+
"fp16": false,
|
| 52 |
+
"fp16_opt_level": "O1",
|
| 53 |
+
"half_precision_backend": "auto",
|
| 54 |
+
"bf16_full_eval": false,
|
| 55 |
+
"fp16_full_eval": false,
|
| 56 |
+
"tf32": null,
|
| 57 |
+
"local_rank": 0,
|
| 58 |
+
"ddp_backend": null,
|
| 59 |
+
"tpu_num_cores": null,
|
| 60 |
+
"tpu_metrics_debug": false,
|
| 61 |
+
"debug": null,
|
| 62 |
+
"dataloader_drop_last": false,
|
| 63 |
+
"eval_steps": null,
|
| 64 |
+
"dataloader_num_workers": 4,
|
| 65 |
+
"dataloader_prefetch_factor": null,
|
| 66 |
+
"past_index": -1,
|
| 67 |
+
"run_name": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train",
|
| 68 |
+
"disable_tqdm": null,
|
| 69 |
+
"remove_unused_columns": false,
|
| 70 |
+
"label_names": null,
|
| 71 |
+
"load_best_model_at_end": false,
|
| 72 |
+
"metric_for_best_model": "loss",
|
| 73 |
+
"greater_is_better": false,
|
| 74 |
+
"ignore_data_skip": false,
|
| 75 |
+
"fsdp": [],
|
| 76 |
+
"fsdp_min_num_params": 0,
|
| 77 |
+
"fsdp_config": null,
|
| 78 |
+
"fsdp_transformer_layer_cls_to_wrap": null,
|
| 79 |
+
"accelerator_config": {
|
| 80 |
+
"dispatch_batches": false
|
| 81 |
+
},
|
| 82 |
+
"parallelism_config": null,
|
| 83 |
+
"deepspeed": {
|
| 84 |
+
"fp16": {
|
| 85 |
+
"enabled": "auto",
|
| 86 |
+
"loss_scale": 0,
|
| 87 |
+
"loss_scale_window": 1000,
|
| 88 |
+
"initial_scale_power": 16,
|
| 89 |
+
"hysteresis": 2,
|
| 90 |
+
"min_loss_scale": 1
|
| 91 |
+
},
|
| 92 |
+
"bf16": {
|
| 93 |
+
"enabled": "auto"
|
| 94 |
+
},
|
| 95 |
+
"zero_optimization": {
|
| 96 |
+
"stage": 2,
|
| 97 |
+
"offload_optimizer": {
|
| 98 |
+
"device": "none",
|
| 99 |
+
"pin_memory": true
|
| 100 |
+
},
|
| 101 |
+
"allgather_partitions": true,
|
| 102 |
+
"allgather_bucket_size": 200000000.0,
|
| 103 |
+
"overlap_comm": false,
|
| 104 |
+
"reduce_scatter": true,
|
| 105 |
+
"reduce_bucket_size": 200000000.0,
|
| 106 |
+
"contiguous_gradients": true
|
| 107 |
+
},
|
| 108 |
+
"gradient_accumulation_steps": "auto",
|
| 109 |
+
"gradient_clipping": "auto",
|
| 110 |
+
"steps_per_print": 2000,
|
| 111 |
+
"train_batch_size": "auto",
|
| 112 |
+
"train_micro_batch_size_per_gpu": "auto",
|
| 113 |
+
"wall_clock_breakdown": false
|
| 114 |
+
},
|
| 115 |
+
"label_smoothing_factor": 0.0,
|
| 116 |
+
"optim": "adamw_torch_fused",
|
| 117 |
+
"optim_args": null,
|
| 118 |
+
"adafactor": false,
|
| 119 |
+
"group_by_length": false,
|
| 120 |
+
"length_column_name": "length",
|
| 121 |
+
"report_to": [
|
| 122 |
+
"tensorboard"
|
| 123 |
+
],
|
| 124 |
+
"project": "huggingface",
|
| 125 |
+
"trackio_space_id": "trackio",
|
| 126 |
+
"ddp_find_unused_parameters": null,
|
| 127 |
+
"ddp_bucket_cap_mb": null,
|
| 128 |
+
"ddp_broadcast_buffers": null,
|
| 129 |
+
"dataloader_pin_memory": true,
|
| 130 |
+
"dataloader_persistent_workers": false,
|
| 131 |
+
"skip_memory_metrics": true,
|
| 132 |
+
"use_legacy_prediction_loop": false,
|
| 133 |
+
"push_to_hub": false,
|
| 134 |
+
"resume_from_checkpoint": null,
|
| 135 |
+
"hub_model_id": null,
|
| 136 |
+
"hub_strategy": "every_save",
|
| 137 |
+
"hub_token": null,
|
| 138 |
+
"hub_private_repo": null,
|
| 139 |
+
"hub_always_push": false,
|
| 140 |
+
"hub_revision": null,
|
| 141 |
+
"gradient_checkpointing": true,
|
| 142 |
+
"gradient_checkpointing_kwargs": "{\"use_reentrant\": false}",
|
| 143 |
+
"include_inputs_for_metrics": false,
|
| 144 |
+
"include_for_metrics": [],
|
| 145 |
+
"eval_do_concat_batches": true,
|
| 146 |
+
"fp16_backend": "auto",
|
| 147 |
+
"push_to_hub_model_id": null,
|
| 148 |
+
"push_to_hub_organization": null,
|
| 149 |
+
"push_to_hub_token": null,
|
| 150 |
+
"mp_parameters": "",
|
| 151 |
+
"auto_find_batch_size": false,
|
| 152 |
+
"full_determinism": false,
|
| 153 |
+
"torchdynamo": null,
|
| 154 |
+
"ray_scope": "last",
|
| 155 |
+
"ddp_timeout": 18000000,
|
| 156 |
+
"torch_compile": false,
|
| 157 |
+
"torch_compile_backend": null,
|
| 158 |
+
"torch_compile_mode": null,
|
| 159 |
+
"include_tokens_per_second": false,
|
| 160 |
+
"include_num_input_tokens_seen": false,
|
| 161 |
+
"neftune_noise_alpha": null,
|
| 162 |
+
"optim_target_modules": null,
|
| 163 |
+
"batch_eval_metrics": false,
|
| 164 |
+
"eval_on_start": false,
|
| 165 |
+
"use_liger_kernel": false,
|
| 166 |
+
"liger_kernel_config": null,
|
| 167 |
+
"eval_use_gather_object": false,
|
| 168 |
+
"average_tokens_across_devices": false,
|
| 169 |
+
"sortish_sampler": false,
|
| 170 |
+
"predict_with_generate": false,
|
| 171 |
+
"generation_max_length": null,
|
| 172 |
+
"generation_num_beams": null,
|
| 173 |
+
"generation_config": null,
|
| 174 |
+
"tuner_backend": "peft",
|
| 175 |
+
"vit_gradient_checkpointing": true,
|
| 176 |
+
"router_aux_loss_coef": 0.0,
|
| 177 |
+
"enable_dft_loss": false,
|
| 178 |
+
"enable_channel_loss": false,
|
| 179 |
+
"check_model": true,
|
| 180 |
+
"acc_strategy": "token",
|
| 181 |
+
"train_dataloader_shuffle": true,
|
| 182 |
+
"max_epochs": null,
|
| 183 |
+
"aligner_lr": 2e-05,
|
| 184 |
+
"vit_lr": 1e-05,
|
| 185 |
+
"use_logits_to_keep": true,
|
| 186 |
+
"ds3_gather_for_generation": true,
|
| 187 |
+
"resume_only_model": false,
|
| 188 |
+
"optimizer": "multimodal",
|
| 189 |
+
"loss_type": "planning_modes",
|
| 190 |
+
"eval_metric": null,
|
| 191 |
+
"callbacks": [
|
| 192 |
+
"lora_2955_checks"
|
| 193 |
+
],
|
| 194 |
+
"early_stop_interval": null,
|
| 195 |
+
"eval_use_evalscope": false,
|
| 196 |
+
"eval_dataset": [],
|
| 197 |
+
"eval_dataset_args": null,
|
| 198 |
+
"eval_limit": null,
|
| 199 |
+
"eval_generation_config": null,
|
| 200 |
+
"extra_eval_args": null,
|
| 201 |
+
"tuner_type": "lora",
|
| 202 |
+
"use_galore": false,
|
| 203 |
+
"galore_target_modules": null,
|
| 204 |
+
"galore_rank": 128,
|
| 205 |
+
"galore_update_proj_gap": 50,
|
| 206 |
+
"galore_scale": 1.0,
|
| 207 |
+
"galore_proj_type": "std",
|
| 208 |
+
"galore_optim_per_parameter": false,
|
| 209 |
+
"galore_with_embedding": false,
|
| 210 |
+
"galore_quantization": false,
|
| 211 |
+
"galore_proj_quant": false,
|
| 212 |
+
"galore_proj_bits": 4,
|
| 213 |
+
"galore_proj_group_size": 256,
|
| 214 |
+
"galore_cos_threshold": 0.4,
|
| 215 |
+
"galore_gamma_proj": 2,
|
| 216 |
+
"galore_queue_size": 5,
|
| 217 |
+
"lisa_activated_layers": 0,
|
| 218 |
+
"lisa_step_interval": 20,
|
| 219 |
+
"use_flash_ckpt": false,
|
| 220 |
+
"use_ray": false,
|
| 221 |
+
"ray_exp_name": null,
|
| 222 |
+
"device_groups": null,
|
| 223 |
+
"model": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 224 |
+
"model_type": "qwen3_vl",
|
| 225 |
+
"model_revision": null,
|
| 226 |
+
"task_type": "causal_lm",
|
| 227 |
+
"torch_dtype": "bfloat16",
|
| 228 |
+
"attn_impl": "sdpa",
|
| 229 |
+
"experts_impl": null,
|
| 230 |
+
"new_special_tokens": [],
|
| 231 |
+
"num_labels": null,
|
| 232 |
+
"problem_type": null,
|
| 233 |
+
"rope_scaling": null,
|
| 234 |
+
"device_map": null,
|
| 235 |
+
"max_memory": {},
|
| 236 |
+
"max_model_len": null,
|
| 237 |
+
"local_repo_path": null,
|
| 238 |
+
"init_strategy": null,
|
| 239 |
+
"template": "qwen3_vl_planning_modes",
|
| 240 |
+
"system": null,
|
| 241 |
+
"max_length": 8192,
|
| 242 |
+
"truncation_strategy": "delete",
|
| 243 |
+
"max_pixels": 196608,
|
| 244 |
+
"agent_template": null,
|
| 245 |
+
"norm_bbox": null,
|
| 246 |
+
"use_chat_template": true,
|
| 247 |
+
"padding_side": "right",
|
| 248 |
+
"padding_free": false,
|
| 249 |
+
"loss_scale": "default",
|
| 250 |
+
"sequence_parallel_size": 1,
|
| 251 |
+
"template_backend": "swift",
|
| 252 |
+
"response_prefix": null,
|
| 253 |
+
"enable_thinking": false,
|
| 254 |
+
"add_non_thinking_prefix": false,
|
| 255 |
+
"dataset": [
|
| 256 |
+
"/cephfs/zhengwc/nuReasoning/dataset/sft/reasoning_modes_v1/m45/planning_train.jsonl"
|
| 257 |
+
],
|
| 258 |
+
"val_dataset": [],
|
| 259 |
+
"cached_dataset": [],
|
| 260 |
+
"cached_val_dataset": [],
|
| 261 |
+
"split_dataset_ratio": 0.0,
|
| 262 |
+
"dataset_num_proc": 1,
|
| 263 |
+
"load_from_cache_file": false,
|
| 264 |
+
"dataset_shuffle": true,
|
| 265 |
+
"val_dataset_shuffle": false,
|
| 266 |
+
"streaming": false,
|
| 267 |
+
"interleave_prob": null,
|
| 268 |
+
"stopping_strategy": "first_exhausted",
|
| 269 |
+
"shuffle_buffer_size": 1000,
|
| 270 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 271 |
+
"columns": {},
|
| 272 |
+
"strict": true,
|
| 273 |
+
"model_name": null,
|
| 274 |
+
"model_author": null,
|
| 275 |
+
"custom_dataset_info": [],
|
| 276 |
+
"quant_method": null,
|
| 277 |
+
"quant_bits": null,
|
| 278 |
+
"hqq_axis": null,
|
| 279 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 280 |
+
"bnb_4bit_quant_type": "nf4",
|
| 281 |
+
"bnb_4bit_use_double_quant": true,
|
| 282 |
+
"bnb_4bit_quant_storage": null,
|
| 283 |
+
"max_new_tokens": 64,
|
| 284 |
+
"temperature": 0.0,
|
| 285 |
+
"top_k": null,
|
| 286 |
+
"top_p": null,
|
| 287 |
+
"repetition_penalty": null,
|
| 288 |
+
"num_beams": 1,
|
| 289 |
+
"stream": false,
|
| 290 |
+
"stop_words": [],
|
| 291 |
+
"logprobs": false,
|
| 292 |
+
"top_logprobs": null,
|
| 293 |
+
"structured_outputs_regex": null,
|
| 294 |
+
"train_type": null,
|
| 295 |
+
"adapters": [],
|
| 296 |
+
"external_plugins": [
|
| 297 |
+
"/cephfs/zhengwc/nuReasoning/logs/reasoning_modes_16gpu/20261103-1420/m45/swift_planning_modes.py",
|
| 298 |
+
"/cephfs/zhengwc/nuReasoning/logs/reasoning_modes_16gpu/20261103-1420/m45/lora_2955_callbacks.py"
|
| 299 |
+
],
|
| 300 |
+
"custom_register_path": [],
|
| 301 |
+
"model_kwargs": {},
|
| 302 |
+
"load_args": false,
|
| 303 |
+
"load_data_args": false,
|
| 304 |
+
"packing": false,
|
| 305 |
+
"packing_length": null,
|
| 306 |
+
"packing_num_proc": 1,
|
| 307 |
+
"lazy_tokenize": true,
|
| 308 |
+
"use_hf": true,
|
| 309 |
+
"ignore_args_error": false,
|
| 310 |
+
"use_swift_lora": false,
|
| 311 |
+
"freeze_parameters": [],
|
| 312 |
+
"freeze_parameters_regex": null,
|
| 313 |
+
"freeze_parameters_ratio": 0.0,
|
| 314 |
+
"trainable_parameters": [],
|
| 315 |
+
"trainable_parameters_regex": null,
|
| 316 |
+
"freeze_llm": false,
|
| 317 |
+
"freeze_vit": false,
|
| 318 |
+
"freeze_aligner": false,
|
| 319 |
+
"target_modules": [
|
| 320 |
+
"all-linear"
|
| 321 |
+
],
|
| 322 |
+
"target_regex": null,
|
| 323 |
+
"target_parameters": null,
|
| 324 |
+
"modules_to_save": [],
|
| 325 |
+
"lora_rank": 32,
|
| 326 |
+
"lora_alpha": 64,
|
| 327 |
+
"lora_dropout": 0.05,
|
| 328 |
+
"lora_bias": "none",
|
| 329 |
+
"lora_dtype": null,
|
| 330 |
+
"lorap_lr_ratio": null,
|
| 331 |
+
"use_rslora": false,
|
| 332 |
+
"use_dora": false,
|
| 333 |
+
"lora_ga_batch_size": 2,
|
| 334 |
+
"lora_ga_iters": 2,
|
| 335 |
+
"lora_ga_max_length": 1024,
|
| 336 |
+
"lora_ga_direction": "ArB2r",
|
| 337 |
+
"lora_ga_scale": "stable",
|
| 338 |
+
"lora_ga_stable_gamma": 16,
|
| 339 |
+
"init_weights": true,
|
| 340 |
+
"fourier_n_frequency": 2000,
|
| 341 |
+
"fourier_scaling": 300.0,
|
| 342 |
+
"boft_block_size": 4,
|
| 343 |
+
"boft_block_num": 0,
|
| 344 |
+
"boft_n_butterfly_factor": 1,
|
| 345 |
+
"boft_dropout": 0.0,
|
| 346 |
+
"vera_rank": 256,
|
| 347 |
+
"vera_projection_prng_key": 0,
|
| 348 |
+
"vera_dropout": 0.0,
|
| 349 |
+
"vera_d_initial": 0.1,
|
| 350 |
+
"adapter_act": "gelu",
|
| 351 |
+
"adapter_length": 128,
|
| 352 |
+
"adalora_target_r": 8,
|
| 353 |
+
"adalora_init_r": 12,
|
| 354 |
+
"adalora_tinit": 0,
|
| 355 |
+
"adalora_tfinal": 0,
|
| 356 |
+
"adalora_deltaT": 1,
|
| 357 |
+
"adalora_beta1": 0.85,
|
| 358 |
+
"adalora_beta2": 0.85,
|
| 359 |
+
"adalora_orth_reg_weight": 0.5,
|
| 360 |
+
"llamapro_num_new_blocks": 4,
|
| 361 |
+
"llamapro_num_groups": null,
|
| 362 |
+
"reft_layer_key": null,
|
| 363 |
+
"reft_layers": null,
|
| 364 |
+
"reft_rank": 4,
|
| 365 |
+
"reft_intervention_type": "LoreftIntervention",
|
| 366 |
+
"reft_args": null,
|
| 367 |
+
"swanlab_token": null,
|
| 368 |
+
"swanlab_project": "ms-swift",
|
| 369 |
+
"swanlab_workspace": null,
|
| 370 |
+
"swanlab_exp_name": null,
|
| 371 |
+
"swanlab_notification_method": null,
|
| 372 |
+
"swanlab_webhook_url": null,
|
| 373 |
+
"swanlab_secret": null,
|
| 374 |
+
"swanlab_sender_email": null,
|
| 375 |
+
"swanlab_receiver_email": null,
|
| 376 |
+
"swanlab_smtp_server": null,
|
| 377 |
+
"swanlab_smtp_port": null,
|
| 378 |
+
"swanlab_email_language": "zh",
|
| 379 |
+
"swanlab_mode": "cloud",
|
| 380 |
+
"add_version": false,
|
| 381 |
+
"create_checkpoint_symlink": false,
|
| 382 |
+
"zero_hpz_partition_size": null,
|
| 383 |
+
"deepspeed_autotp_size": null,
|
| 384 |
+
"swift_version": "4.0.0.dev0",
|
| 385 |
+
"ckpt_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 386 |
+
"rank": 0,
|
| 387 |
+
"global_world_size": 16,
|
| 388 |
+
"local_world_size": 8,
|
| 389 |
+
"model_suffix": "checkpoint-1500",
|
| 390 |
+
"model_info": "ModelInfo(model_type='qwen3_vl', model_dir='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500', torch_dtype=torch.bfloat16, max_model_len=262144, quant_method=None, quant_bits=None, rope_scaling={'mrope_interleaved': True, 'mrope_section': [24, 20, 20], 'rope_type': 'default'}, is_moe_model=False, is_multimodal=True, config=None, task_type='causal_lm', num_labels=None)",
|
| 391 |
+
"model_meta": "ModelMeta(model_type='qwen3_vl', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-VL-2B-Instruct', hf_model_id='Qwen/Qwen3-VL-2B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Thinking', hf_model_id='Qwen/Qwen3-VL-2B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-2B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-2B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Instruct', hf_model_id='Qwen/Qwen3-VL-4B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Thinking', hf_model_id='Qwen/Qwen3-VL-4B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-4B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-4B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Instruct', hf_model_id='Qwen/Qwen3-VL-8B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Thinking', hf_model_id='Qwen/Qwen3-VL-8B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-8B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-8B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Instruct', hf_model_id='Qwen/Qwen3-VL-32B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Thinking', hf_model_id='Qwen/Qwen3-VL-32B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-32B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-32B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None)], template='qwen3_vl', ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.models.qwen.Qwen3VLLoader'>, template=None, model_arch=MultiModelKeys(arch_name='qwen3_vl', embedding=None, module_list=None, lm_head=None, q_proj=None, k_proj=None, v_proj=None, o_proj=None, attention=None, mlp=None, down_proj=None, qkv_proj=None, qk_proj=None, qa_proj=None, qb_proj=None, kv_proj=None, kva_proj=None, kvb_proj=None, language_model=['model.language_model', 'lm_head'], aligner=['model.visual.merger', 'model.visual.deepstack_merger_list'], vision_tower=['model.visual'], generator=[]), architectures=['Qwen3VLForConditionalGeneration'], additional_saved_files=[], torch_dtype=None, is_multimodal=True, is_reward=False, task_type=None, ignore_patterns=None, requires=['transformers>=4.57', 'qwen_vl_utils>=0.0.14', 'decord'], tags=['vision', 'video'])",
|
| 392 |
+
"model_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 393 |
+
"template_meta": "QwenTemplateMeta(template_type='qwen3_vl_planning_modes', prefix=[], prompt=['<|im_start|>user\\n{{QUERY}}<|im_end|>\\n<|im_start|>assistant\\n'], chat_sep=['<|im_end|>\\n'], suffix=['<|im_end|>\\n'], template_cls=<class 'swift_planning_modes.PlanningModesTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system=None, auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='', history_thinking_prefix='')",
|
| 394 |
+
"_val_dataset_exists": [],
|
| 395 |
+
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 396 |
+
"evaluation_strategy": "no",
|
| 397 |
+
"training_args": "Seq2SeqTrainingArguments(output_dir='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train', overwrite_output_dir=False, do_train=False, do_eval=False, do_predict=False, eval_strategy=<IntervalStrategy.NO: 'no'>, prediction_loss_only=False, per_device_train_batch_size=8, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=1, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=5e-05, weight_decay=0.01, 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.03, warmup_steps=0, log_level='passive', log_level_replica='warning', log_on_each_node=True, logging_dir='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/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=100, save_total_limit=0, 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, 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=None, dataloader_num_workers=4, dataloader_prefetch_factor=2, past_index=-1, run_name='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train', 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}, 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), parallelism_config=None, deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 2, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'allgather_partitions': True, 'allgather_bucket_size': 200000000.0, 'overlap_comm': False, 'reduce_scatter': True, 'reduce_bucket_size': 200000000.0, 'contiguous_gradients': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, label_smoothing_factor=0.0, optim=<OptimizerNames.ADAMW_TORCH_FUSED: 'adamw_torch_fused'>, optim_args=None, adafactor=False, group_by_length=False, length_column_name='length', report_to=['tensorboard'], project='huggingface', trackio_space_id='trackio', 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, hub_revision=None, gradient_checkpointing=True, gradient_checkpointing_kwargs={'use_reentrant': False}, 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=18000000, 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, liger_kernel_config=None, 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, tuner_backend='peft', vit_gradient_checkpointing=True, router_aux_loss_coef=0.0, enable_dft_loss=False, enable_channel_loss=False, check_model=True, acc_strategy='token', train_dataloader_shuffle=True, max_epochs=None, aligner_lr=2e-05, vit_lr=1e-05, use_logits_to_keep=True, ds3_gather_for_generation=True, resume_only_model=False, optimizer='multimodal', loss_type='planning_modes', eval_metric=None, callbacks=['lora_2955_checks'], early_stop_interval=None, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, extra_eval_args=None, tuner_type='lora', use_galore=False, galore_target_modules=None, galore_rank=128, galore_update_proj_gap=50, galore_scale=1.0, galore_proj_type='std', galore_optim_per_parameter=False, galore_with_embedding=False, galore_quantization=False, galore_proj_quant=False, galore_proj_bits=4, galore_proj_group_size=256, galore_cos_threshold=0.4, galore_gamma_proj=2, galore_queue_size=5, lisa_activated_layers=0, lisa_step_interval=20, use_flash_ckpt=False)"
|
| 398 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/checkpoint-178/latest
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
global_step178
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/checkpoint-178/save_audit.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"passed": true,
|
| 3 |
+
"step": 178,
|
| 4 |
+
"epoch": 1.0,
|
| 5 |
+
"adapter_parameters": 104987648,
|
| 6 |
+
"optimizer_rank_files": 16,
|
| 7 |
+
"retained_optimizer_step": 178,
|
| 8 |
+
"removed_optimizer_steps": [
|
| 9 |
+
100
|
| 10 |
+
]
|
| 11 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/checkpoint-178/trainer_state.json
ADDED
|
@@ -0,0 +1,646 @@
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 178,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"A_fraction": 1.0,
|
| 14 |
+
"O_fraction": 0.0,
|
| 15 |
+
"T_fraction": 1.0,
|
| 16 |
+
"epoch": 0.0056179775280898875,
|
| 17 |
+
"grad_norm": 0.3405766785144806,
|
| 18 |
+
"learning_rate": 8.333333333333334e-06,
|
| 19 |
+
"loss": 0.7431159019470215,
|
| 20 |
+
"loss_A": 0.29753193259239197,
|
| 21 |
+
"loss_O": 0.0,
|
| 22 |
+
"loss_T": 0.4455839991569519,
|
| 23 |
+
"step": 1,
|
| 24 |
+
"token_acc": 0.8553166187692003,
|
| 25 |
+
"tokens_A": 16.421875,
|
| 26 |
+
"tokens_O": 0.0,
|
| 27 |
+
"tokens_T": 62.4140625
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"A_fraction": 1.0,
|
| 31 |
+
"O_fraction": 0.0,
|
| 32 |
+
"T_fraction": 1.0,
|
| 33 |
+
"epoch": 0.028089887640449437,
|
| 34 |
+
"grad_norm": 0.2388574779033661,
|
| 35 |
+
"learning_rate": 4.166666666666667e-05,
|
| 36 |
+
"loss": 0.61899733543396,
|
| 37 |
+
"loss_A": 0.1621025949716568,
|
| 38 |
+
"loss_O": 0.0,
|
| 39 |
+
"loss_T": 0.4568946957588196,
|
| 40 |
+
"step": 5,
|
| 41 |
+
"token_acc": 0.8519097222222223,
|
| 42 |
+
"tokens_A": 16.287109375,
|
| 43 |
+
"tokens_O": 0.0,
|
| 44 |
+
"tokens_T": 62.462890625
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"A_fraction": 1.0,
|
| 48 |
+
"O_fraction": 0.0,
|
| 49 |
+
"T_fraction": 1.0,
|
| 50 |
+
"epoch": 0.056179775280898875,
|
| 51 |
+
"grad_norm": 0.21414339542388916,
|
| 52 |
+
"learning_rate": 4.9933307091588796e-05,
|
| 53 |
+
"loss": 0.5372255802154541,
|
| 54 |
+
"loss_A": 0.08959674835205078,
|
| 55 |
+
"loss_O": 0.0,
|
| 56 |
+
"loss_T": 0.4476287841796875,
|
| 57 |
+
"step": 10,
|
| 58 |
+
"token_acc": 0.8568508780633,
|
| 59 |
+
"tokens_A": 16.3765625,
|
| 60 |
+
"tokens_O": 0.0,
|
| 61 |
+
"tokens_T": 62.365625
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"A_fraction": 1.0,
|
| 65 |
+
"O_fraction": 0.0,
|
| 66 |
+
"T_fraction": 1.0,
|
| 67 |
+
"epoch": 0.08426966292134831,
|
| 68 |
+
"grad_norm": 0.1769610494375229,
|
| 69 |
+
"learning_rate": 4.9662976890711167e-05,
|
| 70 |
+
"loss": 0.5200987339019776,
|
| 71 |
+
"loss_A": 0.06746245622634887,
|
| 72 |
+
"loss_O": 0.0,
|
| 73 |
+
"loss_T": 0.4526362419128418,
|
| 74 |
+
"step": 15,
|
| 75 |
+
"token_acc": 0.855699712785976,
|
| 76 |
+
"tokens_A": 16.3890625,
|
| 77 |
+
"tokens_O": 0.0,
|
| 78 |
+
"tokens_T": 62.49375
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"A_fraction": 1.0,
|
| 82 |
+
"O_fraction": 0.0,
|
| 83 |
+
"T_fraction": 1.0,
|
| 84 |
+
"epoch": 0.11235955056179775,
|
| 85 |
+
"grad_norm": 0.15473239123821259,
|
| 86 |
+
"learning_rate": 4.9187092426435634e-05,
|
| 87 |
+
"loss": 0.4945828437805176,
|
| 88 |
+
"loss_A": 0.04073872566223145,
|
| 89 |
+
"loss_O": 0.0,
|
| 90 |
+
"loss_T": 0.45384416580200193,
|
| 91 |
+
"step": 20,
|
| 92 |
+
"token_acc": 0.8559441671803233,
|
| 93 |
+
"tokens_A": 16.2140625,
|
| 94 |
+
"tokens_O": 0.0,
|
| 95 |
+
"tokens_T": 62.36875
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"A_fraction": 1.0,
|
| 99 |
+
"O_fraction": 0.0,
|
| 100 |
+
"T_fraction": 1.0,
|
| 101 |
+
"epoch": 0.1404494382022472,
|
| 102 |
+
"grad_norm": 0.14618772268295288,
|
| 103 |
+
"learning_rate": 4.850961997099892e-05,
|
| 104 |
+
"loss": 0.49661006927490237,
|
| 105 |
+
"loss_A": 0.03696128726005554,
|
| 106 |
+
"loss_O": 0.0,
|
| 107 |
+
"loss_T": 0.45964879989624025,
|
| 108 |
+
"step": 25,
|
| 109 |
+
"token_acc": 0.8540117028662104,
|
| 110 |
+
"tokens_A": 16.3828125,
|
| 111 |
+
"tokens_O": 0.0,
|
| 112 |
+
"tokens_T": 62.390625
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"A_fraction": 1.0,
|
| 116 |
+
"O_fraction": 0.0,
|
| 117 |
+
"T_fraction": 1.0,
|
| 118 |
+
"epoch": 0.16853932584269662,
|
| 119 |
+
"grad_norm": 0.20977705717086792,
|
| 120 |
+
"learning_rate": 4.763620593732867e-05,
|
| 121 |
+
"loss": 0.4873187065124512,
|
| 122 |
+
"loss_A": 0.03670250773429871,
|
| 123 |
+
"loss_O": 0.0,
|
| 124 |
+
"loss_T": 0.45061616897583007,
|
| 125 |
+
"step": 30,
|
| 126 |
+
"token_acc": 0.8567110757605886,
|
| 127 |
+
"tokens_A": 16.26875,
|
| 128 |
+
"tokens_O": 0.0,
|
| 129 |
+
"tokens_T": 62.309375
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"A_fraction": 1.0,
|
| 133 |
+
"O_fraction": 0.0,
|
| 134 |
+
"T_fraction": 1.0,
|
| 135 |
+
"epoch": 0.19662921348314608,
|
| 136 |
+
"grad_norm": 0.14948846399784088,
|
| 137 |
+
"learning_rate": 4.657412981885862e-05,
|
| 138 |
+
"loss": 0.47547159194946287,
|
| 139 |
+
"loss_A": 0.028717029094696044,
|
| 140 |
+
"loss_O": 0.0,
|
| 141 |
+
"loss_T": 0.44675455093383787,
|
| 142 |
+
"step": 35,
|
| 143 |
+
"token_acc": 0.856612464510493,
|
| 144 |
+
"tokens_A": 16.16875,
|
| 145 |
+
"tokens_O": 0.0,
|
| 146 |
+
"tokens_T": 62.5296875
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"A_fraction": 1.0,
|
| 150 |
+
"O_fraction": 0.0,
|
| 151 |
+
"T_fraction": 1.0,
|
| 152 |
+
"epoch": 0.2247191011235955,
|
| 153 |
+
"grad_norm": 0.16111229360103607,
|
| 154 |
+
"learning_rate": 4.533224351838914e-05,
|
| 155 |
+
"loss": 0.4879597663879395,
|
| 156 |
+
"loss_A": 0.038825994729995726,
|
| 157 |
+
"loss_O": 0.0,
|
| 158 |
+
"loss_T": 0.44913382530212403,
|
| 159 |
+
"step": 40,
|
| 160 |
+
"token_acc": 0.8566683242168076,
|
| 161 |
+
"tokens_A": 16.203125,
|
| 162 |
+
"tokens_O": 0.0,
|
| 163 |
+
"tokens_T": 62.3515625
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"A_fraction": 1.0,
|
| 167 |
+
"O_fraction": 0.0,
|
| 168 |
+
"T_fraction": 1.0,
|
| 169 |
+
"epoch": 0.25280898876404495,
|
| 170 |
+
"grad_norm": 0.18316450715065002,
|
| 171 |
+
"learning_rate": 4.392089757165841e-05,
|
| 172 |
+
"loss": 0.48919925689697263,
|
| 173 |
+
"loss_A": 0.03193407952785492,
|
| 174 |
+
"loss_O": 0.0,
|
| 175 |
+
"loss_T": 0.45726513862609863,
|
| 176 |
+
"step": 45,
|
| 177 |
+
"token_acc": 0.8540053218952302,
|
| 178 |
+
"tokens_A": 16.175,
|
| 179 |
+
"tokens_O": 0.0,
|
| 180 |
+
"tokens_T": 62.509375
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"A_fraction": 1.0,
|
| 184 |
+
"O_fraction": 0.0,
|
| 185 |
+
"T_fraction": 1.0,
|
| 186 |
+
"epoch": 0.2808988764044944,
|
| 187 |
+
"grad_norm": 0.13910090923309326,
|
| 188 |
+
"learning_rate": 4.235185488051585e-05,
|
| 189 |
+
"loss": 0.487623405456543,
|
| 190 |
+
"loss_A": 0.03064485192298889,
|
| 191 |
+
"loss_O": 0.0,
|
| 192 |
+
"loss_T": 0.45697855949401855,
|
| 193 |
+
"step": 50,
|
| 194 |
+
"token_acc": 0.8552791201797825,
|
| 195 |
+
"tokens_A": 16.3203125,
|
| 196 |
+
"tokens_O": 0.0,
|
| 197 |
+
"tokens_T": 62.246875
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"A_fraction": 1.0,
|
| 201 |
+
"O_fraction": 0.0,
|
| 202 |
+
"T_fraction": 1.0,
|
| 203 |
+
"epoch": 0.3089887640449438,
|
| 204 |
+
"grad_norm": 0.14613336324691772,
|
| 205 |
+
"learning_rate": 4.0638192674691136e-05,
|
| 206 |
+
"loss": 0.4829873085021973,
|
| 207 |
+
"loss_A": 0.03254536092281342,
|
| 208 |
+
"loss_O": 0.0,
|
| 209 |
+
"loss_T": 0.45044193267822263,
|
| 210 |
+
"step": 55,
|
| 211 |
+
"token_acc": 0.8561471096371904,
|
| 212 |
+
"tokens_A": 16.3015625,
|
| 213 |
+
"tokens_O": 0.0,
|
| 214 |
+
"tokens_T": 62.38125
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"A_fraction": 1.0,
|
| 218 |
+
"O_fraction": 0.0,
|
| 219 |
+
"T_fraction": 1.0,
|
| 220 |
+
"epoch": 0.33707865168539325,
|
| 221 |
+
"grad_norm": 0.1532132625579834,
|
| 222 |
+
"learning_rate": 3.879419351926115e-05,
|
| 223 |
+
"loss": 0.49060993194580077,
|
| 224 |
+
"loss_A": 0.030973362922668456,
|
| 225 |
+
"loss_O": 0.0,
|
| 226 |
+
"loss_T": 0.45963659286499026,
|
| 227 |
+
"step": 60,
|
| 228 |
+
"token_acc": 0.8519712619658885,
|
| 229 |
+
"tokens_A": 16.159375,
|
| 230 |
+
"tokens_O": 0.0,
|
| 231 |
+
"tokens_T": 62.3515625
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"A_fraction": 1.0,
|
| 235 |
+
"O_fraction": 0.0,
|
| 236 |
+
"T_fraction": 1.0,
|
| 237 |
+
"epoch": 0.3651685393258427,
|
| 238 |
+
"grad_norm": 0.15304288268089294,
|
| 239 |
+
"learning_rate": 3.683522627621608e-05,
|
| 240 |
+
"loss": 0.4717234134674072,
|
| 241 |
+
"loss_A": 0.031740742921829226,
|
| 242 |
+
"loss_O": 0.0,
|
| 243 |
+
"loss_T": 0.4399827003479004,
|
| 244 |
+
"step": 65,
|
| 245 |
+
"token_acc": 0.8598130841121495,
|
| 246 |
+
"tokens_A": 16.2359375,
|
| 247 |
+
"tokens_O": 0.0,
|
| 248 |
+
"tokens_T": 62.3421875
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"A_fraction": 1.0,
|
| 252 |
+
"O_fraction": 0.0,
|
| 253 |
+
"T_fraction": 1.0,
|
| 254 |
+
"epoch": 0.39325842696629215,
|
| 255 |
+
"grad_norm": 0.19554947316646576,
|
| 256 |
+
"learning_rate": 3.47776180122539e-05,
|
| 257 |
+
"loss": 0.49144797325134276,
|
| 258 |
+
"loss_A": 0.03311909139156342,
|
| 259 |
+
"loss_O": 0.0,
|
| 260 |
+
"loss_T": 0.458328914642334,
|
| 261 |
+
"step": 70,
|
| 262 |
+
"token_acc": 0.8536561147078683,
|
| 263 |
+
"tokens_A": 16.2609375,
|
| 264 |
+
"tokens_O": 0.0,
|
| 265 |
+
"tokens_T": 62.4171875
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"A_fraction": 1.0,
|
| 269 |
+
"O_fraction": 0.0,
|
| 270 |
+
"T_fraction": 1.0,
|
| 271 |
+
"epoch": 0.42134831460674155,
|
| 272 |
+
"grad_norm": 0.1496725231409073,
|
| 273 |
+
"learning_rate": 3.263851792039109e-05,
|
| 274 |
+
"loss": 0.4846630096435547,
|
| 275 |
+
"loss_A": 0.0305690735578537,
|
| 276 |
+
"loss_O": 0.0,
|
| 277 |
+
"loss_T": 0.45409393310546875,
|
| 278 |
+
"step": 75,
|
| 279 |
+
"token_acc": 0.8563593004769475,
|
| 280 |
+
"tokens_A": 16.2421875,
|
| 281 |
+
"tokens_O": 0.0,
|
| 282 |
+
"tokens_T": 62.3828125
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"A_fraction": 1.0,
|
| 286 |
+
"O_fraction": 0.0,
|
| 287 |
+
"T_fraction": 1.0,
|
| 288 |
+
"epoch": 0.449438202247191,
|
| 289 |
+
"grad_norm": 0.15747888386249542,
|
| 290 |
+
"learning_rate": 3.0435754389538928e-05,
|
| 291 |
+
"loss": 0.47800450325012206,
|
| 292 |
+
"loss_A": 0.03228908181190491,
|
| 293 |
+
"loss_O": 0.0,
|
| 294 |
+
"loss_T": 0.44571542739868164,
|
| 295 |
+
"step": 80,
|
| 296 |
+
"token_acc": 0.8574555294679455,
|
| 297 |
+
"tokens_A": 16.25625,
|
| 298 |
+
"tokens_O": 0.0,
|
| 299 |
+
"tokens_T": 62.271875
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"A_fraction": 1.0,
|
| 303 |
+
"O_fraction": 0.0,
|
| 304 |
+
"T_fraction": 1.0,
|
| 305 |
+
"epoch": 0.47752808988764045,
|
| 306 |
+
"grad_norm": 0.15077418088912964,
|
| 307 |
+
"learning_rate": 2.81876864133027e-05,
|
| 308 |
+
"loss": 0.483968448638916,
|
| 309 |
+
"loss_A": 0.02959863543510437,
|
| 310 |
+
"loss_O": 0.0,
|
| 311 |
+
"loss_T": 0.45436978340148926,
|
| 312 |
+
"step": 85,
|
| 313 |
+
"token_acc": 0.8565601496279199,
|
| 314 |
+
"tokens_A": 16.2171875,
|
| 315 |
+
"tokens_O": 0.0,
|
| 316 |
+
"tokens_T": 62.3109375
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"A_fraction": 1.0,
|
| 320 |
+
"O_fraction": 0.0,
|
| 321 |
+
"T_fraction": 1.0,
|
| 322 |
+
"epoch": 0.5056179775280899,
|
| 323 |
+
"grad_norm": 0.15152418613433838,
|
| 324 |
+
"learning_rate": 2.5913050576441477e-05,
|
| 325 |
+
"loss": 0.48648777008056643,
|
| 326 |
+
"loss_A": 0.031865489482879636,
|
| 327 |
+
"loss_O": 0.0,
|
| 328 |
+
"loss_T": 0.4546222686767578,
|
| 329 |
+
"step": 90,
|
| 330 |
+
"token_acc": 0.8557820159161722,
|
| 331 |
+
"tokens_A": 16.2484375,
|
| 332 |
+
"tokens_O": 0.0,
|
| 333 |
+
"tokens_T": 62.484375
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"A_fraction": 1.0,
|
| 337 |
+
"O_fraction": 0.0,
|
| 338 |
+
"T_fraction": 1.0,
|
| 339 |
+
"epoch": 0.5337078651685393,
|
| 340 |
+
"grad_norm": 0.1480945646762848,
|
| 341 |
+
"learning_rate": 2.363080489428391e-05,
|
| 342 |
+
"loss": 0.4887214183807373,
|
| 343 |
+
"loss_A": 0.03197265267372131,
|
| 344 |
+
"loss_O": 0.0,
|
| 345 |
+
"loss_T": 0.45674877166748046,
|
| 346 |
+
"step": 95,
|
| 347 |
+
"token_acc": 0.8543691245884732,
|
| 348 |
+
"tokens_A": 16.24375,
|
| 349 |
+
"tokens_O": 0.0,
|
| 350 |
+
"tokens_T": 62.540625
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"A_fraction": 1.0,
|
| 354 |
+
"O_fraction": 0.0,
|
| 355 |
+
"T_fraction": 1.0,
|
| 356 |
+
"epoch": 0.5617977528089888,
|
| 357 |
+
"grad_norm": 0.15685194730758667,
|
| 358 |
+
"learning_rate": 2.1359970806624885e-05,
|
| 359 |
+
"loss": 0.4790802478790283,
|
| 360 |
+
"loss_A": 0.029289242625236512,
|
| 361 |
+
"loss_O": 0.0,
|
| 362 |
+
"loss_T": 0.44979095458984375,
|
| 363 |
+
"step": 100,
|
| 364 |
+
"token_acc": 0.8562633246328877,
|
| 365 |
+
"tokens_A": 16.246875,
|
| 366 |
+
"tokens_O": 0.0,
|
| 367 |
+
"tokens_T": 62.1734375
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"A_fraction": 1.0,
|
| 371 |
+
"O_fraction": 0.0,
|
| 372 |
+
"T_fraction": 1.0,
|
| 373 |
+
"epoch": 0.5898876404494382,
|
| 374 |
+
"grad_norm": 0.17021764814853668,
|
| 375 |
+
"learning_rate": 1.911947464300911e-05,
|
| 376 |
+
"loss": 0.48827300071716306,
|
| 377 |
+
"loss_A": 0.029755741357803345,
|
| 378 |
+
"loss_O": 0.0,
|
| 379 |
+
"loss_T": 0.4585172176361084,
|
| 380 |
+
"step": 105,
|
| 381 |
+
"token_acc": 0.8529493489996824,
|
| 382 |
+
"tokens_A": 16.2125,
|
| 383 |
+
"tokens_O": 0.0,
|
| 384 |
+
"tokens_T": 62.5125
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"A_fraction": 1.0,
|
| 388 |
+
"O_fraction": 0.0,
|
| 389 |
+
"T_fraction": 1.0,
|
| 390 |
+
"epoch": 0.6179775280898876,
|
| 391 |
+
"grad_norm": 0.15135176479816437,
|
| 392 |
+
"learning_rate": 1.692798988071385e-05,
|
| 393 |
+
"loss": 0.483347225189209,
|
| 394 |
+
"loss_A": 0.031888237595558165,
|
| 395 |
+
"loss_O": 0.0,
|
| 396 |
+
"loss_T": 0.4514589309692383,
|
| 397 |
+
"step": 110,
|
| 398 |
+
"token_acc": 0.8557696127110228,
|
| 399 |
+
"tokens_A": 16.2859375,
|
| 400 |
+
"tokens_O": 0.0,
|
| 401 |
+
"tokens_T": 62.3859375
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"A_fraction": 1.0,
|
| 405 |
+
"O_fraction": 0.0,
|
| 406 |
+
"T_fraction": 1.0,
|
| 407 |
+
"epoch": 0.6460674157303371,
|
| 408 |
+
"grad_norm": 0.16304939985275269,
|
| 409 |
+
"learning_rate": 1.4803781510135723e-05,
|
| 410 |
+
"loss": 0.47867603302001954,
|
| 411 |
+
"loss_A": 0.03216346204280853,
|
| 412 |
+
"loss_O": 0.0,
|
| 413 |
+
"loss_T": 0.4465125560760498,
|
| 414 |
+
"step": 115,
|
| 415 |
+
"token_acc": 0.858693926161175,
|
| 416 |
+
"tokens_A": 16.315625,
|
| 417 |
+
"tokens_O": 0.0,
|
| 418 |
+
"tokens_T": 62.403125
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"A_fraction": 1.0,
|
| 422 |
+
"O_fraction": 0.0,
|
| 423 |
+
"T_fraction": 1.0,
|
| 424 |
+
"epoch": 0.6741573033707865,
|
| 425 |
+
"grad_norm": 0.164680615067482,
|
| 426 |
+
"learning_rate": 1.2764553804722867e-05,
|
| 427 |
+
"loss": 0.4762826919555664,
|
| 428 |
+
"loss_A": 0.029060101509094237,
|
| 429 |
+
"loss_O": 0.0,
|
| 430 |
+
"loss_T": 0.44722256660461424,
|
| 431 |
+
"step": 120,
|
| 432 |
+
"token_acc": 0.8571002564561341,
|
| 433 |
+
"tokens_A": 16.228125,
|
| 434 |
+
"tokens_O": 0.0,
|
| 435 |
+
"tokens_T": 62.3671875
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"A_fraction": 1.0,
|
| 439 |
+
"O_fraction": 0.0,
|
| 440 |
+
"T_fraction": 1.0,
|
| 441 |
+
"epoch": 0.702247191011236,
|
| 442 |
+
"grad_norm": 0.14747387170791626,
|
| 443 |
+
"learning_rate": 1.0827302764217886e-05,
|
| 444 |
+
"loss": 0.4916661262512207,
|
| 445 |
+
"loss_A": 0.02848198413848877,
|
| 446 |
+
"loss_O": 0.0,
|
| 447 |
+
"loss_T": 0.46318416595458983,
|
| 448 |
+
"step": 125,
|
| 449 |
+
"token_acc": 0.8534981222802869,
|
| 450 |
+
"tokens_A": 16.2375,
|
| 451 |
+
"tokens_O": 0.0,
|
| 452 |
+
"tokens_T": 62.3984375
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"A_fraction": 1.0,
|
| 456 |
+
"O_fraction": 0.0,
|
| 457 |
+
"T_fraction": 1.0,
|
| 458 |
+
"epoch": 0.7303370786516854,
|
| 459 |
+
"grad_norm": 0.14974510669708252,
|
| 460 |
+
"learning_rate": 9.008174461027724e-06,
|
| 461 |
+
"loss": 0.4792777061462402,
|
| 462 |
+
"loss_A": 0.030433329939842223,
|
| 463 |
+
"loss_O": 0.0,
|
| 464 |
+
"loss_T": 0.44884433746337893,
|
| 465 |
+
"step": 130,
|
| 466 |
+
"token_acc": 0.8558224408433663,
|
| 467 |
+
"tokens_A": 16.3,
|
| 468 |
+
"tokens_O": 0.0,
|
| 469 |
+
"tokens_T": 62.4765625
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"A_fraction": 1.0,
|
| 473 |
+
"O_fraction": 0.0,
|
| 474 |
+
"T_fraction": 1.0,
|
| 475 |
+
"epoch": 0.7584269662921348,
|
| 476 |
+
"grad_norm": 0.145423024892807,
|
| 477 |
+
"learning_rate": 7.3223304703363135e-06,
|
| 478 |
+
"loss": 0.4789982795715332,
|
| 479 |
+
"loss_A": 0.031526687741279605,
|
| 480 |
+
"loss_O": 0.0,
|
| 481 |
+
"loss_T": 0.44747157096862794,
|
| 482 |
+
"step": 135,
|
| 483 |
+
"token_acc": 0.8573046207636378,
|
| 484 |
+
"tokens_A": 16.190625,
|
| 485 |
+
"tokens_O": 0.0,
|
| 486 |
+
"tokens_T": 62.4625
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"A_fraction": 1.0,
|
| 490 |
+
"O_fraction": 0.0,
|
| 491 |
+
"T_fraction": 1.0,
|
| 492 |
+
"epoch": 0.7865168539325843,
|
| 493 |
+
"grad_norm": 0.1420917510986328,
|
| 494 |
+
"learning_rate": 5.783821505536696e-06,
|
| 495 |
+
"loss": 0.498231029510498,
|
| 496 |
+
"loss_A": 0.029199892282485963,
|
| 497 |
+
"loss_O": 0.0,
|
| 498 |
+
"loss_T": 0.46903114318847655,
|
| 499 |
+
"step": 140,
|
| 500 |
+
"token_acc": 0.8510807374443738,
|
| 501 |
+
"tokens_A": 16.275,
|
| 502 |
+
"tokens_O": 0.0,
|
| 503 |
+
"tokens_T": 62.375
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"A_fraction": 1.0,
|
| 507 |
+
"O_fraction": 0.0,
|
| 508 |
+
"T_fraction": 1.0,
|
| 509 |
+
"epoch": 0.8146067415730337,
|
| 510 |
+
"grad_norm": 0.15317101776599884,
|
| 511 |
+
"learning_rate": 4.405470312171392e-06,
|
| 512 |
+
"loss": 0.4844069480895996,
|
| 513 |
+
"loss_A": 0.03315349817276001,
|
| 514 |
+
"loss_O": 0.0,
|
| 515 |
+
"loss_T": 0.45125350952148435,
|
| 516 |
+
"step": 145,
|
| 517 |
+
"token_acc": 0.855988273047819,
|
| 518 |
+
"tokens_A": 16.309375,
|
| 519 |
+
"tokens_O": 0.0,
|
| 520 |
+
"tokens_T": 62.56875
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"A_fraction": 1.0,
|
| 524 |
+
"O_fraction": 0.0,
|
| 525 |
+
"T_fraction": 1.0,
|
| 526 |
+
"epoch": 0.8426966292134831,
|
| 527 |
+
"grad_norm": 0.16323800384998322,
|
| 528 |
+
"learning_rate": 3.198764796404807e-06,
|
| 529 |
+
"loss": 0.4876896381378174,
|
| 530 |
+
"loss_A": 0.030353963375091553,
|
| 531 |
+
"loss_O": 0.0,
|
| 532 |
+
"loss_T": 0.4573356628417969,
|
| 533 |
+
"step": 150,
|
| 534 |
+
"token_acc": 0.8542038292305862,
|
| 535 |
+
"tokens_A": 16.265625,
|
| 536 |
+
"tokens_O": 0.0,
|
| 537 |
+
"tokens_T": 62.56875
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"A_fraction": 1.0,
|
| 541 |
+
"O_fraction": 0.0,
|
| 542 |
+
"T_fraction": 1.0,
|
| 543 |
+
"epoch": 0.8707865168539326,
|
| 544 |
+
"grad_norm": 0.14200350642204285,
|
| 545 |
+
"learning_rate": 2.1737622787514593e-06,
|
| 546 |
+
"loss": 0.47607059478759767,
|
| 547 |
+
"loss_A": 0.027338120341300964,
|
| 548 |
+
"loss_O": 0.0,
|
| 549 |
+
"loss_T": 0.44873247146606443,
|
| 550 |
+
"step": 155,
|
| 551 |
+
"token_acc": 0.8586576648133439,
|
| 552 |
+
"tokens_A": 16.225,
|
| 553 |
+
"tokens_O": 0.0,
|
| 554 |
+
"tokens_T": 62.4625
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"A_fraction": 1.0,
|
| 558 |
+
"O_fraction": 0.0,
|
| 559 |
+
"T_fraction": 1.0,
|
| 560 |
+
"epoch": 0.898876404494382,
|
| 561 |
+
"grad_norm": 0.16116204857826233,
|
| 562 |
+
"learning_rate": 1.3390056710597649e-06,
|
| 563 |
+
"loss": 0.464176607131958,
|
| 564 |
+
"loss_A": 0.02824801206588745,
|
| 565 |
+
"loss_O": 0.0,
|
| 566 |
+
"loss_T": 0.4359285354614258,
|
| 567 |
+
"step": 160,
|
| 568 |
+
"token_acc": 0.8605317054741405,
|
| 569 |
+
"tokens_A": 16.259375,
|
| 570 |
+
"tokens_O": 0.0,
|
| 571 |
+
"tokens_T": 62.3203125
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"A_fraction": 1.0,
|
| 575 |
+
"O_fraction": 0.0,
|
| 576 |
+
"T_fraction": 1.0,
|
| 577 |
+
"epoch": 0.9269662921348315,
|
| 578 |
+
"grad_norm": 0.15953567624092102,
|
| 579 |
+
"learning_rate": 7.014522753768848e-07,
|
| 580 |
+
"loss": 0.47676572799682615,
|
| 581 |
+
"loss_A": 0.025465163588523864,
|
| 582 |
+
"loss_O": 0.0,
|
| 583 |
+
"loss_T": 0.45130057334899903,
|
| 584 |
+
"step": 165,
|
| 585 |
+
"token_acc": 0.8570492454328832,
|
| 586 |
+
"tokens_A": 16.2015625,
|
| 587 |
+
"tokens_O": 0.0,
|
| 588 |
+
"tokens_T": 62.4859375
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"A_fraction": 1.0,
|
| 592 |
+
"O_fraction": 0.0,
|
| 593 |
+
"T_fraction": 1.0,
|
| 594 |
+
"epoch": 0.9550561797752809,
|
| 595 |
+
"grad_norm": 0.1297656148672104,
|
| 596 |
+
"learning_rate": 2.664157981222437e-07,
|
| 597 |
+
"loss": 0.4858272075653076,
|
| 598 |
+
"loss_A": 0.02766021490097046,
|
| 599 |
+
"loss_O": 0.0,
|
| 600 |
+
"loss_T": 0.4581669807434082,
|
| 601 |
+
"step": 170,
|
| 602 |
+
"token_acc": 0.8540463288274877,
|
| 603 |
+
"tokens_A": 16.378125,
|
| 604 |
+
"tokens_O": 0.0,
|
| 605 |
+
"tokens_T": 62.3390625
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"A_fraction": 1.0,
|
| 609 |
+
"O_fraction": 0.0,
|
| 610 |
+
"T_fraction": 1.0,
|
| 611 |
+
"epoch": 0.9831460674157303,
|
| 612 |
+
"grad_norm": 0.16985298693180084,
|
| 613 |
+
"learning_rate": 3.7522062854356e-08,
|
| 614 |
+
"loss": 0.4869251251220703,
|
| 615 |
+
"loss_A": 0.02998087406158447,
|
| 616 |
+
"loss_O": 0.0,
|
| 617 |
+
"loss_T": 0.45694427490234374,
|
| 618 |
+
"step": 175,
|
| 619 |
+
"token_acc": 0.8561426474671744,
|
| 620 |
+
"tokens_A": 16.434375,
|
| 621 |
+
"tokens_O": 0.0,
|
| 622 |
+
"tokens_T": 62.34375
|
| 623 |
+
}
|
| 624 |
+
],
|
| 625 |
+
"logging_steps": 5,
|
| 626 |
+
"max_steps": 178,
|
| 627 |
+
"num_input_tokens_seen": 0,
|
| 628 |
+
"num_train_epochs": 1,
|
| 629 |
+
"save_steps": 100,
|
| 630 |
+
"stateful_callbacks": {
|
| 631 |
+
"TrainerControl": {
|
| 632 |
+
"args": {
|
| 633 |
+
"should_epoch_stop": false,
|
| 634 |
+
"should_evaluate": false,
|
| 635 |
+
"should_log": false,
|
| 636 |
+
"should_save": true,
|
| 637 |
+
"should_training_stop": true
|
| 638 |
+
},
|
| 639 |
+
"attributes": {}
|
| 640 |
+
}
|
| 641 |
+
},
|
| 642 |
+
"total_flos": 3.481474024549122e+18,
|
| 643 |
+
"train_batch_size": 8,
|
| 644 |
+
"trial_name": null,
|
| 645 |
+
"trial_params": null
|
| 646 |
+
}
|
output/alpamayo-1.5-10B/reasoning_modes/20261103-1420/m45/train/checkpoint-178/zero_to_fp32.py
ADDED
|
@@ -0,0 +1,760 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python
|
| 2 |
+
|
| 3 |
+
# Copyright (c) Microsoft Corporation.
|
| 4 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 5 |
+
|
| 6 |
+
# DeepSpeed Team
|
| 7 |
+
|
| 8 |
+
# This script extracts fp32 consolidated weights from a zero 1, 2 and 3 DeepSpeed checkpoints. It gets
|
| 9 |
+
# copied into the top level checkpoint dir, so the user can easily do the conversion at any point in
|
| 10 |
+
# the future. Once extracted, the weights don't require DeepSpeed and can be used in any
|
| 11 |
+
# application.
|
| 12 |
+
#
|
| 13 |
+
# example:
|
| 14 |
+
# python zero_to_fp32.py . output_dir/
|
| 15 |
+
# or
|
| 16 |
+
# python zero_to_fp32.py . output_dir/ --safe_serialization
|
| 17 |
+
|
| 18 |
+
import argparse
|
| 19 |
+
import torch
|
| 20 |
+
import glob
|
| 21 |
+
import math
|
| 22 |
+
import os
|
| 23 |
+
import re
|
| 24 |
+
import gc
|
| 25 |
+
import json
|
| 26 |
+
import numpy as np
|
| 27 |
+
from tqdm import tqdm
|
| 28 |
+
from collections import OrderedDict
|
| 29 |
+
from dataclasses import dataclass
|
| 30 |
+
|
| 31 |
+
# while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
|
| 32 |
+
# DeepSpeed data structures it has to be available in the current python environment.
|
| 33 |
+
from deepspeed.utils import logger
|
| 34 |
+
from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
|
| 35 |
+
FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
|
| 36 |
+
FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
@dataclass
|
| 40 |
+
class zero_model_state:
|
| 41 |
+
buffers: dict()
|
| 42 |
+
param_shapes: dict()
|
| 43 |
+
shared_params: list
|
| 44 |
+
ds_version: int
|
| 45 |
+
frozen_param_shapes: dict()
|
| 46 |
+
frozen_param_fragments: dict()
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
debug = 0
|
| 50 |
+
|
| 51 |
+
# load to cpu
|
| 52 |
+
device = torch.device('cpu')
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def atoi(text):
|
| 56 |
+
return int(text) if text.isdigit() else text
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def natural_keys(text):
|
| 60 |
+
'''
|
| 61 |
+
alist.sort(key=natural_keys) sorts in human order
|
| 62 |
+
http://nedbatchelder.com/blog/200712/human_sorting.html
|
| 63 |
+
(See Toothy's implementation in the comments)
|
| 64 |
+
'''
|
| 65 |
+
return [atoi(c) for c in re.split(r'(\d+)', text)]
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def get_model_state_file(checkpoint_dir, zero_stage):
|
| 69 |
+
if not os.path.isdir(checkpoint_dir):
|
| 70 |
+
raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
|
| 71 |
+
|
| 72 |
+
# there should be only one file
|
| 73 |
+
if zero_stage <= 2:
|
| 74 |
+
file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
|
| 75 |
+
elif zero_stage == 3:
|
| 76 |
+
file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
|
| 77 |
+
|
| 78 |
+
if not os.path.exists(file):
|
| 79 |
+
raise FileNotFoundError(f"can't find model states file at '{file}'")
|
| 80 |
+
|
| 81 |
+
return file
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
def get_checkpoint_files(checkpoint_dir, glob_pattern):
|
| 85 |
+
# XXX: need to test that this simple glob rule works for multi-node setup too
|
| 86 |
+
ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
|
| 87 |
+
|
| 88 |
+
if len(ckpt_files) == 0:
|
| 89 |
+
raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
|
| 90 |
+
|
| 91 |
+
return ckpt_files
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def get_optim_files(checkpoint_dir):
|
| 95 |
+
return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def get_model_state_files(checkpoint_dir):
|
| 99 |
+
return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def parse_model_states(files):
|
| 103 |
+
zero_model_states = []
|
| 104 |
+
for file in files:
|
| 105 |
+
state_dict = torch.load(file, map_location=device, weights_only=False)
|
| 106 |
+
|
| 107 |
+
if BUFFER_NAMES not in state_dict:
|
| 108 |
+
raise ValueError(f"{file} is not a model state checkpoint")
|
| 109 |
+
buffer_names = state_dict[BUFFER_NAMES]
|
| 110 |
+
if debug:
|
| 111 |
+
print("Found buffers:", buffer_names)
|
| 112 |
+
|
| 113 |
+
# recover just the buffers while restoring them to fp32 if they were saved in fp16
|
| 114 |
+
buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
|
| 115 |
+
param_shapes = state_dict[PARAM_SHAPES]
|
| 116 |
+
|
| 117 |
+
# collect parameters that are included in param_shapes
|
| 118 |
+
param_names = []
|
| 119 |
+
for s in param_shapes:
|
| 120 |
+
for name in s.keys():
|
| 121 |
+
param_names.append(name)
|
| 122 |
+
|
| 123 |
+
# update with frozen parameters
|
| 124 |
+
frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
|
| 125 |
+
if frozen_param_shapes is not None:
|
| 126 |
+
if debug:
|
| 127 |
+
print(f"Found frozen_param_shapes: {frozen_param_shapes}")
|
| 128 |
+
param_names += list(frozen_param_shapes.keys())
|
| 129 |
+
|
| 130 |
+
# handle shared params
|
| 131 |
+
shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
|
| 132 |
+
|
| 133 |
+
ds_version = state_dict.get(DS_VERSION, None)
|
| 134 |
+
|
| 135 |
+
frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
|
| 136 |
+
|
| 137 |
+
z_model_state = zero_model_state(buffers=buffers,
|
| 138 |
+
param_shapes=param_shapes,
|
| 139 |
+
shared_params=shared_params,
|
| 140 |
+
ds_version=ds_version,
|
| 141 |
+
frozen_param_shapes=frozen_param_shapes,
|
| 142 |
+
frozen_param_fragments=frozen_param_fragments)
|
| 143 |
+
zero_model_states.append(z_model_state)
|
| 144 |
+
|
| 145 |
+
return zero_model_states
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
def parse_optim_states(files, ds_checkpoint_dir):
|
| 149 |
+
total_files = len(files)
|
| 150 |
+
state_dicts = []
|
| 151 |
+
for f in tqdm(files, desc='Loading checkpoint shards'):
|
| 152 |
+
state_dict = torch.load(f, map_location=device, mmap=True, weights_only=False)
|
| 153 |
+
# immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
|
| 154 |
+
# and also handle the case where it was already removed by another helper script
|
| 155 |
+
state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
|
| 156 |
+
state_dicts.append(state_dict)
|
| 157 |
+
|
| 158 |
+
if ZERO_STAGE not in state_dicts[0][OPTIMIZER_STATE_DICT]:
|
| 159 |
+
raise ValueError(f"{files[0]} is not a zero checkpoint")
|
| 160 |
+
zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
|
| 161 |
+
world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
|
| 162 |
+
|
| 163 |
+
# For ZeRO-2 each param group can have different partition_count as data parallelism for expert
|
| 164 |
+
# parameters can be different from data parallelism for non-expert parameters. So we can just
|
| 165 |
+
# use the max of the partition_count to get the dp world_size.
|
| 166 |
+
|
| 167 |
+
if type(world_size) is list:
|
| 168 |
+
world_size = max(world_size)
|
| 169 |
+
|
| 170 |
+
if world_size != total_files:
|
| 171 |
+
raise ValueError(
|
| 172 |
+
f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
|
| 173 |
+
"Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
|
| 174 |
+
)
|
| 175 |
+
|
| 176 |
+
# the groups are named differently in each stage
|
| 177 |
+
if zero_stage <= 2:
|
| 178 |
+
fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
|
| 179 |
+
elif zero_stage == 3:
|
| 180 |
+
fp32_groups_key = FP32_FLAT_GROUPS
|
| 181 |
+
else:
|
| 182 |
+
raise ValueError(f"unknown zero stage {zero_stage}")
|
| 183 |
+
|
| 184 |
+
fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
|
| 185 |
+
return zero_stage, world_size, fp32_flat_groups
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
|
| 189 |
+
"""
|
| 190 |
+
Returns fp32 state_dict reconstructed from ds checkpoint
|
| 191 |
+
|
| 192 |
+
Args:
|
| 193 |
+
- ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
|
| 194 |
+
|
| 195 |
+
"""
|
| 196 |
+
print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
|
| 197 |
+
|
| 198 |
+
optim_files = get_optim_files(ds_checkpoint_dir)
|
| 199 |
+
zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
|
| 200 |
+
print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
|
| 201 |
+
|
| 202 |
+
model_files = get_model_state_files(ds_checkpoint_dir)
|
| 203 |
+
|
| 204 |
+
zero_model_states = parse_model_states(model_files)
|
| 205 |
+
print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
|
| 206 |
+
|
| 207 |
+
if zero_stage <= 2:
|
| 208 |
+
return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 209 |
+
exclude_frozen_parameters)
|
| 210 |
+
elif zero_stage == 3:
|
| 211 |
+
return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 212 |
+
exclude_frozen_parameters)
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
def _zero2_merge_frozen_params(state_dict, zero_model_states):
|
| 216 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 217 |
+
return
|
| 218 |
+
|
| 219 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 220 |
+
frozen_param_fragments = zero_model_states[0].frozen_param_fragments
|
| 221 |
+
|
| 222 |
+
if debug:
|
| 223 |
+
num_elem = sum(s.numel() for s in frozen_param_shapes.values())
|
| 224 |
+
print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 225 |
+
|
| 226 |
+
wanted_params = len(frozen_param_shapes)
|
| 227 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 228 |
+
avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
|
| 229 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 230 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 231 |
+
|
| 232 |
+
total_params = 0
|
| 233 |
+
total_numel = 0
|
| 234 |
+
for name, shape in frozen_param_shapes.items():
|
| 235 |
+
total_params += 1
|
| 236 |
+
unpartitioned_numel = shape.numel()
|
| 237 |
+
total_numel += unpartitioned_numel
|
| 238 |
+
|
| 239 |
+
state_dict[name] = frozen_param_fragments[name]
|
| 240 |
+
|
| 241 |
+
if debug:
|
| 242 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 243 |
+
|
| 244 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
def _has_callable(obj, fn):
|
| 248 |
+
attr = getattr(obj, fn, None)
|
| 249 |
+
return callable(attr)
|
| 250 |
+
|
| 251 |
+
|
| 252 |
+
def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 253 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 254 |
+
|
| 255 |
+
# Reconstruction protocol:
|
| 256 |
+
#
|
| 257 |
+
# XXX: document this
|
| 258 |
+
|
| 259 |
+
if debug:
|
| 260 |
+
for i in range(world_size):
|
| 261 |
+
for j in range(len(fp32_flat_groups[0])):
|
| 262 |
+
print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
|
| 263 |
+
|
| 264 |
+
# XXX: memory usage doubles here (zero2)
|
| 265 |
+
num_param_groups = len(fp32_flat_groups[0])
|
| 266 |
+
merged_single_partition_of_fp32_groups = []
|
| 267 |
+
for i in range(num_param_groups):
|
| 268 |
+
merged_partitions = [sd[i] for sd in fp32_flat_groups]
|
| 269 |
+
full_single_fp32_vector = torch.cat(merged_partitions, 0)
|
| 270 |
+
merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
|
| 271 |
+
avail_numel = sum(
|
| 272 |
+
[full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
|
| 273 |
+
|
| 274 |
+
if debug:
|
| 275 |
+
wanted_params = sum([len(shapes) for shapes in param_shapes])
|
| 276 |
+
wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
|
| 277 |
+
# not asserting if there is a mismatch due to possible padding
|
| 278 |
+
print(f"Have {avail_numel} numels to process.")
|
| 279 |
+
print(f"Need {wanted_numel} numels in {wanted_params} params.")
|
| 280 |
+
|
| 281 |
+
# params
|
| 282 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 283 |
+
# out-of-core computing solution
|
| 284 |
+
total_numel = 0
|
| 285 |
+
total_params = 0
|
| 286 |
+
for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
|
| 287 |
+
offset = 0
|
| 288 |
+
avail_numel = full_single_fp32_vector.numel()
|
| 289 |
+
for name, shape in shapes.items():
|
| 290 |
+
|
| 291 |
+
unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
|
| 292 |
+
total_numel += unpartitioned_numel
|
| 293 |
+
total_params += 1
|
| 294 |
+
|
| 295 |
+
if debug:
|
| 296 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 297 |
+
state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
|
| 298 |
+
offset += unpartitioned_numel
|
| 299 |
+
|
| 300 |
+
# Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
|
| 301 |
+
# avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
|
| 302 |
+
# paddings performed in the code it's almost impossible to predict the exact numbers w/o the
|
| 303 |
+
# live optimizer object, so we are checking that the numbers are within the right range
|
| 304 |
+
align_to = 2 * world_size
|
| 305 |
+
|
| 306 |
+
def zero2_align(x):
|
| 307 |
+
return align_to * math.ceil(x / align_to)
|
| 308 |
+
|
| 309 |
+
if debug:
|
| 310 |
+
print(f"original offset={offset}, avail_numel={avail_numel}")
|
| 311 |
+
|
| 312 |
+
offset = zero2_align(offset)
|
| 313 |
+
avail_numel = zero2_align(avail_numel)
|
| 314 |
+
|
| 315 |
+
if debug:
|
| 316 |
+
print(f"aligned offset={offset}, avail_numel={avail_numel}")
|
| 317 |
+
|
| 318 |
+
# Sanity check
|
| 319 |
+
if offset != avail_numel:
|
| 320 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 321 |
+
|
| 322 |
+
print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
|
| 323 |
+
|
| 324 |
+
|
| 325 |
+
def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 326 |
+
exclude_frozen_parameters):
|
| 327 |
+
state_dict = OrderedDict()
|
| 328 |
+
|
| 329 |
+
# buffers
|
| 330 |
+
buffers = zero_model_states[0].buffers
|
| 331 |
+
state_dict.update(buffers)
|
| 332 |
+
if debug:
|
| 333 |
+
print(f"added {len(buffers)} buffers")
|
| 334 |
+
|
| 335 |
+
if not exclude_frozen_parameters:
|
| 336 |
+
_zero2_merge_frozen_params(state_dict, zero_model_states)
|
| 337 |
+
|
| 338 |
+
_zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 339 |
+
|
| 340 |
+
# recover shared parameters
|
| 341 |
+
for pair in zero_model_states[0].shared_params:
|
| 342 |
+
if pair[1] in state_dict:
|
| 343 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 344 |
+
|
| 345 |
+
return state_dict
|
| 346 |
+
|
| 347 |
+
|
| 348 |
+
def zero3_partitioned_param_info(unpartitioned_numel, world_size):
|
| 349 |
+
remainder = unpartitioned_numel % world_size
|
| 350 |
+
padding_numel = (world_size - remainder) if remainder else 0
|
| 351 |
+
partitioned_numel = math.ceil(unpartitioned_numel / world_size)
|
| 352 |
+
return partitioned_numel, padding_numel
|
| 353 |
+
|
| 354 |
+
|
| 355 |
+
def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
|
| 356 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 357 |
+
return
|
| 358 |
+
|
| 359 |
+
if debug:
|
| 360 |
+
for i in range(world_size):
|
| 361 |
+
num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
|
| 362 |
+
print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 363 |
+
|
| 364 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 365 |
+
wanted_params = len(frozen_param_shapes)
|
| 366 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 367 |
+
avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
|
| 368 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 369 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 370 |
+
|
| 371 |
+
total_params = 0
|
| 372 |
+
total_numel = 0
|
| 373 |
+
for name, shape in zero_model_states[0].frozen_param_shapes.items():
|
| 374 |
+
total_params += 1
|
| 375 |
+
unpartitioned_numel = shape.numel()
|
| 376 |
+
total_numel += unpartitioned_numel
|
| 377 |
+
|
| 378 |
+
param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
|
| 379 |
+
state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
|
| 380 |
+
|
| 381 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 382 |
+
|
| 383 |
+
if debug:
|
| 384 |
+
print(
|
| 385 |
+
f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 386 |
+
)
|
| 387 |
+
|
| 388 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 389 |
+
|
| 390 |
+
|
| 391 |
+
class GatheredTensor:
|
| 392 |
+
"""
|
| 393 |
+
A pseudo tensor that collects partitioned weights.
|
| 394 |
+
It is more memory efficient when there are multiple groups.
|
| 395 |
+
"""
|
| 396 |
+
|
| 397 |
+
def __init__(self, flat_groups, flat_groups_offset, offset, partitioned_numel, shape):
|
| 398 |
+
self.flat_groups = flat_groups
|
| 399 |
+
self.flat_groups_offset = flat_groups_offset
|
| 400 |
+
self.offset = offset
|
| 401 |
+
self.partitioned_numel = partitioned_numel
|
| 402 |
+
self.shape = shape
|
| 403 |
+
self.dtype = self.flat_groups[0][0].dtype
|
| 404 |
+
|
| 405 |
+
def contiguous(self):
|
| 406 |
+
"""
|
| 407 |
+
Merge partitioned weights from flat_groups into a single tensor.
|
| 408 |
+
"""
|
| 409 |
+
end_idx = self.offset + self.partitioned_numel
|
| 410 |
+
world_size = len(self.flat_groups)
|
| 411 |
+
pad_flat_param_chunks = []
|
| 412 |
+
|
| 413 |
+
for rank_i in range(world_size):
|
| 414 |
+
# for each rank, we need to collect weights from related group/groups
|
| 415 |
+
flat_groups_at_rank_i = self.flat_groups[rank_i]
|
| 416 |
+
start_group_id = None
|
| 417 |
+
end_group_id = None
|
| 418 |
+
for group_id in range(len(self.flat_groups_offset)):
|
| 419 |
+
if self.flat_groups_offset[group_id] <= self.offset < self.flat_groups_offset[group_id + 1]:
|
| 420 |
+
start_group_id = group_id
|
| 421 |
+
if self.flat_groups_offset[group_id] < end_idx <= self.flat_groups_offset[group_id + 1]:
|
| 422 |
+
end_group_id = group_id
|
| 423 |
+
break
|
| 424 |
+
# collect weights from related group/groups
|
| 425 |
+
for group_id in range(start_group_id, end_group_id + 1):
|
| 426 |
+
flat_tensor = flat_groups_at_rank_i[group_id]
|
| 427 |
+
start_offset = self.offset - self.flat_groups_offset[group_id]
|
| 428 |
+
end_offset = min(end_idx, self.flat_groups_offset[group_id + 1]) - self.flat_groups_offset[group_id]
|
| 429 |
+
pad_flat_param_chunks.append(flat_tensor[start_offset:end_offset])
|
| 430 |
+
|
| 431 |
+
# collect weights from all ranks
|
| 432 |
+
pad_flat_param = torch.cat(pad_flat_param_chunks, dim=0)
|
| 433 |
+
param = pad_flat_param[:self.shape.numel()].view(self.shape).contiguous()
|
| 434 |
+
return param
|
| 435 |
+
|
| 436 |
+
|
| 437 |
+
def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 438 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 439 |
+
avail_numel = sum([flat_group.numel() for flat_group in fp32_flat_groups[0]]) * world_size
|
| 440 |
+
|
| 441 |
+
# Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
|
| 442 |
+
# param, re-consolidating each param, while dealing with padding if any
|
| 443 |
+
|
| 444 |
+
# merge list of dicts, preserving order
|
| 445 |
+
param_shapes = {k: v for d in param_shapes for k, v in d.items()}
|
| 446 |
+
|
| 447 |
+
if debug:
|
| 448 |
+
for i in range(world_size):
|
| 449 |
+
print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
|
| 450 |
+
|
| 451 |
+
wanted_params = len(param_shapes)
|
| 452 |
+
wanted_numel = sum(shape.numel() for shape in param_shapes.values())
|
| 453 |
+
# not asserting if there is a mismatch due to possible padding
|
| 454 |
+
avail_numel = fp32_flat_groups[0].numel() * world_size
|
| 455 |
+
print(f"Trainable params: Have {avail_numel} numels to process.")
|
| 456 |
+
print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
|
| 457 |
+
|
| 458 |
+
# params
|
| 459 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 460 |
+
# out-of-core computing solution
|
| 461 |
+
offset = 0
|
| 462 |
+
total_numel = 0
|
| 463 |
+
total_params = 0
|
| 464 |
+
flat_groups_offset = [0] + list(np.cumsum([flat_tensor.numel() for flat_tensor in fp32_flat_groups[0]]))
|
| 465 |
+
for name, shape in tqdm(param_shapes.items(), desc='Gathering sharded weights'):
|
| 466 |
+
unpartitioned_numel = shape.numel()
|
| 467 |
+
total_numel += unpartitioned_numel
|
| 468 |
+
total_params += 1
|
| 469 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 470 |
+
|
| 471 |
+
if debug:
|
| 472 |
+
print(
|
| 473 |
+
f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 474 |
+
)
|
| 475 |
+
|
| 476 |
+
# memory efficient tensor
|
| 477 |
+
tensor = GatheredTensor(fp32_flat_groups, flat_groups_offset, offset, partitioned_numel, shape)
|
| 478 |
+
state_dict[name] = tensor
|
| 479 |
+
offset += partitioned_numel
|
| 480 |
+
|
| 481 |
+
offset *= world_size
|
| 482 |
+
|
| 483 |
+
# Sanity check
|
| 484 |
+
if offset != avail_numel:
|
| 485 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 486 |
+
|
| 487 |
+
print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
|
| 488 |
+
|
| 489 |
+
|
| 490 |
+
def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 491 |
+
exclude_frozen_parameters):
|
| 492 |
+
state_dict = OrderedDict()
|
| 493 |
+
|
| 494 |
+
# buffers
|
| 495 |
+
buffers = zero_model_states[0].buffers
|
| 496 |
+
state_dict.update(buffers)
|
| 497 |
+
if debug:
|
| 498 |
+
print(f"added {len(buffers)} buffers")
|
| 499 |
+
|
| 500 |
+
if not exclude_frozen_parameters:
|
| 501 |
+
_zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
|
| 502 |
+
|
| 503 |
+
_zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 504 |
+
|
| 505 |
+
# recover shared parameters
|
| 506 |
+
for pair in zero_model_states[0].shared_params:
|
| 507 |
+
if pair[1] in state_dict:
|
| 508 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 509 |
+
|
| 510 |
+
return state_dict
|
| 511 |
+
|
| 512 |
+
|
| 513 |
+
def to_torch_tensor(state_dict, return_empty_tensor=False):
|
| 514 |
+
"""
|
| 515 |
+
Convert state_dict of GatheredTensor to torch tensor
|
| 516 |
+
"""
|
| 517 |
+
torch_state_dict = {}
|
| 518 |
+
converted_tensors = {}
|
| 519 |
+
for name, tensor in state_dict.items():
|
| 520 |
+
tensor_id = id(tensor)
|
| 521 |
+
if tensor_id in converted_tensors: # shared tensors
|
| 522 |
+
shared_tensor = torch_state_dict[converted_tensors[tensor_id]]
|
| 523 |
+
torch_state_dict[name] = shared_tensor
|
| 524 |
+
else:
|
| 525 |
+
converted_tensors[tensor_id] = name
|
| 526 |
+
if return_empty_tensor:
|
| 527 |
+
torch_state_dict[name] = torch.empty(tensor.shape, dtype=tensor.dtype)
|
| 528 |
+
else:
|
| 529 |
+
torch_state_dict[name] = tensor.contiguous()
|
| 530 |
+
return torch_state_dict
|
| 531 |
+
|
| 532 |
+
|
| 533 |
+
def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 534 |
+
tag=None,
|
| 535 |
+
exclude_frozen_parameters=False,
|
| 536 |
+
lazy_mode=False):
|
| 537 |
+
"""
|
| 538 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
|
| 539 |
+
``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
|
| 540 |
+
via a model hub.
|
| 541 |
+
|
| 542 |
+
Args:
|
| 543 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder
|
| 544 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in 'latest' file. e.g., ``global_step14``
|
| 545 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 546 |
+
- ``lazy_mode``: get state_dict in lazy mode. It returns a dict of pesduo tensor instead of torch tensor, which is more memory efficient.
|
| 547 |
+
Convert the pesduo tensor to torch tensor by ``.contiguous()``
|
| 548 |
+
|
| 549 |
+
Returns:
|
| 550 |
+
- pytorch ``state_dict``
|
| 551 |
+
|
| 552 |
+
A typical usage might be ::
|
| 553 |
+
|
| 554 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 555 |
+
# do the training and checkpoint saving
|
| 556 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
|
| 557 |
+
model = model.cpu() # move to cpu
|
| 558 |
+
model.load_state_dict(state_dict)
|
| 559 |
+
# submit to model hub or save the model to share with others
|
| 560 |
+
|
| 561 |
+
In this example the ``model`` will no longer be usable in the deepspeed context of the same
|
| 562 |
+
application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 563 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 564 |
+
|
| 565 |
+
If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
|
| 566 |
+
|
| 567 |
+
Note: the above usage may not work if your application doesn't have sufficient free CPU memory.
|
| 568 |
+
You may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
|
| 569 |
+
the checkpoint. Or you can load state_dict in lazy mode ::
|
| 570 |
+
|
| 571 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 572 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, lazy_mode=True) # not on cpu
|
| 573 |
+
for name, lazy_tensor in state_dict.item():
|
| 574 |
+
tensor = lazy_tensor.contiguous() # to cpu
|
| 575 |
+
print(name, tensor)
|
| 576 |
+
# del tensor to release memory if it no longer in use
|
| 577 |
+
"""
|
| 578 |
+
if tag is None:
|
| 579 |
+
latest_path = os.path.join(checkpoint_dir, 'latest')
|
| 580 |
+
if os.path.isfile(latest_path):
|
| 581 |
+
with open(latest_path, 'r') as fd:
|
| 582 |
+
tag = fd.read().strip()
|
| 583 |
+
else:
|
| 584 |
+
raise ValueError(f"Unable to find 'latest' file at {latest_path}")
|
| 585 |
+
|
| 586 |
+
ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
|
| 587 |
+
|
| 588 |
+
if not os.path.isdir(ds_checkpoint_dir):
|
| 589 |
+
raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
|
| 590 |
+
|
| 591 |
+
state_dict = _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
|
| 592 |
+
if lazy_mode:
|
| 593 |
+
return state_dict
|
| 594 |
+
else:
|
| 595 |
+
return to_torch_tensor(state_dict)
|
| 596 |
+
|
| 597 |
+
|
| 598 |
+
def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir,
|
| 599 |
+
output_dir,
|
| 600 |
+
max_shard_size="5GB",
|
| 601 |
+
safe_serialization=False,
|
| 602 |
+
tag=None,
|
| 603 |
+
exclude_frozen_parameters=False):
|
| 604 |
+
"""
|
| 605 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
|
| 606 |
+
loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
|
| 607 |
+
|
| 608 |
+
Args:
|
| 609 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 610 |
+
- ``output_dir``: directory to the pytorch fp32 state_dict output files
|
| 611 |
+
- ``max_shard_size``: the maximum size for a checkpoint before being sharded, default value is 5GB
|
| 612 |
+
- ``safe_serialization``: whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).
|
| 613 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 614 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 615 |
+
"""
|
| 616 |
+
|
| 617 |
+
# Dependency pre-check
|
| 618 |
+
if safe_serialization:
|
| 619 |
+
try:
|
| 620 |
+
from safetensors.torch import save_file
|
| 621 |
+
except ImportError:
|
| 622 |
+
print('If you want to use `safe_serialization`, please `pip install safetensors`')
|
| 623 |
+
raise
|
| 624 |
+
if max_shard_size is not None:
|
| 625 |
+
try:
|
| 626 |
+
from huggingface_hub import split_torch_state_dict_into_shards
|
| 627 |
+
except ImportError:
|
| 628 |
+
print('If you want to use `max_shard_size`, please `pip install huggingface_hub`')
|
| 629 |
+
raise
|
| 630 |
+
|
| 631 |
+
# Convert zero checkpoint to state_dict
|
| 632 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 633 |
+
tag,
|
| 634 |
+
exclude_frozen_parameters,
|
| 635 |
+
lazy_mode=True)
|
| 636 |
+
|
| 637 |
+
# Shard the model if it is too big.
|
| 638 |
+
weights_name = "model.safetensors" if safe_serialization else "pytorch_model.bin"
|
| 639 |
+
if max_shard_size is not None:
|
| 640 |
+
filename_pattern = weights_name.replace(".bin", "{suffix}.bin").replace(".safetensors", "{suffix}.safetensors")
|
| 641 |
+
# an memory-efficient approach for sharding
|
| 642 |
+
empty_state_dict = to_torch_tensor(state_dict, return_empty_tensor=True)
|
| 643 |
+
state_dict_split = split_torch_state_dict_into_shards(empty_state_dict,
|
| 644 |
+
filename_pattern=filename_pattern,
|
| 645 |
+
max_shard_size=max_shard_size)
|
| 646 |
+
else:
|
| 647 |
+
from collections import namedtuple
|
| 648 |
+
StateDictSplit = namedtuple("StateDictSplit", ["is_sharded", "filename_to_tensors"])
|
| 649 |
+
state_dict_split = StateDictSplit(is_sharded=False,
|
| 650 |
+
filename_to_tensors={weights_name: list(state_dict.keys())})
|
| 651 |
+
|
| 652 |
+
# Save the model by shard
|
| 653 |
+
os.makedirs(output_dir, exist_ok=True)
|
| 654 |
+
filename_to_tensors = state_dict_split.filename_to_tensors.items()
|
| 655 |
+
for shard_file, tensors in tqdm(filename_to_tensors, desc="Saving checkpoint shards"):
|
| 656 |
+
shard_state_dict = {tensor_name: state_dict[tensor_name] for tensor_name in tensors}
|
| 657 |
+
shard_state_dict = to_torch_tensor(shard_state_dict)
|
| 658 |
+
output_path = os.path.join(output_dir, shard_file)
|
| 659 |
+
if safe_serialization:
|
| 660 |
+
save_file(shard_state_dict, output_path, metadata={"format": "pt"})
|
| 661 |
+
else:
|
| 662 |
+
torch.save(shard_state_dict, output_path)
|
| 663 |
+
# release the memory of current shard
|
| 664 |
+
for tensor_name in list(shard_state_dict.keys()):
|
| 665 |
+
del state_dict[tensor_name]
|
| 666 |
+
del shard_state_dict[tensor_name]
|
| 667 |
+
del shard_state_dict
|
| 668 |
+
gc.collect()
|
| 669 |
+
|
| 670 |
+
# Save index if sharded
|
| 671 |
+
if state_dict_split.is_sharded:
|
| 672 |
+
index = {
|
| 673 |
+
"metadata": state_dict_split.metadata,
|
| 674 |
+
"weight_map": state_dict_split.tensor_to_filename,
|
| 675 |
+
}
|
| 676 |
+
save_index_file = "model.safetensors.index.json" if safe_serialization else "pytorch_model.bin.index.json"
|
| 677 |
+
save_index_file = os.path.join(output_dir, save_index_file)
|
| 678 |
+
with open(save_index_file, "w", encoding="utf-8") as f:
|
| 679 |
+
content = json.dumps(index, indent=2, sort_keys=True) + "\n"
|
| 680 |
+
f.write(content)
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
|
| 684 |
+
"""
|
| 685 |
+
1. Put the provided model to cpu
|
| 686 |
+
2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
|
| 687 |
+
3. Load it into the provided model
|
| 688 |
+
|
| 689 |
+
Args:
|
| 690 |
+
- ``model``: the model object to update
|
| 691 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 692 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 693 |
+
|
| 694 |
+
Returns:
|
| 695 |
+
- ``model`: modified model
|
| 696 |
+
|
| 697 |
+
Make sure you have plenty of CPU memory available before you call this function. If you don't
|
| 698 |
+
have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
|
| 699 |
+
conveniently placed for you in the checkpoint folder.
|
| 700 |
+
|
| 701 |
+
A typical usage might be ::
|
| 702 |
+
|
| 703 |
+
from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
|
| 704 |
+
model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
|
| 705 |
+
# submit to model hub or save the model to share with others
|
| 706 |
+
|
| 707 |
+
Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
|
| 708 |
+
of the same application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 709 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 710 |
+
|
| 711 |
+
"""
|
| 712 |
+
logger.info("Extracting fp32 weights")
|
| 713 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
|
| 714 |
+
|
| 715 |
+
logger.info("Overwriting model with fp32 weights")
|
| 716 |
+
model = model.cpu()
|
| 717 |
+
model.load_state_dict(state_dict, strict=False)
|
| 718 |
+
|
| 719 |
+
return model
|
| 720 |
+
|
| 721 |
+
|
| 722 |
+
if __name__ == "__main__":
|
| 723 |
+
parser = argparse.ArgumentParser()
|
| 724 |
+
parser.add_argument("checkpoint_dir",
|
| 725 |
+
type=str,
|
| 726 |
+
help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
|
| 727 |
+
parser.add_argument("output_dir",
|
| 728 |
+
type=str,
|
| 729 |
+
help="directory to the pytorch fp32 state_dict output files"
|
| 730 |
+
"(e.g. path/checkpoint-12-output/)")
|
| 731 |
+
parser.add_argument(
|
| 732 |
+
"--max_shard_size",
|
| 733 |
+
type=str,
|
| 734 |
+
default="5GB",
|
| 735 |
+
help="The maximum size for a checkpoint before being sharded. Checkpoints shard will then be each of size"
|
| 736 |
+
"lower than this size. If expressed as a string, needs to be digits followed by a unit (like `5MB`"
|
| 737 |
+
"We default it to 5GB in order for models to be able to run easily on free-tier google colab instances"
|
| 738 |
+
"without CPU OOM issues.")
|
| 739 |
+
parser.add_argument(
|
| 740 |
+
"--safe_serialization",
|
| 741 |
+
default=False,
|
| 742 |
+
action='store_true',
|
| 743 |
+
help="Whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).")
|
| 744 |
+
parser.add_argument("-t",
|
| 745 |
+
"--tag",
|
| 746 |
+
type=str,
|
| 747 |
+
default=None,
|
| 748 |
+
help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
|
| 749 |
+
parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
|
| 750 |
+
parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
|
| 751 |
+
args = parser.parse_args()
|
| 752 |
+
|
| 753 |
+
debug = args.debug
|
| 754 |
+
|
| 755 |
+
convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
|
| 756 |
+
args.output_dir,
|
| 757 |
+
max_shard_size=args.max_shard_size,
|
| 758 |
+
safe_serialization=args.safe_serialization,
|
| 759 |
+
tag=args.tag,
|
| 760 |
+
exclude_frozen_parameters=args.exclude_frozen_parameters)
|
output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/added_tokens.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</think>": 151668,
|
| 3 |
+
"</tool_call>": 151658,
|
| 4 |
+
"</tool_response>": 151666,
|
| 5 |
+
"<think>": 151667,
|
| 6 |
+
"<tool_call>": 151657,
|
| 7 |
+
"<tool_response>": 151665,
|
| 8 |
+
"<|box_end|>": 151649,
|
| 9 |
+
"<|box_start|>": 151648,
|
| 10 |
+
"<|endoftext|>": 151643,
|
| 11 |
+
"<|file_sep|>": 151664,
|
| 12 |
+
"<|fim_middle|>": 151660,
|
| 13 |
+
"<|fim_pad|>": 151662,
|
| 14 |
+
"<|fim_prefix|>": 151659,
|
| 15 |
+
"<|fim_suffix|>": 151661,
|
| 16 |
+
"<|im_end|>": 151645,
|
| 17 |
+
"<|im_start|>": 151644,
|
| 18 |
+
"<|image_pad|>": 151655,
|
| 19 |
+
"<|object_ref_end|>": 151647,
|
| 20 |
+
"<|object_ref_start|>": 151646,
|
| 21 |
+
"<|quad_end|>": 151651,
|
| 22 |
+
"<|quad_start|>": 151650,
|
| 23 |
+
"<|repo_name|>": 151663,
|
| 24 |
+
"<|video_pad|>": 151656,
|
| 25 |
+
"<|vision_end|>": 151653,
|
| 26 |
+
"<|vision_pad|>": 151654,
|
| 27 |
+
"<|vision_start|>": 151652
|
| 28 |
+
}
|
output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/args.json
ADDED
|
@@ -0,0 +1,408 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"output_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train",
|
| 3 |
+
"overwrite_output_dir": false,
|
| 4 |
+
"do_train": false,
|
| 5 |
+
"do_eval": false,
|
| 6 |
+
"do_predict": false,
|
| 7 |
+
"eval_strategy": "no",
|
| 8 |
+
"prediction_loss_only": false,
|
| 9 |
+
"per_device_train_batch_size": 8,
|
| 10 |
+
"per_device_eval_batch_size": 1,
|
| 11 |
+
"per_gpu_train_batch_size": null,
|
| 12 |
+
"per_gpu_eval_batch_size": null,
|
| 13 |
+
"gradient_accumulation_steps": 2,
|
| 14 |
+
"eval_accumulation_steps": null,
|
| 15 |
+
"eval_delay": 0,
|
| 16 |
+
"torch_empty_cache_steps": null,
|
| 17 |
+
"learning_rate": 1e-05,
|
| 18 |
+
"weight_decay": 0.1,
|
| 19 |
+
"adam_beta1": 0.9,
|
| 20 |
+
"adam_beta2": 0.95,
|
| 21 |
+
"adam_epsilon": 1e-08,
|
| 22 |
+
"max_grad_norm": 1.0,
|
| 23 |
+
"num_train_epochs": 3.0,
|
| 24 |
+
"max_steps": -1,
|
| 25 |
+
"lr_scheduler_type": "cosine",
|
| 26 |
+
"lr_scheduler_kwargs": null,
|
| 27 |
+
"warmup_ratio": 0.05,
|
| 28 |
+
"warmup_steps": 0,
|
| 29 |
+
"log_level": "passive",
|
| 30 |
+
"log_level_replica": "warning",
|
| 31 |
+
"log_on_each_node": true,
|
| 32 |
+
"logging_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/runs",
|
| 33 |
+
"logging_strategy": "steps",
|
| 34 |
+
"logging_first_step": true,
|
| 35 |
+
"logging_steps": 1,
|
| 36 |
+
"logging_nan_inf_filter": true,
|
| 37 |
+
"save_strategy": "epoch",
|
| 38 |
+
"save_steps": 500,
|
| 39 |
+
"save_total_limit": 1,
|
| 40 |
+
"save_safetensors": true,
|
| 41 |
+
"save_on_each_node": false,
|
| 42 |
+
"save_only_model": true,
|
| 43 |
+
"restore_callback_states_from_checkpoint": false,
|
| 44 |
+
"no_cuda": false,
|
| 45 |
+
"use_cpu": false,
|
| 46 |
+
"use_mps_device": false,
|
| 47 |
+
"seed": 42,
|
| 48 |
+
"data_seed": 42,
|
| 49 |
+
"jit_mode_eval": false,
|
| 50 |
+
"bf16": true,
|
| 51 |
+
"fp16": false,
|
| 52 |
+
"fp16_opt_level": "O1",
|
| 53 |
+
"half_precision_backend": "auto",
|
| 54 |
+
"bf16_full_eval": false,
|
| 55 |
+
"fp16_full_eval": false,
|
| 56 |
+
"tf32": null,
|
| 57 |
+
"local_rank": 0,
|
| 58 |
+
"ddp_backend": null,
|
| 59 |
+
"tpu_num_cores": null,
|
| 60 |
+
"tpu_metrics_debug": false,
|
| 61 |
+
"debug": null,
|
| 62 |
+
"dataloader_drop_last": false,
|
| 63 |
+
"eval_steps": null,
|
| 64 |
+
"dataloader_num_workers": 4,
|
| 65 |
+
"dataloader_prefetch_factor": null,
|
| 66 |
+
"past_index": -1,
|
| 67 |
+
"run_name": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train",
|
| 68 |
+
"disable_tqdm": null,
|
| 69 |
+
"remove_unused_columns": true,
|
| 70 |
+
"label_names": null,
|
| 71 |
+
"load_best_model_at_end": false,
|
| 72 |
+
"metric_for_best_model": "loss",
|
| 73 |
+
"greater_is_better": false,
|
| 74 |
+
"ignore_data_skip": false,
|
| 75 |
+
"fsdp": [],
|
| 76 |
+
"fsdp_min_num_params": 0,
|
| 77 |
+
"fsdp_config": null,
|
| 78 |
+
"fsdp_transformer_layer_cls_to_wrap": null,
|
| 79 |
+
"accelerator_config": {
|
| 80 |
+
"dispatch_batches": false
|
| 81 |
+
},
|
| 82 |
+
"parallelism_config": null,
|
| 83 |
+
"deepspeed": {
|
| 84 |
+
"fp16": {
|
| 85 |
+
"enabled": "auto",
|
| 86 |
+
"loss_scale": 0,
|
| 87 |
+
"loss_scale_window": 1000,
|
| 88 |
+
"initial_scale_power": 16,
|
| 89 |
+
"hysteresis": 2,
|
| 90 |
+
"min_loss_scale": 1
|
| 91 |
+
},
|
| 92 |
+
"bf16": {
|
| 93 |
+
"enabled": "auto"
|
| 94 |
+
},
|
| 95 |
+
"zero_optimization": {
|
| 96 |
+
"stage": 3,
|
| 97 |
+
"offload_optimizer": {
|
| 98 |
+
"device": "none",
|
| 99 |
+
"pin_memory": true
|
| 100 |
+
},
|
| 101 |
+
"offload_param": {
|
| 102 |
+
"device": "none",
|
| 103 |
+
"pin_memory": true
|
| 104 |
+
},
|
| 105 |
+
"overlap_comm": false,
|
| 106 |
+
"contiguous_gradients": true,
|
| 107 |
+
"sub_group_size": 1000000000.0,
|
| 108 |
+
"reduce_bucket_size": "auto",
|
| 109 |
+
"zero_quantized_weights": false,
|
| 110 |
+
"zero_quantized_gradients": false,
|
| 111 |
+
"stage3_prefetch_bucket_size": "auto",
|
| 112 |
+
"stage3_param_persistence_threshold": "auto",
|
| 113 |
+
"stage3_max_live_parameters": 1000000000.0,
|
| 114 |
+
"stage3_max_reuse_distance": 1000000000.0,
|
| 115 |
+
"stage3_gather_16bit_weights_on_model_save": true
|
| 116 |
+
},
|
| 117 |
+
"gradient_accumulation_steps": "auto",
|
| 118 |
+
"gradient_clipping": "auto",
|
| 119 |
+
"steps_per_print": 2000,
|
| 120 |
+
"train_batch_size": "auto",
|
| 121 |
+
"train_micro_batch_size_per_gpu": "auto",
|
| 122 |
+
"wall_clock_breakdown": false
|
| 123 |
+
},
|
| 124 |
+
"label_smoothing_factor": 0.0,
|
| 125 |
+
"optim": "adamw_torch_fused",
|
| 126 |
+
"optim_args": null,
|
| 127 |
+
"adafactor": false,
|
| 128 |
+
"group_by_length": false,
|
| 129 |
+
"length_column_name": "length",
|
| 130 |
+
"report_to": [
|
| 131 |
+
"tensorboard"
|
| 132 |
+
],
|
| 133 |
+
"project": "huggingface",
|
| 134 |
+
"trackio_space_id": "trackio",
|
| 135 |
+
"ddp_find_unused_parameters": null,
|
| 136 |
+
"ddp_bucket_cap_mb": null,
|
| 137 |
+
"ddp_broadcast_buffers": null,
|
| 138 |
+
"dataloader_pin_memory": true,
|
| 139 |
+
"dataloader_persistent_workers": false,
|
| 140 |
+
"skip_memory_metrics": true,
|
| 141 |
+
"use_legacy_prediction_loop": false,
|
| 142 |
+
"push_to_hub": false,
|
| 143 |
+
"resume_from_checkpoint": null,
|
| 144 |
+
"hub_model_id": null,
|
| 145 |
+
"hub_strategy": "every_save",
|
| 146 |
+
"hub_token": null,
|
| 147 |
+
"hub_private_repo": null,
|
| 148 |
+
"hub_always_push": false,
|
| 149 |
+
"hub_revision": null,
|
| 150 |
+
"gradient_checkpointing": true,
|
| 151 |
+
"gradient_checkpointing_kwargs": null,
|
| 152 |
+
"include_inputs_for_metrics": false,
|
| 153 |
+
"include_for_metrics": [],
|
| 154 |
+
"eval_do_concat_batches": true,
|
| 155 |
+
"fp16_backend": "auto",
|
| 156 |
+
"push_to_hub_model_id": null,
|
| 157 |
+
"push_to_hub_organization": null,
|
| 158 |
+
"push_to_hub_token": null,
|
| 159 |
+
"mp_parameters": "",
|
| 160 |
+
"auto_find_batch_size": false,
|
| 161 |
+
"full_determinism": false,
|
| 162 |
+
"torchdynamo": null,
|
| 163 |
+
"ray_scope": "last",
|
| 164 |
+
"ddp_timeout": 18000000,
|
| 165 |
+
"torch_compile": false,
|
| 166 |
+
"torch_compile_backend": null,
|
| 167 |
+
"torch_compile_mode": null,
|
| 168 |
+
"include_tokens_per_second": false,
|
| 169 |
+
"include_num_input_tokens_seen": false,
|
| 170 |
+
"neftune_noise_alpha": null,
|
| 171 |
+
"optim_target_modules": null,
|
| 172 |
+
"batch_eval_metrics": false,
|
| 173 |
+
"eval_on_start": false,
|
| 174 |
+
"use_liger_kernel": true,
|
| 175 |
+
"liger_kernel_config": null,
|
| 176 |
+
"eval_use_gather_object": false,
|
| 177 |
+
"average_tokens_across_devices": true,
|
| 178 |
+
"sortish_sampler": false,
|
| 179 |
+
"predict_with_generate": false,
|
| 180 |
+
"generation_max_length": null,
|
| 181 |
+
"generation_num_beams": null,
|
| 182 |
+
"generation_config": null,
|
| 183 |
+
"tuner_backend": "peft",
|
| 184 |
+
"vit_gradient_checkpointing": true,
|
| 185 |
+
"router_aux_loss_coef": 0.0,
|
| 186 |
+
"enable_dft_loss": false,
|
| 187 |
+
"enable_channel_loss": false,
|
| 188 |
+
"check_model": true,
|
| 189 |
+
"acc_strategy": "token",
|
| 190 |
+
"train_dataloader_shuffle": true,
|
| 191 |
+
"max_epochs": null,
|
| 192 |
+
"aligner_lr": null,
|
| 193 |
+
"vit_lr": null,
|
| 194 |
+
"use_logits_to_keep": true,
|
| 195 |
+
"ds3_gather_for_generation": true,
|
| 196 |
+
"resume_only_model": false,
|
| 197 |
+
"optimizer": null,
|
| 198 |
+
"loss_type": null,
|
| 199 |
+
"eval_metric": null,
|
| 200 |
+
"callbacks": [],
|
| 201 |
+
"early_stop_interval": null,
|
| 202 |
+
"eval_use_evalscope": false,
|
| 203 |
+
"eval_dataset": [],
|
| 204 |
+
"eval_dataset_args": null,
|
| 205 |
+
"eval_limit": null,
|
| 206 |
+
"eval_generation_config": null,
|
| 207 |
+
"extra_eval_args": null,
|
| 208 |
+
"tuner_type": "full",
|
| 209 |
+
"use_galore": false,
|
| 210 |
+
"galore_target_modules": null,
|
| 211 |
+
"galore_rank": 128,
|
| 212 |
+
"galore_update_proj_gap": 50,
|
| 213 |
+
"galore_scale": 1.0,
|
| 214 |
+
"galore_proj_type": "std",
|
| 215 |
+
"galore_optim_per_parameter": false,
|
| 216 |
+
"galore_with_embedding": false,
|
| 217 |
+
"galore_quantization": false,
|
| 218 |
+
"galore_proj_quant": false,
|
| 219 |
+
"galore_proj_bits": 4,
|
| 220 |
+
"galore_proj_group_size": 256,
|
| 221 |
+
"galore_cos_threshold": 0.4,
|
| 222 |
+
"galore_gamma_proj": 2,
|
| 223 |
+
"galore_queue_size": 5,
|
| 224 |
+
"lisa_activated_layers": 0,
|
| 225 |
+
"lisa_step_interval": 20,
|
| 226 |
+
"use_flash_ckpt": false,
|
| 227 |
+
"use_ray": false,
|
| 228 |
+
"ray_exp_name": null,
|
| 229 |
+
"device_groups": null,
|
| 230 |
+
"model": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 231 |
+
"model_type": "qwen3_vl",
|
| 232 |
+
"model_revision": null,
|
| 233 |
+
"task_type": "causal_lm",
|
| 234 |
+
"torch_dtype": "bfloat16",
|
| 235 |
+
"attn_impl": "sdpa",
|
| 236 |
+
"experts_impl": null,
|
| 237 |
+
"new_special_tokens": [],
|
| 238 |
+
"num_labels": null,
|
| 239 |
+
"problem_type": null,
|
| 240 |
+
"rope_scaling": null,
|
| 241 |
+
"device_map": null,
|
| 242 |
+
"max_memory": {},
|
| 243 |
+
"max_model_len": null,
|
| 244 |
+
"local_repo_path": null,
|
| 245 |
+
"init_strategy": null,
|
| 246 |
+
"template": "qwen3_vl_vqa",
|
| 247 |
+
"system": null,
|
| 248 |
+
"max_length": 5120,
|
| 249 |
+
"truncation_strategy": "delete",
|
| 250 |
+
"max_pixels": 196608,
|
| 251 |
+
"agent_template": null,
|
| 252 |
+
"norm_bbox": null,
|
| 253 |
+
"use_chat_template": true,
|
| 254 |
+
"padding_side": "right",
|
| 255 |
+
"padding_free": false,
|
| 256 |
+
"loss_scale": "default",
|
| 257 |
+
"sequence_parallel_size": 1,
|
| 258 |
+
"template_backend": "swift",
|
| 259 |
+
"response_prefix": null,
|
| 260 |
+
"enable_thinking": false,
|
| 261 |
+
"add_non_thinking_prefix": false,
|
| 262 |
+
"dataset": [
|
| 263 |
+
"/cephfs/zhengwc/nuReasoning/dataset/sft/planning_08b/regular12/planning_val.jsonl"
|
| 264 |
+
],
|
| 265 |
+
"val_dataset": [],
|
| 266 |
+
"cached_dataset": [],
|
| 267 |
+
"cached_val_dataset": [],
|
| 268 |
+
"split_dataset_ratio": 0.0,
|
| 269 |
+
"dataset_num_proc": 1,
|
| 270 |
+
"load_from_cache_file": false,
|
| 271 |
+
"dataset_shuffle": true,
|
| 272 |
+
"val_dataset_shuffle": false,
|
| 273 |
+
"streaming": false,
|
| 274 |
+
"interleave_prob": null,
|
| 275 |
+
"stopping_strategy": "first_exhausted",
|
| 276 |
+
"shuffle_buffer_size": 1000,
|
| 277 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 278 |
+
"columns": {},
|
| 279 |
+
"strict": false,
|
| 280 |
+
"model_name": null,
|
| 281 |
+
"model_author": null,
|
| 282 |
+
"custom_dataset_info": [],
|
| 283 |
+
"quant_method": null,
|
| 284 |
+
"quant_bits": null,
|
| 285 |
+
"hqq_axis": null,
|
| 286 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 287 |
+
"bnb_4bit_quant_type": "nf4",
|
| 288 |
+
"bnb_4bit_use_double_quant": true,
|
| 289 |
+
"bnb_4bit_quant_storage": null,
|
| 290 |
+
"max_new_tokens": 64,
|
| 291 |
+
"temperature": 0.0,
|
| 292 |
+
"top_k": null,
|
| 293 |
+
"top_p": null,
|
| 294 |
+
"repetition_penalty": null,
|
| 295 |
+
"num_beams": 1,
|
| 296 |
+
"stream": false,
|
| 297 |
+
"stop_words": [],
|
| 298 |
+
"logprobs": false,
|
| 299 |
+
"top_logprobs": null,
|
| 300 |
+
"structured_outputs_regex": null,
|
| 301 |
+
"train_type": null,
|
| 302 |
+
"adapters": [],
|
| 303 |
+
"external_plugins": [
|
| 304 |
+
"/cephfs/zhengwc/nuReasoning/logs/regular12_val/20261103-r12val/plugins/swift_vqa_template.py",
|
| 305 |
+
"/cephfs/zhengwc/nuReasoning/logs/regular12_val/20261103-r12val/plugins/save_epoch_checkpoint.py"
|
| 306 |
+
],
|
| 307 |
+
"custom_register_path": [],
|
| 308 |
+
"model_kwargs": {},
|
| 309 |
+
"load_args": false,
|
| 310 |
+
"load_data_args": false,
|
| 311 |
+
"packing": false,
|
| 312 |
+
"packing_length": null,
|
| 313 |
+
"packing_num_proc": 1,
|
| 314 |
+
"lazy_tokenize": true,
|
| 315 |
+
"use_hf": true,
|
| 316 |
+
"ignore_args_error": false,
|
| 317 |
+
"use_swift_lora": false,
|
| 318 |
+
"freeze_parameters": [],
|
| 319 |
+
"freeze_parameters_regex": null,
|
| 320 |
+
"freeze_parameters_ratio": 0.0,
|
| 321 |
+
"trainable_parameters": [
|
| 322 |
+
"model.visual.merger",
|
| 323 |
+
"model.visual.deepstack_merger_list"
|
| 324 |
+
],
|
| 325 |
+
"trainable_parameters_regex": null,
|
| 326 |
+
"freeze_llm": false,
|
| 327 |
+
"freeze_vit": false,
|
| 328 |
+
"freeze_aligner": false,
|
| 329 |
+
"target_modules": [
|
| 330 |
+
"all-linear"
|
| 331 |
+
],
|
| 332 |
+
"target_regex": null,
|
| 333 |
+
"target_parameters": null,
|
| 334 |
+
"modules_to_save": [],
|
| 335 |
+
"lora_rank": 8,
|
| 336 |
+
"lora_alpha": 32,
|
| 337 |
+
"lora_dropout": 0.05,
|
| 338 |
+
"lora_bias": "none",
|
| 339 |
+
"lora_dtype": null,
|
| 340 |
+
"lorap_lr_ratio": null,
|
| 341 |
+
"use_rslora": false,
|
| 342 |
+
"use_dora": false,
|
| 343 |
+
"lora_ga_batch_size": 2,
|
| 344 |
+
"lora_ga_iters": 2,
|
| 345 |
+
"lora_ga_max_length": 1024,
|
| 346 |
+
"lora_ga_direction": "ArB2r",
|
| 347 |
+
"lora_ga_scale": "stable",
|
| 348 |
+
"lora_ga_stable_gamma": 16,
|
| 349 |
+
"init_weights": true,
|
| 350 |
+
"fourier_n_frequency": 2000,
|
| 351 |
+
"fourier_scaling": 300.0,
|
| 352 |
+
"boft_block_size": 4,
|
| 353 |
+
"boft_block_num": 0,
|
| 354 |
+
"boft_n_butterfly_factor": 1,
|
| 355 |
+
"boft_dropout": 0.0,
|
| 356 |
+
"vera_rank": 256,
|
| 357 |
+
"vera_projection_prng_key": 0,
|
| 358 |
+
"vera_dropout": 0.0,
|
| 359 |
+
"vera_d_initial": 0.1,
|
| 360 |
+
"adapter_act": "gelu",
|
| 361 |
+
"adapter_length": 128,
|
| 362 |
+
"adalora_target_r": 8,
|
| 363 |
+
"adalora_init_r": 12,
|
| 364 |
+
"adalora_tinit": 0,
|
| 365 |
+
"adalora_tfinal": 0,
|
| 366 |
+
"adalora_deltaT": 1,
|
| 367 |
+
"adalora_beta1": 0.85,
|
| 368 |
+
"adalora_beta2": 0.85,
|
| 369 |
+
"adalora_orth_reg_weight": 0.5,
|
| 370 |
+
"llamapro_num_new_blocks": 4,
|
| 371 |
+
"llamapro_num_groups": null,
|
| 372 |
+
"reft_layer_key": null,
|
| 373 |
+
"reft_layers": null,
|
| 374 |
+
"reft_rank": 4,
|
| 375 |
+
"reft_intervention_type": "LoreftIntervention",
|
| 376 |
+
"reft_args": null,
|
| 377 |
+
"swanlab_token": null,
|
| 378 |
+
"swanlab_project": "ms-swift",
|
| 379 |
+
"swanlab_workspace": null,
|
| 380 |
+
"swanlab_exp_name": null,
|
| 381 |
+
"swanlab_notification_method": null,
|
| 382 |
+
"swanlab_webhook_url": null,
|
| 383 |
+
"swanlab_secret": null,
|
| 384 |
+
"swanlab_sender_email": null,
|
| 385 |
+
"swanlab_receiver_email": null,
|
| 386 |
+
"swanlab_smtp_server": null,
|
| 387 |
+
"swanlab_smtp_port": null,
|
| 388 |
+
"swanlab_email_language": "zh",
|
| 389 |
+
"swanlab_mode": "cloud",
|
| 390 |
+
"add_version": false,
|
| 391 |
+
"create_checkpoint_symlink": false,
|
| 392 |
+
"zero_hpz_partition_size": null,
|
| 393 |
+
"deepspeed_autotp_size": null,
|
| 394 |
+
"swift_version": "4.0.0.dev0",
|
| 395 |
+
"ckpt_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 396 |
+
"rank": 0,
|
| 397 |
+
"global_world_size": 8,
|
| 398 |
+
"local_world_size": 8,
|
| 399 |
+
"model_suffix": "checkpoint-1500",
|
| 400 |
+
"model_info": "ModelInfo(model_type='qwen3_vl', model_dir='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500', torch_dtype=torch.bfloat16, max_model_len=262144, quant_method=None, quant_bits=None, rope_scaling={'mrope_interleaved': True, 'mrope_section': [24, 20, 20], 'rope_type': 'default'}, is_moe_model=False, is_multimodal=True, config=None, task_type='causal_lm', num_labels=None)",
|
| 401 |
+
"model_meta": "ModelMeta(model_type='qwen3_vl', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-VL-2B-Instruct', hf_model_id='Qwen/Qwen3-VL-2B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Thinking', hf_model_id='Qwen/Qwen3-VL-2B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-2B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-2B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Instruct', hf_model_id='Qwen/Qwen3-VL-4B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Thinking', hf_model_id='Qwen/Qwen3-VL-4B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-4B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-4B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Instruct', hf_model_id='Qwen/Qwen3-VL-8B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Thinking', hf_model_id='Qwen/Qwen3-VL-8B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-8B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-8B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Instruct', hf_model_id='Qwen/Qwen3-VL-32B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Thinking', hf_model_id='Qwen/Qwen3-VL-32B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-32B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-32B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None)], template='qwen3_vl', ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.models.qwen.Qwen3VLLoader'>, template=None, model_arch=MultiModelKeys(arch_name='qwen3_vl', embedding=None, module_list=None, lm_head=None, q_proj=None, k_proj=None, v_proj=None, o_proj=None, attention=None, mlp=None, down_proj=None, qkv_proj=None, qk_proj=None, qa_proj=None, qb_proj=None, kv_proj=None, kva_proj=None, kvb_proj=None, language_model=['model.language_model', 'lm_head'], aligner=['model.visual.merger', 'model.visual.deepstack_merger_list'], vision_tower=['model.visual'], generator=[]), architectures=['Qwen3VLForConditionalGeneration'], additional_saved_files=[], torch_dtype=None, is_multimodal=True, is_reward=False, task_type=None, ignore_patterns=None, requires=['transformers>=4.57', 'qwen_vl_utils>=0.0.14', 'decord'], tags=['vision', 'video'])",
|
| 402 |
+
"model_dir": "/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12/20261013-102250-bs8/checkpoint-1500",
|
| 403 |
+
"template_meta": "QwenTemplateMeta(template_type='qwen3_vl_vqa', prefix=[], prompt=['<|im_start|>user\\n{{QUERY}}<|im_end|>\\n<|im_start|>assistant\\n'], chat_sep=['<|im_end|>\\n'], suffix=['<|im_end|>\\n'], template_cls=<class 'swift_vqa_template.Qwen3VLVQATemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system=None, auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='<think>\\n', non_thinking_prefix='', history_thinking_prefix='')",
|
| 404 |
+
"_val_dataset_exists": [],
|
| 405 |
+
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 406 |
+
"evaluation_strategy": "no",
|
| 407 |
+
"training_args": "Seq2SeqTrainingArguments(output_dir='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train', overwrite_output_dir=False, do_train=False, do_eval=False, do_predict=False, eval_strategy=<IntervalStrategy.NO: 'no'>, prediction_loss_only=False, per_device_train_batch_size=8, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=2, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=1e-05, weight_decay=0.1, adam_beta1=0.9, adam_beta2=0.95, adam_epsilon=1e-08, max_grad_norm=1.0, num_train_epochs=3.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='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/runs', logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_first_step=True, logging_steps=1, logging_nan_inf_filter=True, save_strategy=<SaveStrategy.EPOCH: 'epoch'>, save_steps=500, save_total_limit=1, save_safetensors=True, save_on_each_node=False, save_only_model=True, 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, 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=None, dataloader_num_workers=4, dataloader_prefetch_factor=2, past_index=-1, run_name='/cephfs/zhengwc/nuReasoning/output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train', 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}, 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), parallelism_config=None, deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 3, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'offload_param': {'device': 'none', 'pin_memory': True}, 'overlap_comm': False, 'contiguous_gradients': True, 'sub_group_size': 1000000000.0, 'reduce_bucket_size': 'auto', 'zero_quantized_weights': False, 'zero_quantized_gradients': False, 'stage3_prefetch_bucket_size': 'auto', 'stage3_param_persistence_threshold': 'auto', 'stage3_max_live_parameters': 1000000000.0, 'stage3_max_reuse_distance': 1000000000.0, 'stage3_gather_16bit_weights_on_model_save': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, label_smoothing_factor=0.0, optim=<OptimizerNames.ADAMW_TORCH_FUSED: 'adamw_torch_fused'>, optim_args=None, adafactor=False, group_by_length=False, length_column_name='length', report_to=['tensorboard'], project='huggingface', trackio_space_id='trackio', 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, hub_revision=None, 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=18000000, 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=True, liger_kernel_config=None, 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, tuner_backend='peft', vit_gradient_checkpointing=True, router_aux_loss_coef=0.0, enable_dft_loss=False, enable_channel_loss=False, check_model=True, acc_strategy='token', train_dataloader_shuffle=True, max_epochs=None, aligner_lr=None, vit_lr=None, use_logits_to_keep=True, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type=None, eval_metric=None, callbacks=[], early_stop_interval=None, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, extra_eval_args=None, tuner_type='full', use_galore=False, galore_target_modules=None, galore_rank=128, galore_update_proj_gap=50, galore_scale=1.0, galore_proj_type='std', galore_optim_per_parameter=False, galore_with_embedding=False, galore_quantization=False, galore_proj_quant=False, galore_proj_bits=4, galore_proj_group_size=256, galore_cos_threshold=0.4, galore_gamma_proj=2, galore_queue_size=5, lisa_activated_layers=0, lisa_step_interval=20, use_flash_ckpt=False)"
|
| 408 |
+
}
|
output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/chat_template.jinja
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{%- if messages[0].content is string %}
|
| 5 |
+
{{- messages[0].content }}
|
| 6 |
+
{%- else %}
|
| 7 |
+
{%- for content in messages[0].content %}
|
| 8 |
+
{%- if 'text' in content %}
|
| 9 |
+
{{- content.text }}
|
| 10 |
+
{%- endif %}
|
| 11 |
+
{%- endfor %}
|
| 12 |
+
{%- endif %}
|
| 13 |
+
{{- '\n\n' }}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{{- "# 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>" }}
|
| 16 |
+
{%- for tool in tools %}
|
| 17 |
+
{{- "\n" }}
|
| 18 |
+
{{- tool | tojson }}
|
| 19 |
+
{%- endfor %}
|
| 20 |
+
{{- "\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" }}
|
| 21 |
+
{%- else %}
|
| 22 |
+
{%- if messages[0].role == 'system' %}
|
| 23 |
+
{{- '<|im_start|>system\n' }}
|
| 24 |
+
{%- if messages[0].content is string %}
|
| 25 |
+
{{- messages[0].content }}
|
| 26 |
+
{%- else %}
|
| 27 |
+
{%- for content in messages[0].content %}
|
| 28 |
+
{%- if 'text' in content %}
|
| 29 |
+
{{- content.text }}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
{%- endfor %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '<|im_end|>\n' }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endif %}
|
| 36 |
+
{%- set image_count = namespace(value=0) %}
|
| 37 |
+
{%- set video_count = namespace(value=0) %}
|
| 38 |
+
{%- for message in messages %}
|
| 39 |
+
{%- if message.role == "user" %}
|
| 40 |
+
{{- '<|im_start|>' + message.role + '\n' }}
|
| 41 |
+
{%- if message.content is string %}
|
| 42 |
+
{{- message.content }}
|
| 43 |
+
{%- else %}
|
| 44 |
+
{%- for content in message.content %}
|
| 45 |
+
{%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
|
| 46 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 47 |
+
{%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
|
| 48 |
+
<|vision_start|><|image_pad|><|vision_end|>
|
| 49 |
+
{%- elif content.type == 'video' or 'video' in content %}
|
| 50 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 51 |
+
{%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
|
| 52 |
+
<|vision_start|><|video_pad|><|vision_end|>
|
| 53 |
+
{%- elif 'text' in content %}
|
| 54 |
+
{{- content.text }}
|
| 55 |
+
{%- endif %}
|
| 56 |
+
{%- endfor %}
|
| 57 |
+
{%- endif %}
|
| 58 |
+
{{- '<|im_end|>\n' }}
|
| 59 |
+
{%- elif message.role == "assistant" %}
|
| 60 |
+
{{- '<|im_start|>' + message.role + '\n' }}
|
| 61 |
+
{%- if message.content is string %}
|
| 62 |
+
{{- message.content }}
|
| 63 |
+
{%- else %}
|
| 64 |
+
{%- for content_item in message.content %}
|
| 65 |
+
{%- if 'text' in content_item %}
|
| 66 |
+
{{- content_item.text }}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{%- endfor %}
|
| 69 |
+
{%- endif %}
|
| 70 |
+
{%- if message.tool_calls %}
|
| 71 |
+
{%- for tool_call in message.tool_calls %}
|
| 72 |
+
{%- if (loop.first and message.content) or (not loop.first) %}
|
| 73 |
+
{{- '\n' }}
|
| 74 |
+
{%- endif %}
|
| 75 |
+
{%- if tool_call.function %}
|
| 76 |
+
{%- set tool_call = tool_call.function %}
|
| 77 |
+
{%- endif %}
|
| 78 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 79 |
+
{{- tool_call.name }}
|
| 80 |
+
{{- '", "arguments": ' }}
|
| 81 |
+
{%- if tool_call.arguments is string %}
|
| 82 |
+
{{- tool_call.arguments }}
|
| 83 |
+
{%- else %}
|
| 84 |
+
{{- tool_call.arguments | tojson }}
|
| 85 |
+
{%- endif %}
|
| 86 |
+
{{- '}\n</tool_call>' }}
|
| 87 |
+
{%- endfor %}
|
| 88 |
+
{%- endif %}
|
| 89 |
+
{{- '<|im_end|>\n' }}
|
| 90 |
+
{%- elif message.role == "tool" %}
|
| 91 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 92 |
+
{{- '<|im_start|>user' }}
|
| 93 |
+
{%- endif %}
|
| 94 |
+
{{- '\n<tool_response>\n' }}
|
| 95 |
+
{%- if message.content is string %}
|
| 96 |
+
{{- message.content }}
|
| 97 |
+
{%- else %}
|
| 98 |
+
{%- for content in message.content %}
|
| 99 |
+
{%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
|
| 100 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 101 |
+
{%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
|
| 102 |
+
<|vision_start|><|image_pad|><|vision_end|>
|
| 103 |
+
{%- elif content.type == 'video' or 'video' in content %}
|
| 104 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 105 |
+
{%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
|
| 106 |
+
<|vision_start|><|video_pad|><|vision_end|>
|
| 107 |
+
{%- elif 'text' in content %}
|
| 108 |
+
{{- content.text }}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{%- endfor %}
|
| 111 |
+
{%- endif %}
|
| 112 |
+
{{- '\n</tool_response>' }}
|
| 113 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 114 |
+
{{- '<|im_end|>\n' }}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{%- endif %}
|
| 117 |
+
{%- endfor %}
|
| 118 |
+
{%- if add_generation_prompt %}
|
| 119 |
+
{{- '<|im_start|>assistant\n' }}
|
| 120 |
+
{%- endif %}
|
output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/config.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3VLForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"dtype": "bfloat16",
|
| 6 |
+
"eos_token_id": 151645,
|
| 7 |
+
"hidden_size": 4096,
|
| 8 |
+
"image_token_id": 151655,
|
| 9 |
+
"model_type": "qwen3_vl",
|
| 10 |
+
"pad_token_id": 151643,
|
| 11 |
+
"text_config": {
|
| 12 |
+
"attention_bias": false,
|
| 13 |
+
"attention_dropout": 0.0,
|
| 14 |
+
"bos_token_id": 151643,
|
| 15 |
+
"dtype": "bfloat16",
|
| 16 |
+
"eos_token_id": 151645,
|
| 17 |
+
"head_dim": 128,
|
| 18 |
+
"hidden_act": "silu",
|
| 19 |
+
"hidden_size": 4096,
|
| 20 |
+
"initializer_range": 0.02,
|
| 21 |
+
"intermediate_size": 12288,
|
| 22 |
+
"max_position_embeddings": 262144,
|
| 23 |
+
"model_type": "qwen3_vl_text",
|
| 24 |
+
"num_attention_heads": 32,
|
| 25 |
+
"num_hidden_layers": 36,
|
| 26 |
+
"num_key_value_heads": 8,
|
| 27 |
+
"pad_token_id": 151643,
|
| 28 |
+
"rms_norm_eps": 1e-06,
|
| 29 |
+
"rope_scaling": {
|
| 30 |
+
"mrope_interleaved": true,
|
| 31 |
+
"mrope_section": [
|
| 32 |
+
24,
|
| 33 |
+
20,
|
| 34 |
+
20
|
| 35 |
+
],
|
| 36 |
+
"rope_type": "default"
|
| 37 |
+
},
|
| 38 |
+
"rope_theta": 5000000,
|
| 39 |
+
"use_cache": false,
|
| 40 |
+
"vocab_size": 151936
|
| 41 |
+
},
|
| 42 |
+
"tie_word_embeddings": false,
|
| 43 |
+
"transformers_version": "4.57.6",
|
| 44 |
+
"video_token_id": 151656,
|
| 45 |
+
"vision_config": {
|
| 46 |
+
"deepstack_visual_indexes": [
|
| 47 |
+
8,
|
| 48 |
+
16,
|
| 49 |
+
24
|
| 50 |
+
],
|
| 51 |
+
"depth": 27,
|
| 52 |
+
"dtype": "bfloat16",
|
| 53 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 54 |
+
"hidden_size": 1152,
|
| 55 |
+
"in_channels": 3,
|
| 56 |
+
"initializer_range": 0.02,
|
| 57 |
+
"intermediate_size": 4304,
|
| 58 |
+
"model_type": "qwen3_vl",
|
| 59 |
+
"num_heads": 16,
|
| 60 |
+
"num_position_embeddings": 2304,
|
| 61 |
+
"out_hidden_size": 4096,
|
| 62 |
+
"pad_token_id": 151643,
|
| 63 |
+
"patch_size": 16,
|
| 64 |
+
"spatial_merge_size": 2,
|
| 65 |
+
"temporal_patch_size": 2
|
| 66 |
+
},
|
| 67 |
+
"vision_end_token_id": 151653,
|
| 68 |
+
"vision_start_token_id": 151652
|
| 69 |
+
}
|
output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
151645,
|
| 6 |
+
151643
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 151643,
|
| 9 |
+
"temperature": 0.7,
|
| 10 |
+
"top_k": 20,
|
| 11 |
+
"top_p": 0.8,
|
| 12 |
+
"transformers_version": "4.57.6"
|
| 13 |
+
}
|
output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/model.safetensors.index.json
ADDED
|
@@ -0,0 +1,758 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_parameters": 770288,
|
| 4 |
+
"total_size": 17534247392
|
| 5 |
+
},
|
| 6 |
+
"weight_map": {
|
| 7 |
+
"lm_head.weight": "model-00004-of-00004.safetensors",
|
| 8 |
+
"model.language_model.embed_tokens.weight": "model-00001-of-00004.safetensors",
|
| 9 |
+
"model.language_model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 10 |
+
"model.language_model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 11 |
+
"model.language_model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 12 |
+
"model.language_model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 13 |
+
"model.language_model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 14 |
+
"model.language_model.layers.0.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 15 |
+
"model.language_model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 16 |
+
"model.language_model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 17 |
+
"model.language_model.layers.0.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 18 |
+
"model.language_model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 19 |
+
"model.language_model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 20 |
+
"model.language_model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 21 |
+
"model.language_model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 22 |
+
"model.language_model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 23 |
+
"model.language_model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 24 |
+
"model.language_model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 25 |
+
"model.language_model.layers.1.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 26 |
+
"model.language_model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 27 |
+
"model.language_model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 28 |
+
"model.language_model.layers.1.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 29 |
+
"model.language_model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 30 |
+
"model.language_model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 31 |
+
"model.language_model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 32 |
+
"model.language_model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 33 |
+
"model.language_model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 34 |
+
"model.language_model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 35 |
+
"model.language_model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 36 |
+
"model.language_model.layers.10.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 37 |
+
"model.language_model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 38 |
+
"model.language_model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 39 |
+
"model.language_model.layers.10.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 40 |
+
"model.language_model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 41 |
+
"model.language_model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 42 |
+
"model.language_model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 43 |
+
"model.language_model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 44 |
+
"model.language_model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 45 |
+
"model.language_model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 46 |
+
"model.language_model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 47 |
+
"model.language_model.layers.11.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 48 |
+
"model.language_model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 49 |
+
"model.language_model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 50 |
+
"model.language_model.layers.11.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 51 |
+
"model.language_model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 52 |
+
"model.language_model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 53 |
+
"model.language_model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 54 |
+
"model.language_model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 55 |
+
"model.language_model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 56 |
+
"model.language_model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 57 |
+
"model.language_model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 58 |
+
"model.language_model.layers.12.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 59 |
+
"model.language_model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 60 |
+
"model.language_model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 61 |
+
"model.language_model.layers.12.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 62 |
+
"model.language_model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 63 |
+
"model.language_model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 64 |
+
"model.language_model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 65 |
+
"model.language_model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 66 |
+
"model.language_model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 67 |
+
"model.language_model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 68 |
+
"model.language_model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 69 |
+
"model.language_model.layers.13.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 70 |
+
"model.language_model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 71 |
+
"model.language_model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 72 |
+
"model.language_model.layers.13.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 73 |
+
"model.language_model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 74 |
+
"model.language_model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 75 |
+
"model.language_model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 76 |
+
"model.language_model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 77 |
+
"model.language_model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 78 |
+
"model.language_model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 79 |
+
"model.language_model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 80 |
+
"model.language_model.layers.14.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 81 |
+
"model.language_model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 82 |
+
"model.language_model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 83 |
+
"model.language_model.layers.14.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 84 |
+
"model.language_model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 85 |
+
"model.language_model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 86 |
+
"model.language_model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 87 |
+
"model.language_model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 88 |
+
"model.language_model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 89 |
+
"model.language_model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 90 |
+
"model.language_model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 91 |
+
"model.language_model.layers.15.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 92 |
+
"model.language_model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 93 |
+
"model.language_model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 94 |
+
"model.language_model.layers.15.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 95 |
+
"model.language_model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 96 |
+
"model.language_model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 97 |
+
"model.language_model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 98 |
+
"model.language_model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 99 |
+
"model.language_model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 100 |
+
"model.language_model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 101 |
+
"model.language_model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 102 |
+
"model.language_model.layers.16.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 103 |
+
"model.language_model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 104 |
+
"model.language_model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 105 |
+
"model.language_model.layers.16.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 106 |
+
"model.language_model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 107 |
+
"model.language_model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 108 |
+
"model.language_model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 109 |
+
"model.language_model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 110 |
+
"model.language_model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 111 |
+
"model.language_model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 112 |
+
"model.language_model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 113 |
+
"model.language_model.layers.17.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 114 |
+
"model.language_model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 115 |
+
"model.language_model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 116 |
+
"model.language_model.layers.17.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 117 |
+
"model.language_model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 118 |
+
"model.language_model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 119 |
+
"model.language_model.layers.18.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 120 |
+
"model.language_model.layers.18.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 121 |
+
"model.language_model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 122 |
+
"model.language_model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 123 |
+
"model.language_model.layers.18.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 124 |
+
"model.language_model.layers.18.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 125 |
+
"model.language_model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 126 |
+
"model.language_model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 127 |
+
"model.language_model.layers.18.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 128 |
+
"model.language_model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 129 |
+
"model.language_model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 130 |
+
"model.language_model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 131 |
+
"model.language_model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 132 |
+
"model.language_model.layers.19.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 133 |
+
"model.language_model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 134 |
+
"model.language_model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 135 |
+
"model.language_model.layers.19.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 136 |
+
"model.language_model.layers.19.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 137 |
+
"model.language_model.layers.19.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 138 |
+
"model.language_model.layers.19.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 139 |
+
"model.language_model.layers.19.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 140 |
+
"model.language_model.layers.19.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 141 |
+
"model.language_model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 142 |
+
"model.language_model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 143 |
+
"model.language_model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 144 |
+
"model.language_model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 145 |
+
"model.language_model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 146 |
+
"model.language_model.layers.2.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 147 |
+
"model.language_model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 148 |
+
"model.language_model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 149 |
+
"model.language_model.layers.2.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 150 |
+
"model.language_model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 151 |
+
"model.language_model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 152 |
+
"model.language_model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 153 |
+
"model.language_model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 154 |
+
"model.language_model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 155 |
+
"model.language_model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 156 |
+
"model.language_model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 157 |
+
"model.language_model.layers.20.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 158 |
+
"model.language_model.layers.20.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 159 |
+
"model.language_model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 160 |
+
"model.language_model.layers.20.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 161 |
+
"model.language_model.layers.20.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 162 |
+
"model.language_model.layers.20.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 163 |
+
"model.language_model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 164 |
+
"model.language_model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 165 |
+
"model.language_model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 166 |
+
"model.language_model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 167 |
+
"model.language_model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 168 |
+
"model.language_model.layers.21.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 169 |
+
"model.language_model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 170 |
+
"model.language_model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 171 |
+
"model.language_model.layers.21.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 172 |
+
"model.language_model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 173 |
+
"model.language_model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 174 |
+
"model.language_model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 175 |
+
"model.language_model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 176 |
+
"model.language_model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 177 |
+
"model.language_model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 178 |
+
"model.language_model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 179 |
+
"model.language_model.layers.22.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 180 |
+
"model.language_model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 181 |
+
"model.language_model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 182 |
+
"model.language_model.layers.22.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 183 |
+
"model.language_model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 184 |
+
"model.language_model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 185 |
+
"model.language_model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 186 |
+
"model.language_model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 187 |
+
"model.language_model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 188 |
+
"model.language_model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 189 |
+
"model.language_model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 190 |
+
"model.language_model.layers.23.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 191 |
+
"model.language_model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 192 |
+
"model.language_model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 193 |
+
"model.language_model.layers.23.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 194 |
+
"model.language_model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 195 |
+
"model.language_model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 196 |
+
"model.language_model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 197 |
+
"model.language_model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 198 |
+
"model.language_model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 199 |
+
"model.language_model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 200 |
+
"model.language_model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 201 |
+
"model.language_model.layers.24.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 202 |
+
"model.language_model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 203 |
+
"model.language_model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 204 |
+
"model.language_model.layers.24.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 205 |
+
"model.language_model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 206 |
+
"model.language_model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 207 |
+
"model.language_model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 208 |
+
"model.language_model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 209 |
+
"model.language_model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 210 |
+
"model.language_model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 211 |
+
"model.language_model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 212 |
+
"model.language_model.layers.25.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 213 |
+
"model.language_model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 214 |
+
"model.language_model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 215 |
+
"model.language_model.layers.25.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 216 |
+
"model.language_model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 217 |
+
"model.language_model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 218 |
+
"model.language_model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 219 |
+
"model.language_model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 220 |
+
"model.language_model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 221 |
+
"model.language_model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 222 |
+
"model.language_model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 223 |
+
"model.language_model.layers.26.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 224 |
+
"model.language_model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 225 |
+
"model.language_model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 226 |
+
"model.language_model.layers.26.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 227 |
+
"model.language_model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 228 |
+
"model.language_model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 229 |
+
"model.language_model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 230 |
+
"model.language_model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 231 |
+
"model.language_model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 232 |
+
"model.language_model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 233 |
+
"model.language_model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 234 |
+
"model.language_model.layers.27.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 235 |
+
"model.language_model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 236 |
+
"model.language_model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 237 |
+
"model.language_model.layers.27.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 238 |
+
"model.language_model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 239 |
+
"model.language_model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 240 |
+
"model.language_model.layers.28.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 241 |
+
"model.language_model.layers.28.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 242 |
+
"model.language_model.layers.28.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 243 |
+
"model.language_model.layers.28.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 244 |
+
"model.language_model.layers.28.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 245 |
+
"model.language_model.layers.28.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 246 |
+
"model.language_model.layers.28.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 247 |
+
"model.language_model.layers.28.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 248 |
+
"model.language_model.layers.28.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 249 |
+
"model.language_model.layers.28.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 250 |
+
"model.language_model.layers.28.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 251 |
+
"model.language_model.layers.29.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 252 |
+
"model.language_model.layers.29.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 253 |
+
"model.language_model.layers.29.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 254 |
+
"model.language_model.layers.29.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 255 |
+
"model.language_model.layers.29.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 256 |
+
"model.language_model.layers.29.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 257 |
+
"model.language_model.layers.29.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 258 |
+
"model.language_model.layers.29.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 259 |
+
"model.language_model.layers.29.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 260 |
+
"model.language_model.layers.29.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 261 |
+
"model.language_model.layers.29.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 262 |
+
"model.language_model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 263 |
+
"model.language_model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 264 |
+
"model.language_model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 265 |
+
"model.language_model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 266 |
+
"model.language_model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 267 |
+
"model.language_model.layers.3.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 268 |
+
"model.language_model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 269 |
+
"model.language_model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 270 |
+
"model.language_model.layers.3.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 271 |
+
"model.language_model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 272 |
+
"model.language_model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 273 |
+
"model.language_model.layers.30.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 274 |
+
"model.language_model.layers.30.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 275 |
+
"model.language_model.layers.30.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 276 |
+
"model.language_model.layers.30.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 277 |
+
"model.language_model.layers.30.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 278 |
+
"model.language_model.layers.30.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 279 |
+
"model.language_model.layers.30.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 280 |
+
"model.language_model.layers.30.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 281 |
+
"model.language_model.layers.30.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 282 |
+
"model.language_model.layers.30.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 283 |
+
"model.language_model.layers.30.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 284 |
+
"model.language_model.layers.31.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 285 |
+
"model.language_model.layers.31.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 286 |
+
"model.language_model.layers.31.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 287 |
+
"model.language_model.layers.31.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 288 |
+
"model.language_model.layers.31.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 289 |
+
"model.language_model.layers.31.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 290 |
+
"model.language_model.layers.31.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 291 |
+
"model.language_model.layers.31.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 292 |
+
"model.language_model.layers.31.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 293 |
+
"model.language_model.layers.31.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 294 |
+
"model.language_model.layers.31.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 295 |
+
"model.language_model.layers.32.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 296 |
+
"model.language_model.layers.32.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 297 |
+
"model.language_model.layers.32.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 298 |
+
"model.language_model.layers.32.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 299 |
+
"model.language_model.layers.32.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 300 |
+
"model.language_model.layers.32.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 301 |
+
"model.language_model.layers.32.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 302 |
+
"model.language_model.layers.32.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 303 |
+
"model.language_model.layers.32.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 304 |
+
"model.language_model.layers.32.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 305 |
+
"model.language_model.layers.32.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 306 |
+
"model.language_model.layers.33.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 307 |
+
"model.language_model.layers.33.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 308 |
+
"model.language_model.layers.33.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 309 |
+
"model.language_model.layers.33.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 310 |
+
"model.language_model.layers.33.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 311 |
+
"model.language_model.layers.33.self_attn.k_norm.weight": "model-00004-of-00004.safetensors",
|
| 312 |
+
"model.language_model.layers.33.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
| 313 |
+
"model.language_model.layers.33.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
| 314 |
+
"model.language_model.layers.33.self_attn.q_norm.weight": "model-00004-of-00004.safetensors",
|
| 315 |
+
"model.language_model.layers.33.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
| 316 |
+
"model.language_model.layers.33.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
| 317 |
+
"model.language_model.layers.34.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 318 |
+
"model.language_model.layers.34.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 319 |
+
"model.language_model.layers.34.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 320 |
+
"model.language_model.layers.34.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 321 |
+
"model.language_model.layers.34.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 322 |
+
"model.language_model.layers.34.self_attn.k_norm.weight": "model-00004-of-00004.safetensors",
|
| 323 |
+
"model.language_model.layers.34.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
| 324 |
+
"model.language_model.layers.34.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
| 325 |
+
"model.language_model.layers.34.self_attn.q_norm.weight": "model-00004-of-00004.safetensors",
|
| 326 |
+
"model.language_model.layers.34.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
| 327 |
+
"model.language_model.layers.34.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
| 328 |
+
"model.language_model.layers.35.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 329 |
+
"model.language_model.layers.35.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 330 |
+
"model.language_model.layers.35.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 331 |
+
"model.language_model.layers.35.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 332 |
+
"model.language_model.layers.35.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 333 |
+
"model.language_model.layers.35.self_attn.k_norm.weight": "model-00004-of-00004.safetensors",
|
| 334 |
+
"model.language_model.layers.35.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
| 335 |
+
"model.language_model.layers.35.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
| 336 |
+
"model.language_model.layers.35.self_attn.q_norm.weight": "model-00004-of-00004.safetensors",
|
| 337 |
+
"model.language_model.layers.35.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
| 338 |
+
"model.language_model.layers.35.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
| 339 |
+
"model.language_model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 340 |
+
"model.language_model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 341 |
+
"model.language_model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 342 |
+
"model.language_model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 343 |
+
"model.language_model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 344 |
+
"model.language_model.layers.4.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 345 |
+
"model.language_model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 346 |
+
"model.language_model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 347 |
+
"model.language_model.layers.4.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 348 |
+
"model.language_model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 349 |
+
"model.language_model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 350 |
+
"model.language_model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 351 |
+
"model.language_model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 352 |
+
"model.language_model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 353 |
+
"model.language_model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 354 |
+
"model.language_model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 355 |
+
"model.language_model.layers.5.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 356 |
+
"model.language_model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 357 |
+
"model.language_model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 358 |
+
"model.language_model.layers.5.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 359 |
+
"model.language_model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 360 |
+
"model.language_model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 361 |
+
"model.language_model.layers.6.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 362 |
+
"model.language_model.layers.6.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 363 |
+
"model.language_model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 364 |
+
"model.language_model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 365 |
+
"model.language_model.layers.6.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 366 |
+
"model.language_model.layers.6.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 367 |
+
"model.language_model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 368 |
+
"model.language_model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 369 |
+
"model.language_model.layers.6.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 370 |
+
"model.language_model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 371 |
+
"model.language_model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 372 |
+
"model.language_model.layers.7.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 373 |
+
"model.language_model.layers.7.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 374 |
+
"model.language_model.layers.7.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 375 |
+
"model.language_model.layers.7.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 376 |
+
"model.language_model.layers.7.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 377 |
+
"model.language_model.layers.7.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 378 |
+
"model.language_model.layers.7.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 379 |
+
"model.language_model.layers.7.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 380 |
+
"model.language_model.layers.7.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 381 |
+
"model.language_model.layers.7.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 382 |
+
"model.language_model.layers.7.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 383 |
+
"model.language_model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 384 |
+
"model.language_model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 385 |
+
"model.language_model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 386 |
+
"model.language_model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 387 |
+
"model.language_model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 388 |
+
"model.language_model.layers.8.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 389 |
+
"model.language_model.layers.8.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 390 |
+
"model.language_model.layers.8.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 391 |
+
"model.language_model.layers.8.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 392 |
+
"model.language_model.layers.8.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 393 |
+
"model.language_model.layers.8.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 394 |
+
"model.language_model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 395 |
+
"model.language_model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 396 |
+
"model.language_model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 397 |
+
"model.language_model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 398 |
+
"model.language_model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 399 |
+
"model.language_model.layers.9.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 400 |
+
"model.language_model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 401 |
+
"model.language_model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 402 |
+
"model.language_model.layers.9.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 403 |
+
"model.language_model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 404 |
+
"model.language_model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 405 |
+
"model.language_model.norm.weight": "model-00004-of-00004.safetensors",
|
| 406 |
+
"model.visual.blocks.0.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 407 |
+
"model.visual.blocks.0.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 408 |
+
"model.visual.blocks.0.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 409 |
+
"model.visual.blocks.0.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 410 |
+
"model.visual.blocks.0.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 411 |
+
"model.visual.blocks.0.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 412 |
+
"model.visual.blocks.0.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 413 |
+
"model.visual.blocks.0.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 414 |
+
"model.visual.blocks.0.norm1.bias": "model-00001-of-00004.safetensors",
|
| 415 |
+
"model.visual.blocks.0.norm1.weight": "model-00001-of-00004.safetensors",
|
| 416 |
+
"model.visual.blocks.0.norm2.bias": "model-00001-of-00004.safetensors",
|
| 417 |
+
"model.visual.blocks.0.norm2.weight": "model-00001-of-00004.safetensors",
|
| 418 |
+
"model.visual.blocks.1.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 419 |
+
"model.visual.blocks.1.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 420 |
+
"model.visual.blocks.1.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 421 |
+
"model.visual.blocks.1.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 422 |
+
"model.visual.blocks.1.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 423 |
+
"model.visual.blocks.1.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 424 |
+
"model.visual.blocks.1.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 425 |
+
"model.visual.blocks.1.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 426 |
+
"model.visual.blocks.1.norm1.bias": "model-00001-of-00004.safetensors",
|
| 427 |
+
"model.visual.blocks.1.norm1.weight": "model-00001-of-00004.safetensors",
|
| 428 |
+
"model.visual.blocks.1.norm2.bias": "model-00001-of-00004.safetensors",
|
| 429 |
+
"model.visual.blocks.1.norm2.weight": "model-00001-of-00004.safetensors",
|
| 430 |
+
"model.visual.blocks.10.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 431 |
+
"model.visual.blocks.10.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 432 |
+
"model.visual.blocks.10.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 433 |
+
"model.visual.blocks.10.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 434 |
+
"model.visual.blocks.10.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 435 |
+
"model.visual.blocks.10.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 436 |
+
"model.visual.blocks.10.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 437 |
+
"model.visual.blocks.10.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 438 |
+
"model.visual.blocks.10.norm1.bias": "model-00001-of-00004.safetensors",
|
| 439 |
+
"model.visual.blocks.10.norm1.weight": "model-00001-of-00004.safetensors",
|
| 440 |
+
"model.visual.blocks.10.norm2.bias": "model-00001-of-00004.safetensors",
|
| 441 |
+
"model.visual.blocks.10.norm2.weight": "model-00001-of-00004.safetensors",
|
| 442 |
+
"model.visual.blocks.11.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 443 |
+
"model.visual.blocks.11.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 444 |
+
"model.visual.blocks.11.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 445 |
+
"model.visual.blocks.11.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 446 |
+
"model.visual.blocks.11.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 447 |
+
"model.visual.blocks.11.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 448 |
+
"model.visual.blocks.11.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 449 |
+
"model.visual.blocks.11.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 450 |
+
"model.visual.blocks.11.norm1.bias": "model-00001-of-00004.safetensors",
|
| 451 |
+
"model.visual.blocks.11.norm1.weight": "model-00001-of-00004.safetensors",
|
| 452 |
+
"model.visual.blocks.11.norm2.bias": "model-00001-of-00004.safetensors",
|
| 453 |
+
"model.visual.blocks.11.norm2.weight": "model-00001-of-00004.safetensors",
|
| 454 |
+
"model.visual.blocks.12.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 455 |
+
"model.visual.blocks.12.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 456 |
+
"model.visual.blocks.12.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 457 |
+
"model.visual.blocks.12.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 458 |
+
"model.visual.blocks.12.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 459 |
+
"model.visual.blocks.12.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 460 |
+
"model.visual.blocks.12.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 461 |
+
"model.visual.blocks.12.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 462 |
+
"model.visual.blocks.12.norm1.bias": "model-00001-of-00004.safetensors",
|
| 463 |
+
"model.visual.blocks.12.norm1.weight": "model-00001-of-00004.safetensors",
|
| 464 |
+
"model.visual.blocks.12.norm2.bias": "model-00001-of-00004.safetensors",
|
| 465 |
+
"model.visual.blocks.12.norm2.weight": "model-00001-of-00004.safetensors",
|
| 466 |
+
"model.visual.blocks.13.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 467 |
+
"model.visual.blocks.13.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 468 |
+
"model.visual.blocks.13.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 469 |
+
"model.visual.blocks.13.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 470 |
+
"model.visual.blocks.13.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 471 |
+
"model.visual.blocks.13.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 472 |
+
"model.visual.blocks.13.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 473 |
+
"model.visual.blocks.13.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 474 |
+
"model.visual.blocks.13.norm1.bias": "model-00001-of-00004.safetensors",
|
| 475 |
+
"model.visual.blocks.13.norm1.weight": "model-00001-of-00004.safetensors",
|
| 476 |
+
"model.visual.blocks.13.norm2.bias": "model-00001-of-00004.safetensors",
|
| 477 |
+
"model.visual.blocks.13.norm2.weight": "model-00001-of-00004.safetensors",
|
| 478 |
+
"model.visual.blocks.14.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 479 |
+
"model.visual.blocks.14.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 480 |
+
"model.visual.blocks.14.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 481 |
+
"model.visual.blocks.14.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 482 |
+
"model.visual.blocks.14.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 483 |
+
"model.visual.blocks.14.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 484 |
+
"model.visual.blocks.14.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 485 |
+
"model.visual.blocks.14.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 486 |
+
"model.visual.blocks.14.norm1.bias": "model-00001-of-00004.safetensors",
|
| 487 |
+
"model.visual.blocks.14.norm1.weight": "model-00001-of-00004.safetensors",
|
| 488 |
+
"model.visual.blocks.14.norm2.bias": "model-00001-of-00004.safetensors",
|
| 489 |
+
"model.visual.blocks.14.norm2.weight": "model-00001-of-00004.safetensors",
|
| 490 |
+
"model.visual.blocks.15.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 491 |
+
"model.visual.blocks.15.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 492 |
+
"model.visual.blocks.15.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 493 |
+
"model.visual.blocks.15.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 494 |
+
"model.visual.blocks.15.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 495 |
+
"model.visual.blocks.15.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 496 |
+
"model.visual.blocks.15.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 497 |
+
"model.visual.blocks.15.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 498 |
+
"model.visual.blocks.15.norm1.bias": "model-00001-of-00004.safetensors",
|
| 499 |
+
"model.visual.blocks.15.norm1.weight": "model-00001-of-00004.safetensors",
|
| 500 |
+
"model.visual.blocks.15.norm2.bias": "model-00001-of-00004.safetensors",
|
| 501 |
+
"model.visual.blocks.15.norm2.weight": "model-00001-of-00004.safetensors",
|
| 502 |
+
"model.visual.blocks.16.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 503 |
+
"model.visual.blocks.16.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 504 |
+
"model.visual.blocks.16.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 505 |
+
"model.visual.blocks.16.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 506 |
+
"model.visual.blocks.16.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 507 |
+
"model.visual.blocks.16.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 508 |
+
"model.visual.blocks.16.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 509 |
+
"model.visual.blocks.16.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 510 |
+
"model.visual.blocks.16.norm1.bias": "model-00001-of-00004.safetensors",
|
| 511 |
+
"model.visual.blocks.16.norm1.weight": "model-00001-of-00004.safetensors",
|
| 512 |
+
"model.visual.blocks.16.norm2.bias": "model-00001-of-00004.safetensors",
|
| 513 |
+
"model.visual.blocks.16.norm2.weight": "model-00001-of-00004.safetensors",
|
| 514 |
+
"model.visual.blocks.17.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 515 |
+
"model.visual.blocks.17.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 516 |
+
"model.visual.blocks.17.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 517 |
+
"model.visual.blocks.17.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 518 |
+
"model.visual.blocks.17.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 519 |
+
"model.visual.blocks.17.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 520 |
+
"model.visual.blocks.17.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 521 |
+
"model.visual.blocks.17.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 522 |
+
"model.visual.blocks.17.norm1.bias": "model-00001-of-00004.safetensors",
|
| 523 |
+
"model.visual.blocks.17.norm1.weight": "model-00001-of-00004.safetensors",
|
| 524 |
+
"model.visual.blocks.17.norm2.bias": "model-00001-of-00004.safetensors",
|
| 525 |
+
"model.visual.blocks.17.norm2.weight": "model-00001-of-00004.safetensors",
|
| 526 |
+
"model.visual.blocks.18.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 527 |
+
"model.visual.blocks.18.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 528 |
+
"model.visual.blocks.18.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 529 |
+
"model.visual.blocks.18.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 530 |
+
"model.visual.blocks.18.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 531 |
+
"model.visual.blocks.18.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 532 |
+
"model.visual.blocks.18.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 533 |
+
"model.visual.blocks.18.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 534 |
+
"model.visual.blocks.18.norm1.bias": "model-00001-of-00004.safetensors",
|
| 535 |
+
"model.visual.blocks.18.norm1.weight": "model-00001-of-00004.safetensors",
|
| 536 |
+
"model.visual.blocks.18.norm2.bias": "model-00001-of-00004.safetensors",
|
| 537 |
+
"model.visual.blocks.18.norm2.weight": "model-00001-of-00004.safetensors",
|
| 538 |
+
"model.visual.blocks.19.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 539 |
+
"model.visual.blocks.19.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 540 |
+
"model.visual.blocks.19.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 541 |
+
"model.visual.blocks.19.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 542 |
+
"model.visual.blocks.19.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 543 |
+
"model.visual.blocks.19.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 544 |
+
"model.visual.blocks.19.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 545 |
+
"model.visual.blocks.19.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 546 |
+
"model.visual.blocks.19.norm1.bias": "model-00001-of-00004.safetensors",
|
| 547 |
+
"model.visual.blocks.19.norm1.weight": "model-00001-of-00004.safetensors",
|
| 548 |
+
"model.visual.blocks.19.norm2.bias": "model-00001-of-00004.safetensors",
|
| 549 |
+
"model.visual.blocks.19.norm2.weight": "model-00001-of-00004.safetensors",
|
| 550 |
+
"model.visual.blocks.2.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 551 |
+
"model.visual.blocks.2.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 552 |
+
"model.visual.blocks.2.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 553 |
+
"model.visual.blocks.2.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 554 |
+
"model.visual.blocks.2.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 555 |
+
"model.visual.blocks.2.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 556 |
+
"model.visual.blocks.2.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 557 |
+
"model.visual.blocks.2.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 558 |
+
"model.visual.blocks.2.norm1.bias": "model-00001-of-00004.safetensors",
|
| 559 |
+
"model.visual.blocks.2.norm1.weight": "model-00001-of-00004.safetensors",
|
| 560 |
+
"model.visual.blocks.2.norm2.bias": "model-00001-of-00004.safetensors",
|
| 561 |
+
"model.visual.blocks.2.norm2.weight": "model-00001-of-00004.safetensors",
|
| 562 |
+
"model.visual.blocks.20.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 563 |
+
"model.visual.blocks.20.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 564 |
+
"model.visual.blocks.20.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 565 |
+
"model.visual.blocks.20.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 566 |
+
"model.visual.blocks.20.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 567 |
+
"model.visual.blocks.20.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 568 |
+
"model.visual.blocks.20.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 569 |
+
"model.visual.blocks.20.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 570 |
+
"model.visual.blocks.20.norm1.bias": "model-00001-of-00004.safetensors",
|
| 571 |
+
"model.visual.blocks.20.norm1.weight": "model-00001-of-00004.safetensors",
|
| 572 |
+
"model.visual.blocks.20.norm2.bias": "model-00001-of-00004.safetensors",
|
| 573 |
+
"model.visual.blocks.20.norm2.weight": "model-00001-of-00004.safetensors",
|
| 574 |
+
"model.visual.blocks.21.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 575 |
+
"model.visual.blocks.21.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 576 |
+
"model.visual.blocks.21.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 577 |
+
"model.visual.blocks.21.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 578 |
+
"model.visual.blocks.21.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 579 |
+
"model.visual.blocks.21.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 580 |
+
"model.visual.blocks.21.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 581 |
+
"model.visual.blocks.21.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 582 |
+
"model.visual.blocks.21.norm1.bias": "model-00001-of-00004.safetensors",
|
| 583 |
+
"model.visual.blocks.21.norm1.weight": "model-00001-of-00004.safetensors",
|
| 584 |
+
"model.visual.blocks.21.norm2.bias": "model-00001-of-00004.safetensors",
|
| 585 |
+
"model.visual.blocks.21.norm2.weight": "model-00001-of-00004.safetensors",
|
| 586 |
+
"model.visual.blocks.22.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 587 |
+
"model.visual.blocks.22.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 588 |
+
"model.visual.blocks.22.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 589 |
+
"model.visual.blocks.22.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 590 |
+
"model.visual.blocks.22.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 591 |
+
"model.visual.blocks.22.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 592 |
+
"model.visual.blocks.22.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 593 |
+
"model.visual.blocks.22.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 594 |
+
"model.visual.blocks.22.norm1.bias": "model-00001-of-00004.safetensors",
|
| 595 |
+
"model.visual.blocks.22.norm1.weight": "model-00001-of-00004.safetensors",
|
| 596 |
+
"model.visual.blocks.22.norm2.bias": "model-00001-of-00004.safetensors",
|
| 597 |
+
"model.visual.blocks.22.norm2.weight": "model-00001-of-00004.safetensors",
|
| 598 |
+
"model.visual.blocks.23.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 599 |
+
"model.visual.blocks.23.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 600 |
+
"model.visual.blocks.23.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 601 |
+
"model.visual.blocks.23.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 602 |
+
"model.visual.blocks.23.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 603 |
+
"model.visual.blocks.23.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 604 |
+
"model.visual.blocks.23.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 605 |
+
"model.visual.blocks.23.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 606 |
+
"model.visual.blocks.23.norm1.bias": "model-00001-of-00004.safetensors",
|
| 607 |
+
"model.visual.blocks.23.norm1.weight": "model-00001-of-00004.safetensors",
|
| 608 |
+
"model.visual.blocks.23.norm2.bias": "model-00001-of-00004.safetensors",
|
| 609 |
+
"model.visual.blocks.23.norm2.weight": "model-00001-of-00004.safetensors",
|
| 610 |
+
"model.visual.blocks.24.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 611 |
+
"model.visual.blocks.24.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 612 |
+
"model.visual.blocks.24.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 613 |
+
"model.visual.blocks.24.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 614 |
+
"model.visual.blocks.24.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 615 |
+
"model.visual.blocks.24.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 616 |
+
"model.visual.blocks.24.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 617 |
+
"model.visual.blocks.24.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 618 |
+
"model.visual.blocks.24.norm1.bias": "model-00001-of-00004.safetensors",
|
| 619 |
+
"model.visual.blocks.24.norm1.weight": "model-00001-of-00004.safetensors",
|
| 620 |
+
"model.visual.blocks.24.norm2.bias": "model-00001-of-00004.safetensors",
|
| 621 |
+
"model.visual.blocks.24.norm2.weight": "model-00001-of-00004.safetensors",
|
| 622 |
+
"model.visual.blocks.25.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 623 |
+
"model.visual.blocks.25.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 624 |
+
"model.visual.blocks.25.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 625 |
+
"model.visual.blocks.25.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 626 |
+
"model.visual.blocks.25.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 627 |
+
"model.visual.blocks.25.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 628 |
+
"model.visual.blocks.25.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 629 |
+
"model.visual.blocks.25.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 630 |
+
"model.visual.blocks.25.norm1.bias": "model-00001-of-00004.safetensors",
|
| 631 |
+
"model.visual.blocks.25.norm1.weight": "model-00001-of-00004.safetensors",
|
| 632 |
+
"model.visual.blocks.25.norm2.bias": "model-00001-of-00004.safetensors",
|
| 633 |
+
"model.visual.blocks.25.norm2.weight": "model-00001-of-00004.safetensors",
|
| 634 |
+
"model.visual.blocks.26.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 635 |
+
"model.visual.blocks.26.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 636 |
+
"model.visual.blocks.26.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 637 |
+
"model.visual.blocks.26.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 638 |
+
"model.visual.blocks.26.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 639 |
+
"model.visual.blocks.26.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 640 |
+
"model.visual.blocks.26.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 641 |
+
"model.visual.blocks.26.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 642 |
+
"model.visual.blocks.26.norm1.bias": "model-00001-of-00004.safetensors",
|
| 643 |
+
"model.visual.blocks.26.norm1.weight": "model-00001-of-00004.safetensors",
|
| 644 |
+
"model.visual.blocks.26.norm2.bias": "model-00001-of-00004.safetensors",
|
| 645 |
+
"model.visual.blocks.26.norm2.weight": "model-00001-of-00004.safetensors",
|
| 646 |
+
"model.visual.blocks.3.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 647 |
+
"model.visual.blocks.3.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 648 |
+
"model.visual.blocks.3.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 649 |
+
"model.visual.blocks.3.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 650 |
+
"model.visual.blocks.3.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 651 |
+
"model.visual.blocks.3.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 652 |
+
"model.visual.blocks.3.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 653 |
+
"model.visual.blocks.3.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 654 |
+
"model.visual.blocks.3.norm1.bias": "model-00001-of-00004.safetensors",
|
| 655 |
+
"model.visual.blocks.3.norm1.weight": "model-00001-of-00004.safetensors",
|
| 656 |
+
"model.visual.blocks.3.norm2.bias": "model-00001-of-00004.safetensors",
|
| 657 |
+
"model.visual.blocks.3.norm2.weight": "model-00001-of-00004.safetensors",
|
| 658 |
+
"model.visual.blocks.4.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 659 |
+
"model.visual.blocks.4.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 660 |
+
"model.visual.blocks.4.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 661 |
+
"model.visual.blocks.4.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 662 |
+
"model.visual.blocks.4.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 663 |
+
"model.visual.blocks.4.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 664 |
+
"model.visual.blocks.4.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 665 |
+
"model.visual.blocks.4.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 666 |
+
"model.visual.blocks.4.norm1.bias": "model-00001-of-00004.safetensors",
|
| 667 |
+
"model.visual.blocks.4.norm1.weight": "model-00001-of-00004.safetensors",
|
| 668 |
+
"model.visual.blocks.4.norm2.bias": "model-00001-of-00004.safetensors",
|
| 669 |
+
"model.visual.blocks.4.norm2.weight": "model-00001-of-00004.safetensors",
|
| 670 |
+
"model.visual.blocks.5.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 671 |
+
"model.visual.blocks.5.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 672 |
+
"model.visual.blocks.5.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 673 |
+
"model.visual.blocks.5.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 674 |
+
"model.visual.blocks.5.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 675 |
+
"model.visual.blocks.5.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 676 |
+
"model.visual.blocks.5.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 677 |
+
"model.visual.blocks.5.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 678 |
+
"model.visual.blocks.5.norm1.bias": "model-00001-of-00004.safetensors",
|
| 679 |
+
"model.visual.blocks.5.norm1.weight": "model-00001-of-00004.safetensors",
|
| 680 |
+
"model.visual.blocks.5.norm2.bias": "model-00001-of-00004.safetensors",
|
| 681 |
+
"model.visual.blocks.5.norm2.weight": "model-00001-of-00004.safetensors",
|
| 682 |
+
"model.visual.blocks.6.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 683 |
+
"model.visual.blocks.6.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 684 |
+
"model.visual.blocks.6.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 685 |
+
"model.visual.blocks.6.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 686 |
+
"model.visual.blocks.6.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 687 |
+
"model.visual.blocks.6.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 688 |
+
"model.visual.blocks.6.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 689 |
+
"model.visual.blocks.6.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 690 |
+
"model.visual.blocks.6.norm1.bias": "model-00001-of-00004.safetensors",
|
| 691 |
+
"model.visual.blocks.6.norm1.weight": "model-00001-of-00004.safetensors",
|
| 692 |
+
"model.visual.blocks.6.norm2.bias": "model-00001-of-00004.safetensors",
|
| 693 |
+
"model.visual.blocks.6.norm2.weight": "model-00001-of-00004.safetensors",
|
| 694 |
+
"model.visual.blocks.7.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 695 |
+
"model.visual.blocks.7.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 696 |
+
"model.visual.blocks.7.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 697 |
+
"model.visual.blocks.7.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 698 |
+
"model.visual.blocks.7.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 699 |
+
"model.visual.blocks.7.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 700 |
+
"model.visual.blocks.7.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 701 |
+
"model.visual.blocks.7.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 702 |
+
"model.visual.blocks.7.norm1.bias": "model-00001-of-00004.safetensors",
|
| 703 |
+
"model.visual.blocks.7.norm1.weight": "model-00001-of-00004.safetensors",
|
| 704 |
+
"model.visual.blocks.7.norm2.bias": "model-00001-of-00004.safetensors",
|
| 705 |
+
"model.visual.blocks.7.norm2.weight": "model-00001-of-00004.safetensors",
|
| 706 |
+
"model.visual.blocks.8.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 707 |
+
"model.visual.blocks.8.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 708 |
+
"model.visual.blocks.8.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 709 |
+
"model.visual.blocks.8.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 710 |
+
"model.visual.blocks.8.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 711 |
+
"model.visual.blocks.8.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 712 |
+
"model.visual.blocks.8.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 713 |
+
"model.visual.blocks.8.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 714 |
+
"model.visual.blocks.8.norm1.bias": "model-00001-of-00004.safetensors",
|
| 715 |
+
"model.visual.blocks.8.norm1.weight": "model-00001-of-00004.safetensors",
|
| 716 |
+
"model.visual.blocks.8.norm2.bias": "model-00001-of-00004.safetensors",
|
| 717 |
+
"model.visual.blocks.8.norm2.weight": "model-00001-of-00004.safetensors",
|
| 718 |
+
"model.visual.blocks.9.attn.proj.bias": "model-00001-of-00004.safetensors",
|
| 719 |
+
"model.visual.blocks.9.attn.proj.weight": "model-00001-of-00004.safetensors",
|
| 720 |
+
"model.visual.blocks.9.attn.qkv.bias": "model-00001-of-00004.safetensors",
|
| 721 |
+
"model.visual.blocks.9.attn.qkv.weight": "model-00001-of-00004.safetensors",
|
| 722 |
+
"model.visual.blocks.9.mlp.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 723 |
+
"model.visual.blocks.9.mlp.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 724 |
+
"model.visual.blocks.9.mlp.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 725 |
+
"model.visual.blocks.9.mlp.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 726 |
+
"model.visual.blocks.9.norm1.bias": "model-00001-of-00004.safetensors",
|
| 727 |
+
"model.visual.blocks.9.norm1.weight": "model-00001-of-00004.safetensors",
|
| 728 |
+
"model.visual.blocks.9.norm2.bias": "model-00001-of-00004.safetensors",
|
| 729 |
+
"model.visual.blocks.9.norm2.weight": "model-00001-of-00004.safetensors",
|
| 730 |
+
"model.visual.deepstack_merger_list.0.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 731 |
+
"model.visual.deepstack_merger_list.0.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 732 |
+
"model.visual.deepstack_merger_list.0.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 733 |
+
"model.visual.deepstack_merger_list.0.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 734 |
+
"model.visual.deepstack_merger_list.0.norm.bias": "model-00001-of-00004.safetensors",
|
| 735 |
+
"model.visual.deepstack_merger_list.0.norm.weight": "model-00001-of-00004.safetensors",
|
| 736 |
+
"model.visual.deepstack_merger_list.1.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 737 |
+
"model.visual.deepstack_merger_list.1.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 738 |
+
"model.visual.deepstack_merger_list.1.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 739 |
+
"model.visual.deepstack_merger_list.1.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 740 |
+
"model.visual.deepstack_merger_list.1.norm.bias": "model-00001-of-00004.safetensors",
|
| 741 |
+
"model.visual.deepstack_merger_list.1.norm.weight": "model-00001-of-00004.safetensors",
|
| 742 |
+
"model.visual.deepstack_merger_list.2.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 743 |
+
"model.visual.deepstack_merger_list.2.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 744 |
+
"model.visual.deepstack_merger_list.2.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 745 |
+
"model.visual.deepstack_merger_list.2.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 746 |
+
"model.visual.deepstack_merger_list.2.norm.bias": "model-00001-of-00004.safetensors",
|
| 747 |
+
"model.visual.deepstack_merger_list.2.norm.weight": "model-00001-of-00004.safetensors",
|
| 748 |
+
"model.visual.merger.linear_fc1.bias": "model-00001-of-00004.safetensors",
|
| 749 |
+
"model.visual.merger.linear_fc1.weight": "model-00001-of-00004.safetensors",
|
| 750 |
+
"model.visual.merger.linear_fc2.bias": "model-00001-of-00004.safetensors",
|
| 751 |
+
"model.visual.merger.linear_fc2.weight": "model-00001-of-00004.safetensors",
|
| 752 |
+
"model.visual.merger.norm.bias": "model-00001-of-00004.safetensors",
|
| 753 |
+
"model.visual.merger.norm.weight": "model-00001-of-00004.safetensors",
|
| 754 |
+
"model.visual.patch_embed.proj.bias": "model-00001-of-00004.safetensors",
|
| 755 |
+
"model.visual.patch_embed.proj.weight": "model-00001-of-00004.safetensors",
|
| 756 |
+
"model.visual.pos_embed.weight": "model-00001-of-00004.safetensors"
|
| 757 |
+
}
|
| 758 |
+
}
|
output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/preprocessor_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"size": {
|
| 3 |
+
"longest_edge": 16777216,
|
| 4 |
+
"shortest_edge": 65536
|
| 5 |
+
},
|
| 6 |
+
"patch_size": 16,
|
| 7 |
+
"temporal_patch_size": 2,
|
| 8 |
+
"merge_size": 2,
|
| 9 |
+
"image_mean": [
|
| 10 |
+
0.5,
|
| 11 |
+
0.5,
|
| 12 |
+
0.5
|
| 13 |
+
],
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"processor_class": "Qwen3VLProcessor",
|
| 20 |
+
"image_processor_type": "Qwen2VLImageProcessorFast"
|
| 21 |
+
}
|
output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/tokenizer_config.json
ADDED
|
@@ -0,0 +1,240 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|im_start|>",
|
| 216 |
+
"<|im_end|>",
|
| 217 |
+
"<|object_ref_start|>",
|
| 218 |
+
"<|object_ref_end|>",
|
| 219 |
+
"<|box_start|>",
|
| 220 |
+
"<|box_end|>",
|
| 221 |
+
"<|quad_start|>",
|
| 222 |
+
"<|quad_end|>",
|
| 223 |
+
"<|vision_start|>",
|
| 224 |
+
"<|vision_end|>",
|
| 225 |
+
"<|vision_pad|>",
|
| 226 |
+
"<|image_pad|>",
|
| 227 |
+
"<|video_pad|>"
|
| 228 |
+
],
|
| 229 |
+
"bos_token": null,
|
| 230 |
+
"clean_up_tokenization_spaces": false,
|
| 231 |
+
"eos_token": "<|im_end|>",
|
| 232 |
+
"errors": "replace",
|
| 233 |
+
"extra_special_tokens": {},
|
| 234 |
+
"model_max_length": 262144,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"processor_class": "Qwen3VLProcessor",
|
| 237 |
+
"split_special_tokens": false,
|
| 238 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 239 |
+
"unk_token": null
|
| 240 |
+
}
|
output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/trainer_state.json
ADDED
|
@@ -0,0 +1,1021 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 3.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 141,
|
| 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.02127659574468085,
|
| 14 |
+
"grad_norm": 1.4945409366142737,
|
| 15 |
+
"learning_rate": 1.25e-06,
|
| 16 |
+
"loss": 0.47470569610595703,
|
| 17 |
+
"step": 1
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.0425531914893617,
|
| 21 |
+
"grad_norm": 1.6131759301902888,
|
| 22 |
+
"learning_rate": 2.5e-06,
|
| 23 |
+
"loss": 0.46907782554626465,
|
| 24 |
+
"step": 2
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.06382978723404255,
|
| 28 |
+
"grad_norm": 1.4456338993049986,
|
| 29 |
+
"learning_rate": 3.7500000000000005e-06,
|
| 30 |
+
"loss": 0.4708913564682007,
|
| 31 |
+
"step": 3
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.0851063829787234,
|
| 35 |
+
"grad_norm": 1.344318440688959,
|
| 36 |
+
"learning_rate": 5e-06,
|
| 37 |
+
"loss": 0.4601195752620697,
|
| 38 |
+
"step": 4
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.10638297872340426,
|
| 42 |
+
"grad_norm": 1.2443377621331497,
|
| 43 |
+
"learning_rate": 6.25e-06,
|
| 44 |
+
"loss": 0.4476660192012787,
|
| 45 |
+
"step": 5
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.1276595744680851,
|
| 49 |
+
"grad_norm": 1.2484907109117032,
|
| 50 |
+
"learning_rate": 7.500000000000001e-06,
|
| 51 |
+
"loss": 0.45565998554229736,
|
| 52 |
+
"step": 6
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.14893617021276595,
|
| 56 |
+
"grad_norm": 0.912648777183382,
|
| 57 |
+
"learning_rate": 8.750000000000001e-06,
|
| 58 |
+
"loss": 0.46119531989097595,
|
| 59 |
+
"step": 7
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.1702127659574468,
|
| 63 |
+
"grad_norm": 0.7290044064053395,
|
| 64 |
+
"learning_rate": 1e-05,
|
| 65 |
+
"loss": 0.4582782983779907,
|
| 66 |
+
"step": 8
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.19148936170212766,
|
| 70 |
+
"grad_norm": 0.6943208833332151,
|
| 71 |
+
"learning_rate": 9.998605186060138e-06,
|
| 72 |
+
"loss": 0.44635140895843506,
|
| 73 |
+
"step": 9
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.2127659574468085,
|
| 77 |
+
"grad_norm": 0.6598740363423397,
|
| 78 |
+
"learning_rate": 9.99442152244292e-06,
|
| 79 |
+
"loss": 0.46279534697532654,
|
| 80 |
+
"step": 10
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.23404255319148937,
|
| 84 |
+
"grad_norm": 0.6281169148183058,
|
| 85 |
+
"learning_rate": 9.98745134332128e-06,
|
| 86 |
+
"loss": 0.4473879933357239,
|
| 87 |
+
"step": 11
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.2553191489361702,
|
| 91 |
+
"grad_norm": 0.5241505659704508,
|
| 92 |
+
"learning_rate": 9.97769853753642e-06,
|
| 93 |
+
"loss": 0.4682028591632843,
|
| 94 |
+
"step": 12
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.2765957446808511,
|
| 98 |
+
"grad_norm": 0.46488544054329856,
|
| 99 |
+
"learning_rate": 9.965168546428122e-06,
|
| 100 |
+
"loss": 0.4410898983478546,
|
| 101 |
+
"step": 13
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.2978723404255319,
|
| 105 |
+
"grad_norm": 0.4779875781395345,
|
| 106 |
+
"learning_rate": 9.949868360798893e-06,
|
| 107 |
+
"loss": 0.46242910623550415,
|
| 108 |
+
"step": 14
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.3191489361702128,
|
| 112 |
+
"grad_norm": 0.4546588480828041,
|
| 113 |
+
"learning_rate": 9.931806517013612e-06,
|
| 114 |
+
"loss": 0.43444231152534485,
|
| 115 |
+
"step": 15
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 0.3404255319148936,
|
| 119 |
+
"grad_norm": 0.4382515164465704,
|
| 120 |
+
"learning_rate": 9.910993092236878e-06,
|
| 121 |
+
"loss": 0.4405922293663025,
|
| 122 |
+
"step": 16
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.3617021276595745,
|
| 126 |
+
"grad_norm": 0.45241206717782606,
|
| 127 |
+
"learning_rate": 9.887439698810694e-06,
|
| 128 |
+
"loss": 0.46316754817962646,
|
| 129 |
+
"step": 17
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.3829787234042553,
|
| 133 |
+
"grad_norm": 0.38760711589687247,
|
| 134 |
+
"learning_rate": 9.861159477775653e-06,
|
| 135 |
+
"loss": 0.4548632502555847,
|
| 136 |
+
"step": 18
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 0.40425531914893614,
|
| 140 |
+
"grad_norm": 0.3923202668349616,
|
| 141 |
+
"learning_rate": 9.832167091539215e-06,
|
| 142 |
+
"loss": 0.4309188425540924,
|
| 143 |
+
"step": 19
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 0.425531914893617,
|
| 147 |
+
"grad_norm": 0.49341259027365447,
|
| 148 |
+
"learning_rate": 9.800478715695165e-06,
|
| 149 |
+
"loss": 0.448209285736084,
|
| 150 |
+
"step": 20
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 0.44680851063829785,
|
| 154 |
+
"grad_norm": 0.39925124978746634,
|
| 155 |
+
"learning_rate": 9.766112029998847e-06,
|
| 156 |
+
"loss": 0.4561379849910736,
|
| 157 |
+
"step": 21
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 0.46808510638297873,
|
| 161 |
+
"grad_norm": 0.37882700694698723,
|
| 162 |
+
"learning_rate": 9.729086208503174e-06,
|
| 163 |
+
"loss": 0.4607166051864624,
|
| 164 |
+
"step": 22
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 0.48936170212765956,
|
| 168 |
+
"grad_norm": 0.34968544362691373,
|
| 169 |
+
"learning_rate": 9.689421908860928e-06,
|
| 170 |
+
"loss": 0.44091761112213135,
|
| 171 |
+
"step": 23
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 0.5106382978723404,
|
| 175 |
+
"grad_norm": 0.3955336932334185,
|
| 176 |
+
"learning_rate": 9.64714126079933e-06,
|
| 177 |
+
"loss": 0.4560421109199524,
|
| 178 |
+
"step": 24
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 0.5319148936170213,
|
| 182 |
+
"grad_norm": 0.3532398523189208,
|
| 183 |
+
"learning_rate": 9.602267853773301e-06,
|
| 184 |
+
"loss": 0.4423973262310028,
|
| 185 |
+
"step": 25
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 0.5531914893617021,
|
| 189 |
+
"grad_norm": 0.43513635123694905,
|
| 190 |
+
"learning_rate": 9.554826723804304e-06,
|
| 191 |
+
"loss": 0.44167840480804443,
|
| 192 |
+
"step": 26
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 0.574468085106383,
|
| 196 |
+
"grad_norm": 0.36829481899869665,
|
| 197 |
+
"learning_rate": 9.504844339512096e-06,
|
| 198 |
+
"loss": 0.46043920516967773,
|
| 199 |
+
"step": 27
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"epoch": 0.5957446808510638,
|
| 203 |
+
"grad_norm": 0.3836802689336054,
|
| 204 |
+
"learning_rate": 9.452348587347224e-06,
|
| 205 |
+
"loss": 0.43361151218414307,
|
| 206 |
+
"step": 28
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 0.6170212765957447,
|
| 210 |
+
"grad_norm": 0.44139088900216505,
|
| 211 |
+
"learning_rate": 9.397368756032445e-06,
|
| 212 |
+
"loss": 0.4534626305103302,
|
| 213 |
+
"step": 29
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"epoch": 0.6382978723404256,
|
| 217 |
+
"grad_norm": 0.4826047506458342,
|
| 218 |
+
"learning_rate": 9.339935520221816e-06,
|
| 219 |
+
"loss": 0.41576769948005676,
|
| 220 |
+
"step": 30
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 0.6595744680851063,
|
| 224 |
+
"grad_norm": 0.3904906041655268,
|
| 225 |
+
"learning_rate": 9.280080923386501e-06,
|
| 226 |
+
"loss": 0.4434390962123871,
|
| 227 |
+
"step": 31
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"epoch": 0.6808510638297872,
|
| 231 |
+
"grad_norm": 0.42209624839230103,
|
| 232 |
+
"learning_rate": 9.217838359936914e-06,
|
| 233 |
+
"loss": 0.45468592643737793,
|
| 234 |
+
"step": 32
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 0.7021276595744681,
|
| 238 |
+
"grad_norm": 0.4479874979579134,
|
| 239 |
+
"learning_rate": 9.153242556591115e-06,
|
| 240 |
+
"loss": 0.48368990421295166,
|
| 241 |
+
"step": 33
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 0.723404255319149,
|
| 245 |
+
"grad_norm": 0.47707172212462384,
|
| 246 |
+
"learning_rate": 9.08632955299989e-06,
|
| 247 |
+
"loss": 0.44943147897720337,
|
| 248 |
+
"step": 34
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"epoch": 0.7446808510638298,
|
| 252 |
+
"grad_norm": 0.4775943721075068,
|
| 253 |
+
"learning_rate": 9.017136681639307e-06,
|
| 254 |
+
"loss": 0.46517062187194824,
|
| 255 |
+
"step": 35
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"epoch": 0.7659574468085106,
|
| 259 |
+
"grad_norm": 0.5832181016801914,
|
| 260 |
+
"learning_rate": 8.94570254698197e-06,
|
| 261 |
+
"loss": 0.47085314989089966,
|
| 262 |
+
"step": 36
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 0.7872340425531915,
|
| 266 |
+
"grad_norm": 0.4317425418965631,
|
| 267 |
+
"learning_rate": 8.872067003958597e-06,
|
| 268 |
+
"loss": 0.43390953540802,
|
| 269 |
+
"step": 37
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"epoch": 0.8085106382978723,
|
| 273 |
+
"grad_norm": 0.41252413256949716,
|
| 274 |
+
"learning_rate": 8.796271135721944e-06,
|
| 275 |
+
"loss": 0.44863736629486084,
|
| 276 |
+
"step": 38
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"epoch": 0.8297872340425532,
|
| 280 |
+
"grad_norm": 0.42629788523401513,
|
| 281 |
+
"learning_rate": 8.71835723072545e-06,
|
| 282 |
+
"loss": 0.4460798501968384,
|
| 283 |
+
"step": 39
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"epoch": 0.851063829787234,
|
| 287 |
+
"grad_norm": 0.42540938514829557,
|
| 288 |
+
"learning_rate": 8.638368759129433e-06,
|
| 289 |
+
"loss": 0.44217944145202637,
|
| 290 |
+
"step": 40
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 0.8723404255319149,
|
| 294 |
+
"grad_norm": 0.4517119599662556,
|
| 295 |
+
"learning_rate": 8.556350348547978e-06,
|
| 296 |
+
"loss": 0.44088393449783325,
|
| 297 |
+
"step": 41
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"epoch": 0.8936170212765957,
|
| 301 |
+
"grad_norm": 0.4346838789758119,
|
| 302 |
+
"learning_rate": 8.472347759150044e-06,
|
| 303 |
+
"loss": 0.4364590048789978,
|
| 304 |
+
"step": 42
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"epoch": 0.9148936170212766,
|
| 308 |
+
"grad_norm": 0.40228178954198157,
|
| 309 |
+
"learning_rate": 8.386407858128707e-06,
|
| 310 |
+
"loss": 0.4199213981628418,
|
| 311 |
+
"step": 43
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"epoch": 0.9361702127659575,
|
| 315 |
+
"grad_norm": 0.4228761570550341,
|
| 316 |
+
"learning_rate": 8.298578593552737e-06,
|
| 317 |
+
"loss": 0.4548170864582062,
|
| 318 |
+
"step": 44
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 0.9574468085106383,
|
| 322 |
+
"grad_norm": 0.46005376528561726,
|
| 323 |
+
"learning_rate": 8.208908967615159e-06,
|
| 324 |
+
"loss": 0.4514293670654297,
|
| 325 |
+
"step": 45
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 0.9787234042553191,
|
| 329 |
+
"grad_norm": 0.5056858065261485,
|
| 330 |
+
"learning_rate": 8.117449009293668e-06,
|
| 331 |
+
"loss": 0.42970019578933716,
|
| 332 |
+
"step": 46
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"epoch": 1.0,
|
| 336 |
+
"grad_norm": 0.5151005653976666,
|
| 337 |
+
"learning_rate": 8.024249746438189e-06,
|
| 338 |
+
"loss": 0.45446091890335083,
|
| 339 |
+
"step": 47
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"epoch": 1.0212765957446808,
|
| 343 |
+
"grad_norm": 0.42905635347040094,
|
| 344 |
+
"learning_rate": 7.929363177301124e-06,
|
| 345 |
+
"loss": 0.4285831153392792,
|
| 346 |
+
"step": 48
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"epoch": 1.0425531914893618,
|
| 350 |
+
"grad_norm": 0.37583246644126317,
|
| 351 |
+
"learning_rate": 7.832842241526212e-06,
|
| 352 |
+
"loss": 0.41559046506881714,
|
| 353 |
+
"step": 49
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"epoch": 1.0638297872340425,
|
| 357 |
+
"grad_norm": 0.4816230137890064,
|
| 358 |
+
"learning_rate": 7.734740790612137e-06,
|
| 359 |
+
"loss": 0.4414050579071045,
|
| 360 |
+
"step": 50
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"epoch": 1.0851063829787233,
|
| 364 |
+
"grad_norm": 0.44202881387348536,
|
| 365 |
+
"learning_rate": 7.635113557867395e-06,
|
| 366 |
+
"loss": 0.41505736112594604,
|
| 367 |
+
"step": 51
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"epoch": 1.1063829787234043,
|
| 371 |
+
"grad_norm": 0.4018282239530092,
|
| 372 |
+
"learning_rate": 7.5340161278732e-06,
|
| 373 |
+
"loss": 0.42385944724082947,
|
| 374 |
+
"step": 52
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"epoch": 1.127659574468085,
|
| 378 |
+
"grad_norm": 0.42596341065902127,
|
| 379 |
+
"learning_rate": 7.431504905471407e-06,
|
| 380 |
+
"loss": 0.37573638558387756,
|
| 381 |
+
"step": 53
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"epoch": 1.148936170212766,
|
| 385 |
+
"grad_norm": 0.4747335185705251,
|
| 386 |
+
"learning_rate": 7.327637084294818e-06,
|
| 387 |
+
"loss": 0.43961822986602783,
|
| 388 |
+
"step": 54
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"epoch": 1.1702127659574468,
|
| 392 |
+
"grad_norm": 0.5474992717339845,
|
| 393 |
+
"learning_rate": 7.22247061485738e-06,
|
| 394 |
+
"loss": 0.4200581908226013,
|
| 395 |
+
"step": 55
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"epoch": 1.1914893617021276,
|
| 399 |
+
"grad_norm": 0.4786308865798006,
|
| 400 |
+
"learning_rate": 7.1160641722221255e-06,
|
| 401 |
+
"loss": 0.4453408718109131,
|
| 402 |
+
"step": 56
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"epoch": 1.2127659574468086,
|
| 406 |
+
"grad_norm": 0.5534664122137972,
|
| 407 |
+
"learning_rate": 7.008477123264849e-06,
|
| 408 |
+
"loss": 0.4157971739768982,
|
| 409 |
+
"step": 57
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"epoch": 1.2340425531914894,
|
| 413 |
+
"grad_norm": 0.5148383789696144,
|
| 414 |
+
"learning_rate": 6.8997694935518e-06,
|
| 415 |
+
"loss": 0.4144361615180969,
|
| 416 |
+
"step": 58
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"epoch": 1.2553191489361701,
|
| 420 |
+
"grad_norm": 0.535534757096714,
|
| 421 |
+
"learning_rate": 6.7900019338499005e-06,
|
| 422 |
+
"loss": 0.4023136496543884,
|
| 423 |
+
"step": 59
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"epoch": 1.2765957446808511,
|
| 427 |
+
"grad_norm": 0.549244977408917,
|
| 428 |
+
"learning_rate": 6.6792356862881144e-06,
|
| 429 |
+
"loss": 0.41821718215942383,
|
| 430 |
+
"step": 60
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"epoch": 1.297872340425532,
|
| 434 |
+
"grad_norm": 0.5152461804649434,
|
| 435 |
+
"learning_rate": 6.567532550188908e-06,
|
| 436 |
+
"loss": 0.4150574505329132,
|
| 437 |
+
"step": 61
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"epoch": 1.3191489361702127,
|
| 441 |
+
"grad_norm": 0.5052366639330719,
|
| 442 |
+
"learning_rate": 6.454954847588824e-06,
|
| 443 |
+
"loss": 0.4070608615875244,
|
| 444 |
+
"step": 62
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"epoch": 1.3404255319148937,
|
| 448 |
+
"grad_norm": 0.5251370102742905,
|
| 449 |
+
"learning_rate": 6.341565388467425e-06,
|
| 450 |
+
"loss": 0.4178619980812073,
|
| 451 |
+
"step": 63
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"epoch": 1.3617021276595744,
|
| 455 |
+
"grad_norm": 0.5554251445432468,
|
| 456 |
+
"learning_rate": 6.227427435703997e-06,
|
| 457 |
+
"loss": 0.4105291962623596,
|
| 458 |
+
"step": 64
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"epoch": 1.3829787234042552,
|
| 462 |
+
"grad_norm": 0.5421435081195427,
|
| 463 |
+
"learning_rate": 6.112604669781572e-06,
|
| 464 |
+
"loss": 0.398360937833786,
|
| 465 |
+
"step": 65
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"epoch": 1.4042553191489362,
|
| 469 |
+
"grad_norm": 0.5020031844388451,
|
| 470 |
+
"learning_rate": 5.997161153257963e-06,
|
| 471 |
+
"loss": 0.4148654341697693,
|
| 472 |
+
"step": 66
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"epoch": 1.425531914893617,
|
| 476 |
+
"grad_norm": 0.5742308275669671,
|
| 477 |
+
"learning_rate": 5.88116129502361e-06,
|
| 478 |
+
"loss": 0.4205518960952759,
|
| 479 |
+
"step": 67
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"epoch": 1.4468085106382977,
|
| 483 |
+
"grad_norm": 0.5457081736217181,
|
| 484 |
+
"learning_rate": 5.764669814366231e-06,
|
| 485 |
+
"loss": 0.42877981066703796,
|
| 486 |
+
"step": 68
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"epoch": 1.4680851063829787,
|
| 490 |
+
"grad_norm": 0.49477955849207594,
|
| 491 |
+
"learning_rate": 5.647751704862263e-06,
|
| 492 |
+
"loss": 0.4028179943561554,
|
| 493 |
+
"step": 69
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"epoch": 1.4893617021276595,
|
| 497 |
+
"grad_norm": 0.4940540127174657,
|
| 498 |
+
"learning_rate": 5.530472198115291e-06,
|
| 499 |
+
"loss": 0.3989769518375397,
|
| 500 |
+
"step": 70
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"epoch": 1.5106382978723403,
|
| 504 |
+
"grad_norm": 0.5781202276132015,
|
| 505 |
+
"learning_rate": 5.412896727361663e-06,
|
| 506 |
+
"loss": 0.42286378145217896,
|
| 507 |
+
"step": 71
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"epoch": 1.5319148936170213,
|
| 511 |
+
"grad_norm": 0.580824959131636,
|
| 512 |
+
"learning_rate": 5.2950908909636144e-06,
|
| 513 |
+
"loss": 0.4148433804512024,
|
| 514 |
+
"step": 72
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"epoch": 1.5531914893617023,
|
| 518 |
+
"grad_norm": 0.5134248232943511,
|
| 519 |
+
"learning_rate": 5.177120415810271e-06,
|
| 520 |
+
"loss": 0.3839450478553772,
|
| 521 |
+
"step": 73
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"epoch": 1.574468085106383,
|
| 525 |
+
"grad_norm": 0.6308794234448493,
|
| 526 |
+
"learning_rate": 5.059051120646924e-06,
|
| 527 |
+
"loss": 0.4176972508430481,
|
| 528 |
+
"step": 74
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"epoch": 1.5957446808510638,
|
| 532 |
+
"grad_norm": 0.5347953937429292,
|
| 533 |
+
"learning_rate": 4.940948879353078e-06,
|
| 534 |
+
"loss": 0.3804852366447449,
|
| 535 |
+
"step": 75
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"epoch": 1.6170212765957448,
|
| 539 |
+
"grad_norm": 0.5347423274573576,
|
| 540 |
+
"learning_rate": 4.822879584189732e-06,
|
| 541 |
+
"loss": 0.41259294748306274,
|
| 542 |
+
"step": 76
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"epoch": 1.6382978723404256,
|
| 546 |
+
"grad_norm": 0.5185685032257472,
|
| 547 |
+
"learning_rate": 4.704909109036387e-06,
|
| 548 |
+
"loss": 0.39597252011299133,
|
| 549 |
+
"step": 77
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"epoch": 1.6595744680851063,
|
| 553 |
+
"grad_norm": 0.5318337845330708,
|
| 554 |
+
"learning_rate": 4.587103272638339e-06,
|
| 555 |
+
"loss": 0.40239036083221436,
|
| 556 |
+
"step": 78
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"epoch": 1.6808510638297873,
|
| 560 |
+
"grad_norm": 0.5268998201949674,
|
| 561 |
+
"learning_rate": 4.46952780188471e-06,
|
| 562 |
+
"loss": 0.40525078773498535,
|
| 563 |
+
"step": 79
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"epoch": 1.702127659574468,
|
| 567 |
+
"grad_norm": 0.5609850555232155,
|
| 568 |
+
"learning_rate": 4.352248295137739e-06,
|
| 569 |
+
"loss": 0.39949631690979004,
|
| 570 |
+
"step": 80
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"epoch": 1.7234042553191489,
|
| 574 |
+
"grad_norm": 0.5291894021626585,
|
| 575 |
+
"learning_rate": 4.23533018563377e-06,
|
| 576 |
+
"loss": 0.4018484950065613,
|
| 577 |
+
"step": 81
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"epoch": 1.7446808510638299,
|
| 581 |
+
"grad_norm": 0.5107043574221458,
|
| 582 |
+
"learning_rate": 4.118838704976392e-06,
|
| 583 |
+
"loss": 0.39324691891670227,
|
| 584 |
+
"step": 82
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"epoch": 1.7659574468085106,
|
| 588 |
+
"grad_norm": 0.5503131371011191,
|
| 589 |
+
"learning_rate": 4.002838846742039e-06,
|
| 590 |
+
"loss": 0.4057660400867462,
|
| 591 |
+
"step": 83
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"epoch": 1.7872340425531914,
|
| 595 |
+
"grad_norm": 0.5991232302446364,
|
| 596 |
+
"learning_rate": 3.887395330218429e-06,
|
| 597 |
+
"loss": 0.4130645990371704,
|
| 598 |
+
"step": 84
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"epoch": 1.8085106382978724,
|
| 602 |
+
"grad_norm": 0.545490749585888,
|
| 603 |
+
"learning_rate": 3.7725725642960047e-06,
|
| 604 |
+
"loss": 0.4013049304485321,
|
| 605 |
+
"step": 85
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"epoch": 1.8297872340425532,
|
| 609 |
+
"grad_norm": 0.5290750997314438,
|
| 610 |
+
"learning_rate": 3.658434611532578e-06,
|
| 611 |
+
"loss": 0.40173494815826416,
|
| 612 |
+
"step": 86
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"epoch": 1.851063829787234,
|
| 616 |
+
"grad_norm": 0.5618040645566221,
|
| 617 |
+
"learning_rate": 3.545045152411178e-06,
|
| 618 |
+
"loss": 0.4293781518936157,
|
| 619 |
+
"step": 87
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"epoch": 1.872340425531915,
|
| 623 |
+
"grad_norm": 0.5926754496467901,
|
| 624 |
+
"learning_rate": 3.4324674498110956e-06,
|
| 625 |
+
"loss": 0.40415823459625244,
|
| 626 |
+
"step": 88
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"epoch": 1.8936170212765957,
|
| 630 |
+
"grad_norm": 0.6233371268301052,
|
| 631 |
+
"learning_rate": 3.3207643137118872e-06,
|
| 632 |
+
"loss": 0.4302576780319214,
|
| 633 |
+
"step": 89
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"epoch": 1.9148936170212765,
|
| 637 |
+
"grad_norm": 0.5590211415554595,
|
| 638 |
+
"learning_rate": 3.2099980661501016e-06,
|
| 639 |
+
"loss": 0.4008101522922516,
|
| 640 |
+
"step": 90
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"epoch": 1.9361702127659575,
|
| 644 |
+
"grad_norm": 0.5981735492363895,
|
| 645 |
+
"learning_rate": 3.1002305064482006e-06,
|
| 646 |
+
"loss": 0.42199262976646423,
|
| 647 |
+
"step": 91
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"epoch": 1.9574468085106385,
|
| 651 |
+
"grad_norm": 0.5485817007207668,
|
| 652 |
+
"learning_rate": 2.991522876735154e-06,
|
| 653 |
+
"loss": 0.4152745008468628,
|
| 654 |
+
"step": 92
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"epoch": 1.978723404255319,
|
| 658 |
+
"grad_norm": 0.544859110863117,
|
| 659 |
+
"learning_rate": 2.8839358277778758e-06,
|
| 660 |
+
"loss": 0.3985520601272583,
|
| 661 |
+
"step": 93
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"epoch": 2.0,
|
| 665 |
+
"grad_norm": 0.5810127527314596,
|
| 666 |
+
"learning_rate": 2.7775293851426233e-06,
|
| 667 |
+
"loss": 0.4001222848892212,
|
| 668 |
+
"step": 94
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"epoch": 2.021276595744681,
|
| 672 |
+
"grad_norm": 0.5056826791346001,
|
| 673 |
+
"learning_rate": 2.6723629157051844e-06,
|
| 674 |
+
"loss": 0.38141417503356934,
|
| 675 |
+
"step": 95
|
| 676 |
+
},
|
| 677 |
+
{
|
| 678 |
+
"epoch": 2.0425531914893615,
|
| 679 |
+
"grad_norm": 0.4913699716640923,
|
| 680 |
+
"learning_rate": 2.5684950945285937e-06,
|
| 681 |
+
"loss": 0.4268401861190796,
|
| 682 |
+
"step": 96
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"epoch": 2.0638297872340425,
|
| 686 |
+
"grad_norm": 0.4635948228942791,
|
| 687 |
+
"learning_rate": 2.4659838721268005e-06,
|
| 688 |
+
"loss": 0.3778505325317383,
|
| 689 |
+
"step": 97
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"epoch": 2.0851063829787235,
|
| 693 |
+
"grad_norm": 0.49652010223992676,
|
| 694 |
+
"learning_rate": 2.364886442132606e-06,
|
| 695 |
+
"loss": 0.3748404383659363,
|
| 696 |
+
"step": 98
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"epoch": 2.106382978723404,
|
| 700 |
+
"grad_norm": 0.4545797356430615,
|
| 701 |
+
"learning_rate": 2.265259209387867e-06,
|
| 702 |
+
"loss": 0.3761001229286194,
|
| 703 |
+
"step": 99
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"epoch": 2.127659574468085,
|
| 707 |
+
"grad_norm": 0.5563094325448318,
|
| 708 |
+
"learning_rate": 2.16715775847379e-06,
|
| 709 |
+
"loss": 0.38692647218704224,
|
| 710 |
+
"step": 100
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"epoch": 2.148936170212766,
|
| 714 |
+
"grad_norm": 0.5177352367493929,
|
| 715 |
+
"learning_rate": 2.0706368226988772e-06,
|
| 716 |
+
"loss": 0.35864412784576416,
|
| 717 |
+
"step": 101
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"epoch": 2.1702127659574466,
|
| 721 |
+
"grad_norm": 0.47580087789474873,
|
| 722 |
+
"learning_rate": 1.9757502535618137e-06,
|
| 723 |
+
"loss": 0.37887638807296753,
|
| 724 |
+
"step": 102
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"epoch": 2.1914893617021276,
|
| 728 |
+
"grad_norm": 0.5510937270041113,
|
| 729 |
+
"learning_rate": 1.8825509907063328e-06,
|
| 730 |
+
"loss": 0.3805733323097229,
|
| 731 |
+
"step": 103
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"epoch": 2.2127659574468086,
|
| 735 |
+
"grad_norm": 0.5504897032002757,
|
| 736 |
+
"learning_rate": 1.7910910323848435e-06,
|
| 737 |
+
"loss": 0.3753955066204071,
|
| 738 |
+
"step": 104
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"epoch": 2.2340425531914896,
|
| 742 |
+
"grad_norm": 0.578671118106475,
|
| 743 |
+
"learning_rate": 1.7014214064472646e-06,
|
| 744 |
+
"loss": 0.35316020250320435,
|
| 745 |
+
"step": 105
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"epoch": 2.25531914893617,
|
| 749 |
+
"grad_norm": 0.6017058797006986,
|
| 750 |
+
"learning_rate": 1.6135921418712959e-06,
|
| 751 |
+
"loss": 0.3890351951122284,
|
| 752 |
+
"step": 106
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"epoch": 2.276595744680851,
|
| 756 |
+
"grad_norm": 0.609515636597088,
|
| 757 |
+
"learning_rate": 1.5276522408499567e-06,
|
| 758 |
+
"loss": 0.3732919692993164,
|
| 759 |
+
"step": 107
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"epoch": 2.297872340425532,
|
| 763 |
+
"grad_norm": 0.552681480905156,
|
| 764 |
+
"learning_rate": 1.4436496514520253e-06,
|
| 765 |
+
"loss": 0.3829761743545532,
|
| 766 |
+
"step": 108
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"epoch": 2.3191489361702127,
|
| 770 |
+
"grad_norm": 0.5670063704979055,
|
| 771 |
+
"learning_rate": 1.361631240870569e-06,
|
| 772 |
+
"loss": 0.3648987412452698,
|
| 773 |
+
"step": 109
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"epoch": 2.3404255319148937,
|
| 777 |
+
"grad_norm": 0.5960041841758764,
|
| 778 |
+
"learning_rate": 1.281642769274552e-06,
|
| 779 |
+
"loss": 0.3692820072174072,
|
| 780 |
+
"step": 110
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"epoch": 2.3617021276595747,
|
| 784 |
+
"grad_norm": 0.6561334757751836,
|
| 785 |
+
"learning_rate": 1.2037288642780575e-06,
|
| 786 |
+
"loss": 0.3535943031311035,
|
| 787 |
+
"step": 111
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"epoch": 2.382978723404255,
|
| 791 |
+
"grad_norm": 0.6764887678395227,
|
| 792 |
+
"learning_rate": 1.1279329960414047e-06,
|
| 793 |
+
"loss": 0.38479724526405334,
|
| 794 |
+
"step": 112
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"epoch": 2.404255319148936,
|
| 798 |
+
"grad_norm": 0.6566181920461495,
|
| 799 |
+
"learning_rate": 1.0542974530180327e-06,
|
| 800 |
+
"loss": 0.3684713840484619,
|
| 801 |
+
"step": 113
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"epoch": 2.425531914893617,
|
| 805 |
+
"grad_norm": 0.5921238196325356,
|
| 806 |
+
"learning_rate": 9.82863318360695e-07,
|
| 807 |
+
"loss": 0.35909783840179443,
|
| 808 |
+
"step": 114
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"epoch": 2.4468085106382977,
|
| 812 |
+
"grad_norm": 0.620738098666235,
|
| 813 |
+
"learning_rate": 9.136704470001101e-07,
|
| 814 |
+
"loss": 0.35945990681648254,
|
| 815 |
+
"step": 115
|
| 816 |
+
},
|
| 817 |
+
{
|
| 818 |
+
"epoch": 2.4680851063829787,
|
| 819 |
+
"grad_norm": 0.6318857337612622,
|
| 820 |
+
"learning_rate": 8.46757443408886e-07,
|
| 821 |
+
"loss": 0.3712207078933716,
|
| 822 |
+
"step": 116
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"epoch": 2.4893617021276597,
|
| 826 |
+
"grad_norm": 0.8180395183286056,
|
| 827 |
+
"learning_rate": 7.821616400630866e-07,
|
| 828 |
+
"loss": 0.3632838726043701,
|
| 829 |
+
"step": 117
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"epoch": 2.5106382978723403,
|
| 833 |
+
"grad_norm": 0.6852880035815936,
|
| 834 |
+
"learning_rate": 7.199190766135001e-07,
|
| 835 |
+
"loss": 0.3901333212852478,
|
| 836 |
+
"step": 118
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"epoch": 2.5319148936170213,
|
| 840 |
+
"grad_norm": 0.6992090467251504,
|
| 841 |
+
"learning_rate": 6.600644797781847e-07,
|
| 842 |
+
"loss": 0.3884303569793701,
|
| 843 |
+
"step": 119
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"epoch": 2.5531914893617023,
|
| 847 |
+
"grad_norm": 0.6372505245841691,
|
| 848 |
+
"learning_rate": 6.026312439675553e-07,
|
| 849 |
+
"loss": 0.3695982098579407,
|
| 850 |
+
"step": 120
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"epoch": 2.574468085106383,
|
| 854 |
+
"grad_norm": 0.6380555218645237,
|
| 855 |
+
"learning_rate": 5.476514126527771e-07,
|
| 856 |
+
"loss": 0.36091262102127075,
|
| 857 |
+
"step": 121
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"epoch": 2.595744680851064,
|
| 861 |
+
"grad_norm": 0.8005615116211152,
|
| 862 |
+
"learning_rate": 4.951556604879049e-07,
|
| 863 |
+
"loss": 0.3601326048374176,
|
| 864 |
+
"step": 122
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"epoch": 2.617021276595745,
|
| 868 |
+
"grad_norm": 0.6981261262725978,
|
| 869 |
+
"learning_rate": 4.4517327619569784e-07,
|
| 870 |
+
"loss": 0.35384005308151245,
|
| 871 |
+
"step": 123
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"epoch": 2.6382978723404253,
|
| 875 |
+
"grad_norm": 0.623925533069654,
|
| 876 |
+
"learning_rate": 3.9773214622669974e-07,
|
| 877 |
+
"loss": 0.3473548889160156,
|
| 878 |
+
"step": 124
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"epoch": 2.6595744680851063,
|
| 882 |
+
"grad_norm": 0.6934346027141717,
|
| 883 |
+
"learning_rate": 3.528587392006716e-07,
|
| 884 |
+
"loss": 0.34821566939353943,
|
| 885 |
+
"step": 125
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"epoch": 2.6808510638297873,
|
| 889 |
+
"grad_norm": 0.6888543170717178,
|
| 890 |
+
"learning_rate": 3.105780911390738e-07,
|
| 891 |
+
"loss": 0.3673054277896881,
|
| 892 |
+
"step": 126
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"epoch": 2.702127659574468,
|
| 896 |
+
"grad_norm": 0.6865429848030719,
|
| 897 |
+
"learning_rate": 2.7091379149682683e-07,
|
| 898 |
+
"loss": 0.35692745447158813,
|
| 899 |
+
"step": 127
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"epoch": 2.723404255319149,
|
| 903 |
+
"grad_norm": 0.715920830054391,
|
| 904 |
+
"learning_rate": 2.3388797000115427e-07,
|
| 905 |
+
"loss": 0.363808810710907,
|
| 906 |
+
"step": 128
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"epoch": 2.74468085106383,
|
| 910 |
+
"grad_norm": 0.6560730359599088,
|
| 911 |
+
"learning_rate": 1.9952128430483718e-07,
|
| 912 |
+
"loss": 0.37059515714645386,
|
| 913 |
+
"step": 129
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"epoch": 2.7659574468085104,
|
| 917 |
+
"grad_norm": 0.6849016867683705,
|
| 918 |
+
"learning_rate": 1.6783290846078714e-07,
|
| 919 |
+
"loss": 0.35767674446105957,
|
| 920 |
+
"step": 130
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"epoch": 2.7872340425531914,
|
| 924 |
+
"grad_norm": 0.6715276242863314,
|
| 925 |
+
"learning_rate": 1.388405222243472e-07,
|
| 926 |
+
"loss": 0.35877397656440735,
|
| 927 |
+
"step": 131
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"epoch": 2.8085106382978724,
|
| 931 |
+
"grad_norm": 0.6357373566346545,
|
| 932 |
+
"learning_rate": 1.1256030118930727e-07,
|
| 933 |
+
"loss": 0.34409257769584656,
|
| 934 |
+
"step": 132
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"epoch": 2.829787234042553,
|
| 938 |
+
"grad_norm": 0.6762791749964318,
|
| 939 |
+
"learning_rate": 8.900690776312282e-08,
|
| 940 |
+
"loss": 0.36365312337875366,
|
| 941 |
+
"step": 133
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"epoch": 2.851063829787234,
|
| 945 |
+
"grad_norm": 0.6272464422624923,
|
| 946 |
+
"learning_rate": 6.819348298638839e-08,
|
| 947 |
+
"loss": 0.3754907250404358,
|
| 948 |
+
"step": 134
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"epoch": 2.872340425531915,
|
| 952 |
+
"grad_norm": 0.7158191365356403,
|
| 953 |
+
"learning_rate": 5.013163920110864e-08,
|
| 954 |
+
"loss": 0.3606930375099182,
|
| 955 |
+
"step": 135
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"epoch": 2.8936170212765955,
|
| 959 |
+
"grad_norm": 0.6634617877628816,
|
| 960 |
+
"learning_rate": 3.483145357187967e-08,
|
| 961 |
+
"loss": 0.372114896774292,
|
| 962 |
+
"step": 136
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"epoch": 2.9148936170212765,
|
| 966 |
+
"grad_norm": 0.6496974846060012,
|
| 967 |
+
"learning_rate": 2.230146246358256e-08,
|
| 968 |
+
"loss": 0.36091166734695435,
|
| 969 |
+
"step": 137
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"epoch": 2.9361702127659575,
|
| 973 |
+
"grad_norm": 0.6810298632610858,
|
| 974 |
+
"learning_rate": 1.2548656678721404e-08,
|
| 975 |
+
"loss": 0.3588487505912781,
|
| 976 |
+
"step": 138
|
| 977 |
+
},
|
| 978 |
+
{
|
| 979 |
+
"epoch": 2.9574468085106385,
|
| 980 |
+
"grad_norm": 0.678196079709597,
|
| 981 |
+
"learning_rate": 5.578477557081074e-09,
|
| 982 |
+
"loss": 0.36039313673973083,
|
| 983 |
+
"step": 139
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"epoch": 2.978723404255319,
|
| 987 |
+
"grad_norm": 0.6387381617919402,
|
| 988 |
+
"learning_rate": 1.3948139398628492e-09,
|
| 989 |
+
"loss": 0.3749719262123108,
|
| 990 |
+
"step": 140
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"epoch": 3.0,
|
| 994 |
+
"grad_norm": 0.8548845326407637,
|
| 995 |
+
"learning_rate": 0.0,
|
| 996 |
+
"loss": 0.3679383397102356,
|
| 997 |
+
"step": 141
|
| 998 |
+
}
|
| 999 |
+
],
|
| 1000 |
+
"logging_steps": 1,
|
| 1001 |
+
"max_steps": 141,
|
| 1002 |
+
"num_input_tokens_seen": 0,
|
| 1003 |
+
"num_train_epochs": 3,
|
| 1004 |
+
"save_steps": 500,
|
| 1005 |
+
"stateful_callbacks": {
|
| 1006 |
+
"TrainerControl": {
|
| 1007 |
+
"args": {
|
| 1008 |
+
"should_epoch_stop": false,
|
| 1009 |
+
"should_evaluate": false,
|
| 1010 |
+
"should_log": false,
|
| 1011 |
+
"should_save": true,
|
| 1012 |
+
"should_training_stop": true
|
| 1013 |
+
},
|
| 1014 |
+
"attributes": {}
|
| 1015 |
+
}
|
| 1016 |
+
},
|
| 1017 |
+
"total_flos": 1.0457627836704358e+17,
|
| 1018 |
+
"train_batch_size": 8,
|
| 1019 |
+
"trial_name": null,
|
| 1020 |
+
"trial_params": null
|
| 1021 |
+
}
|
output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/video_preprocessor_config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": null,
|
| 3 |
+
"data_format": "channels_first",
|
| 4 |
+
"default_to_square": true,
|
| 5 |
+
"device": null,
|
| 6 |
+
"do_center_crop": null,
|
| 7 |
+
"do_convert_rgb": true,
|
| 8 |
+
"do_normalize": true,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"do_sample_frames": true,
|
| 12 |
+
"fps": 2,
|
| 13 |
+
"image_mean": [
|
| 14 |
+
0.5,
|
| 15 |
+
0.5,
|
| 16 |
+
0.5
|
| 17 |
+
],
|
| 18 |
+
"image_std": [
|
| 19 |
+
0.5,
|
| 20 |
+
0.5,
|
| 21 |
+
0.5
|
| 22 |
+
],
|
| 23 |
+
"input_data_format": null,
|
| 24 |
+
"max_frames": 768,
|
| 25 |
+
"merge_size": 2,
|
| 26 |
+
"min_frames": 4,
|
| 27 |
+
"num_frames": null,
|
| 28 |
+
"pad_size": null,
|
| 29 |
+
"patch_size": 16,
|
| 30 |
+
"processor_class": "Qwen3VLProcessor",
|
| 31 |
+
"resample": 3,
|
| 32 |
+
"rescale_factor": 0.00392156862745098,
|
| 33 |
+
"return_metadata": false,
|
| 34 |
+
"size": {
|
| 35 |
+
"longest_edge": 25165824,
|
| 36 |
+
"shortest_edge": 4096
|
| 37 |
+
},
|
| 38 |
+
"temporal_patch_size": 2,
|
| 39 |
+
"video_metadata": null,
|
| 40 |
+
"video_processor_type": "Qwen3VLVideoProcessor"
|
| 41 |
+
}
|
output/alpamayo-1.5-10B/regular12_val/20261103-r12val/train/checkpoint-141/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|