dsindex / etagger

reference tensorflow code for named entity tagging
106 stars 22 forks source link

Performance issues in etagger/blob/master/input.py(P2) #5

Closed DLPerf closed 3 years ago

DLPerf commented 3 years ago

Hello,I found a performance issue in the definition of __dataset_input_fn , dsindex/etagger/blob/master/input.py, dataset = dataset.map(parser) was called without num_parallel_calls. I think it will increase the efficiency of your program if you add this.

Here is the documemtation of tensorflow to support this thing.

Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.

dsindex commented 3 years ago

thank you so much! you can freely create PR~