gmichalo / UmlsBERT

MIT License
94 stars 16 forks source link

error with tui_ids #7

Open jayachaturvedi opened 3 years ago

jayachaturvedi commented 3 years ago

Hello, I have been trying to run the run_language_modeling.py script (even though it is deprecated, I found a workaround through some suggestions on the transformers git page). I get the following error:

Traceback (most recent call last): File "./language-modeling/run_language_modeling.py", line 361, in main() File "./language-modeling/run_language_modeling.py", line 254, in main tui_ids=tui_ids) if training_args.do_train else None File "./language-modeling/run_language_modeling.py", line 142, in get_dataset tui_ids=tui_ids) TypeError: init() got an unexpected keyword argument 'tui_ids'

I am at a loss at how to fix this or what might be causing it? Has anyone else faced this and been able to fix it?

Thank you.

Jaya