TypeError: NistMt._compute() got an unexpected keyword argument 'tokenize_kwargs'

#1
by raptorkwok - opened

The tokenize_kwargs cannot be recognized. Returned this error:

TypeError: NistMt._compute() got an unexpected keyword argument 'tokenize_kwargs'

Codes are as follows:

nist = metric_nist.compute(predictions=[hypothesis1], references=[reference1], tokenize_kwargs=splitKeyword)

where splitKeyword is a simple split word function.

Sign up or log in to comment