bert_score
bert_score copied to clipboard
Bertscore not working for Hindi language
trafficstars
using torch==1.5.1 using transformers==3.0.1
using bert-score==0.3.4
P, R, F1 = score(cands, refs, lang='hi', model_type='bert-base-multilingual-cased')
Above line of code is giving the below error. I have tried transformer version 4.5.1 and 4.10
AttributeError: 'BertTokenizerFast' object has no attribute 'max_len'