Aml Hassan Esmail
Results
2
comments of
Aml Hassan Esmail
I tried to pass `preds[0]` to the tokenizer instead of just preds: `decoded_preds = tokenizer.batch_decode(preds[0], skip_special_tokens=True)` But I got the following error: `TypeError: argument 'ids': 'float' object cannot be interpreted...
I tried to turn the floats into integers so it became: `decoded_preds = tokenizer.batch_decode(preds[0].astype('int32'), skip_special_tokens=True)` but I got the following error: ``` File "/home/ubuntu/Aml/utils.py", line 82, in compute_metrics decoded_preds =...