macanv / BERT-BiLSTM-CRF-NER

Tensorflow solution of NER task Using BiLSTM-CRF model with Google BERT Fine-tuning And private Server services
https://github.com/macanv/BERT-BiLSMT-CRF-NER
4.68k stars 1.25k forks source link

大佬你好,请问一下,你新写的server 不支持并行计算把 #304

Closed learnxy closed 4 years ago

learnxy commented 4 years ago

我跑了一下代码,单路运行0.03~0.06s,两路,三路的话成倍增加,这种并行计算有什么好的方法呢

macanv commented 4 years ago

uwsgi 开多进程即可。