microsoft / microsoft/dp-transformers
Typo in the code
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 149
- Forks
- 33
- Avg merge
- 22h 6m
- Merged PRs (30d)
- 1
Description
I guess the below line of the code should change to remove_columns=dataset['validation'].column_names in eval_dataset
https://github.com/microsoft/dp-transformers/blob/1ca0b622c163d5647cf19ee92b75ba09f5e46a63/examples/language-summarization/fine-tune-bart-dp.py#L135
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
Open examples/language-summarization/fine-tune-bart-dp.py at line 135 and inspect how eval_dataset is constructed. Verify that the validation dataset's column names are used for remove_columns, then confirm the script remains consistent with the surrounding dataset preprocessing. Done means the referenced line uses the intended validation columns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- huggingface, python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100