Errors in Train with Datasets
Tensorflow code section on Huggingface.co
#4084
Labels
bug
Something isn't working
Describe the bug
Hi
Error 1
Running the Tensforlow code on Huggingface gives a TypeError: init() got an unexpected keyword argument 'return_tensors'
Error 2
DataCollatorWithPadding
isn't importedSteps to reproduce the bug
This is the same code on Huggingface.co
Actual results
TypeError: init() got an unexpected keyword argument 'return_tensors'
Environment info
datasets
version: 2.0.0The text was updated successfully, but these errors were encountered: