modelscope / modelscope/ms-swift
命令行参数中采样数量希望支持按比例采样
Open
Nobody has claimed this yet.
enhancement
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 feature request. / 我已经搜索过现有的 issues,确认这是一个新的 Feature Request。
Feature Request Description / Feature Request 描述
当前的命令行参数中数据集只支持 "#采样数" 的方式进行采样,不支持按比例 "#采样比例" 进行采样,希望后续可以新增相关功能。
Pull Request / Pull Request 信息
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
Start at the command-line argument definition for dataset sampling and trace how the existing sample-count option is applied. Determine the expected syntax and rounding behavior for a sampling ratio, then verify that count-based sampling remains unchanged and that representative CLI runs produce the requested proportions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100