You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.
I also tried running batch = tokenizer.prepare_seq2seq_batch(src_text, truncation=True, padding='longest', return_tensors='pt').to(torch_device)
But I am getting the error
Hi, I am new into this and was trying to run the example given at LINK
However, on running
batch = tokenizer(src_text, truncation=True, padding='longest', return_tensors="pt").to(device)
I am getting the error
I also tried running
batch = tokenizer.prepare_seq2seq_batch(src_text, truncation=True, padding='longest', return_tensors='pt').to(torch_device)
But I am getting the error
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: