BERT-BiLSTM-CRF-NER icon indicating copy to clipboard operation
BERT-BiLSTM-CRF-NER copied to clipboard

add try/finally to ConcurrentBertClient avoid not release BertClient …

Open iamgd67 opened this issue 3 years ago • 0 comments

add try/finally to ConcurrentBertClient avoid not release BertClient on exception in my case, if pass contents contains space will cause BertClient not released and end up with error message

Too many concurrent connections!Try to increase the value of "max_concurrency"

iamgd67 avatar Feb 24 '21 02:02 iamgd67