[Flax] Correct all return tensors to numpy (#13307)
* fix_torch_device_generate_test * remove @ * finish find and replace
This commit is contained in:
committed by
GitHub
parent
8aa67fc192
commit
2bef3433e5
@@ -110,7 +110,7 @@ def main():
|
||||
inputs = tokenizer(
|
||||
example["question"],
|
||||
example["context"],
|
||||
return_tensors="jax",
|
||||
return_tensors="np",
|
||||
max_length=4096,
|
||||
padding="max_length",
|
||||
truncation=True,
|
||||
|
||||
Reference in New Issue
Block a user