microsoft / microsoft/dp-transformers

Typo in the code

Open
#19 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.