Benchmark: connection_class=<class '__main__.StringJoiningConnection'>, value_size=10... Traceback (most recent call last):


 "command_packer_benchmark.py", line 104, in <module>

CommandPackerBenchmark().run_benchmark()


 "/home/deslum/src/cgo/redis/redis-py/benchmarks/base.py", line 44, in run_benchmark

t = timeit.timeit(stmt=run, setup=setup, number=1000)


 "/usr/lib/python3.5/timeit.py", line 213, in timeit

return Timer(stmt, setup, timer, globals).timeit(number)


 "/usr/lib/python3.5/timeit.py", line 178, in timeit

timing = self.inner(it, self.timer)


 "<timeit-src>", line 6, in inner


 "command_packer_benchmark.py", line 100, in run

r.set('benchmark', x)


 "/usr/local/lib/python3.5/dist-packages/redis/client.py", line 1171, in set

return self.execute_command('SET', *pieces)


 "/usr/local/lib/python3.5/dist-packages/redis/client.py", line 667, in execute_command

connection.send_command(*args)


 "/usr/local/lib/python3.5/dist-packages/redis/connection.py", line 610, in send_command

self.send_packed_command(self.pack_command(*args))


 "command_packer_benchmark.py", line 33, in pack_command

for k in imap(self.encode, args)])
AttributeError: 'StringJoiningConnection' object has no attribute 'encode'

Traceback (most recent call last):


 "examples/seq2seq/run_seq2seq.py", line 668, in <module>

main()


 "examples/seq2seq/run_seq2seq.py", line 469, in main

train_dataset = train_dataset.map(


 "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/arrow_dataset.py", line 1120, in map

update_data = does_function_return_dict(test_inputs, test_indices)


 "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/arrow_dataset.py", line 1091, in does_function_return_dict

function(*fn_args, indices, **fn_kwargs) if with_indices else function(*fn_args, **fn_kwargs)


 "examples/seq2seq/run_seq2seq.py", line 450, in preprocess_function

with tokenizer.as_target_tokenizer():


 "/home/stas/anaconda3/envs/main-38/lib/python3.8/contextlib.py", line 113, in __enter__

return next(self.gen)


 "/mnt/nvme1/code/huggingface/transformers-master/src/transformers/models/mbart/tokenization_mbart_fast.py", line 193, in as_target_tokenizer

self.set_tgt_lang_special_tokens(self.tgt_lang)
AttributeError: 'MBartTokenizerFast' object has no attribute 'tgt_lang'
