Lightning-Universe / lightning-flash

Your PyTorch AI Factory - Flash enables you to easily configure and run complex AI recipes for over 15 tasks across 7 data domains

Home Page:https://lightning-flash.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

BrightXiaoHan opened this issue Β· 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"