Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

The type of n_gram is mislabeled as bool, which should be int type. #1485

Closed
BrightXiaoHan opened this issue Nov 16, 2022 · 0 comments · Fixed by #1486
Closed

The type of n_gram is mislabeled as bool, which should be int type. #1485

BrightXiaoHan opened this issue Nov 16, 2022 · 0 comments · Fixed by #1486
Labels
bug / fix Something isn't working help wanted Extra attention is needed

Comments

@BrightXiaoHan
Copy link
Contributor

🐛 Bug

In Translation Task:
The type of n_gram is mislabeled as bool, which should be int type.

To Reproduce

flash translation from_hf_datasets --help

The error raised:

translation: error: Configuration check failed :: Parser key "model.n_gram": Expected a <class 'bool'> but got "4"
@BrightXiaoHan BrightXiaoHan added bug / fix Something isn't working help wanted Extra attention is needed labels Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug / fix Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant