
31 Dec
2021
31 Dec
'21
7:42 p.m.
looks like i pasted together data batching code that doesn't line up basically the code needs to be mutated such that each batch is a dict, rather than the whole data. the example at https://github.com/huggingface/transformers/blob/master/examples/flax/langua... uses transformers.BatchEncoding for this.