modelscope / modelscope/ms-swift
指标计算除了token_acc,还可以添加自定义的指标i吗
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 1.7k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 136
Description
{'loss': 0.27710536, 'grad_norm': 2.0904994, 'learning_rate': 6.16e-06, 'token_acc': 0.89303676, 'epoch': 0.59, 'global_step/max_steps': '5295/9017', 'percentage': '58.72%', 'elapsed_time': '17h 16m 32s', 'remaining_time': '12h 8m 36s', 'memory(GiB)': 45.9, 'train_speed(iter/s)': 0.085139}
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
The issue only shows a training log containing token_acc and does not name a file, test, or entry point. Start by locating where token_acc is calculated and determine how custom metrics should be configured and evaluated. Done means a user can register a custom metric and see its result alongside token_acc.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100