Traceback (most recent call last):


 "/home/morteza/seq2seq/seq2seq/seq2seq/test/pipeline_test.py", line 76, in test_train_infer

_clear_flags()


 "/home/morteza/seq2seq/seq2seq/seq2seq/test/pipeline_test.py", line 44, in _clear_flags

tf.app.flags.FLAGS = tf.app.flags._FlagValues()
AttributeError: module 'tensorflow.python.platform.flags' has no attribute '_FlagValues'
Traceback (most recent call last):


 "examples/question-answering/run_nq.py", line 809, in <module>

main()


 "examples/question-answering/run_nq.py", line 752, in main

global_step, tr_loss = train(args, train_dataset, model, tokenizer)


 "examples/question-answering/run_nq.py", line 248, in train

tokenizer.save_pretrained(output_dir)


 "/home/danishp/git/explain-qa/src/third_party/transformers/src/transformers/tokenization_utils_base.py", line 1368, in save_pretrained

write_dict[key] = value.__getstate__()
AttributeError: 'AddedToken' object has no attribute '__getstate__'
