Lightning-Universe/lightning-flash

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

BrightXiaoHan opened this issue ยท 0 comments

๐Ÿ› 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"