Traceback (most recent call last):


 "run_mlm.py", line 475, in <module>

main()


 "run_mlm.py", line 450, in main

trainer.log_metrics("train", metrics)
AttributeError: 'Trainer' object has no attribute 'log_metrics'

Traceback (most recent call last):


 "/home/elibol/anaconda3/envs/ray/lib/python3.6/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/home/elibol/anaconda3/envs/ray/lib/python3.6/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/home/elibol/anaconda3/envs/ray/lib/python3.6/site-packages/cython.py", line 16, in <module>

from Cython.Compiler.Main import main


 "/home/elibol/anaconda3/envs/ray/lib/python3.6/site-packages/Cython/Compiler/Main.py", line 8, in <module>

import re


 "/home/elibol/anaconda3/envs/ray/lib/python3.6/re.py", line 142, in <module>

class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
