Unverified Commit d9ffb87e authored by Julien Plu's avatar Julien Plu Committed by GitHub
Browse files

Fix tf text class (#7724)

* Fix test

* fix generic text classification

* fix test

* Fix tests
parent d6175a42
......@@ -60,7 +60,7 @@ def get_tfds(
for k in files.keys():
transformed_ds[k] = ds[k].map(
lambda example: tokenizer.batch_encode_plus(
(example[features_name[0]], features_name[1]),
(example[features_name[0]], example[features_name[1]]),
truncation=True,
max_length=max_seq_length,
padding="max_length",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment