from torchmetrics.text import BLEUScore
metric = BLEUScore()
preds = ['the cat is on the mat']
target = [['there is a cat on the mat', 'a cat is on the mat']]
metric.update(preds, target)
fig_, ax_ = metric.plot()
