Using nproc multithreading for mapping in tokenizer
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39.5k
- Forks
- 4.8k
- PR merge metrics
- No merged PRs in 30d
Description
Currently the speed is extremly slow, is there a way to provide multi threading using all nproc num for mapping Just like datasets ?
Contributor guide
No contributing guide indexed for this repository
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 mentions tokenizer mapping and compares it with datasets, but names no file, test, or entry point. Start by locating the tokenizer mapping path and checking how the current mapping is invoked; done means mapping can use all available nproc workers and the slow execution is measurably improved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100