modelscope / modelscope/ms-swift
when megatron pt ,why need template?
Open
Nobody has claimed this yet.
bug
stale
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 1.7k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 136
Description
Checklist / 检查清单
- I have searched existing issues, and this is a new bug report. / 我已经搜索过现有的 issues,确认这是一个新的 bug report。
Bug Description / Bug 描述
swfit 3..11 and 4.01, 预训练使用 template ,不能使用 "--truncation_strategy split".但不使用 --template ,预训练报 template_type 错误.
How to Reproduce / 如何复现
swfit 3..11 and 4.01,use docker image,qwen3-next-80b-a3b-thinking
Additional Information / 补充信息
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Reproduce the reported training cases with the qwen3-next-80b-a3b-thinking Docker image, comparing use of --template with --truncation_strategy split and the template_type error without --template. Done means the conflicting option behavior is explained and the affected scenario has a verified fix or clear reproduction test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100