Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong output on chapter4/fine-tuning #95

Open
DavidFM43 opened this issue Jul 14, 2023 · 1 comment
Open

Wrong output on chapter4/fine-tuning #95

DavidFM43 opened this issue Jul 14, 2023 · 1 comment

Comments

@DavidFM43
Copy link

Hi馃憢,
I think the output should be:

DatasetDict({
    train: Dataset({
        features: ['genre', 'input_values', 'attention_mask'],
        num_rows: 899
    })
    test: Dataset({
        features: ['genre', 'input_values', 'attention_mask'],
        num_rows: 100
    })
})

Instead of

gtzan_encoded
```
**Output:**
```out
DatasetDict({
train: Dataset({
features: ['genre', 'input_values'],
num_rows: 899
})
test: Dataset({
features: ['genre', 'input_values'],
num_rows: 100
})
})
```

Since return_attention_mask=True in the feature_extractor. Is this the case?

@MHRDYN7
Copy link
Contributor

MHRDYN7 commented Jul 15, 2023

@DavidFM43 you're right. Perhaps you could directly open a PR. In case you do not open a PR for this particular issue, I'll be opening one for this file and will make sure to include this change along with the other code changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants