None values not supported error when using seqio mixture #772
Replies: 3 comments 4 replies
-
The following is an update on the same: when i change my preprocessors from this:
to this:
i had the following doubts on this:
(asking because i havent seen any t5 or mt5 using input and target as "text" and the output_features are really confusing on which one to use) |
Beta Was this translation helpful? Give feedback.
-
We only use "text" in the context of renaming key "text" to "inputs" or "targets". We are not assigning the value "text" to any feature, as you're doing here. I think you are misunderstanding what |
Beta Was this translation helpful? Give feedback.
-
@adarob , thanks for helping me out. the thing is everything works fine on a single task. (single language) the following is my script for a single language:
the issue is when i create multiple tasks for pretraining with the same format, and use it with the mixture and provide the mixture name in the pretrain.gin file i get the following error. eg:
Its only when i use a mixture i get the following error, rest assured everything works fine on single language task. ps: i feel like this could be a bug maybe. please let me know what you think. |
Beta Was this translation helpful? Give feedback.
-
i get the error None values not supported when make a seqio_mixtures on multiple span_curruption tasks and using that mixture as a task to pretrain mt5.
However, the same task.py works fine on each individual task, while pretraining T5 or pretraining mt5 only on single language.
the error arises only when using seqio mixture.
I use the default mt5 tokenizer
gs://t5-data/vocabs/mc4.250000.100extra/sentencepiece.model
witrhextra_ids=0
and i stil get the same error.The following is the stack track of the same:
This is how my task.py file looks
i further use the ciil_mix_3 mixture in my .gin file
this is how my .gin file looks
I even further tried to work the same with byT5 and the same error occurs:
thr following is the error for byT5
Beta Was this translation helpful? Give feedback.
All reactions