We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28187fc commit 44c84f2Copy full SHA for 44c84f2
1 file changed
renard/pipeline/ner/ner.py
@@ -155,7 +155,7 @@ def __init__(
155
:param tokenizer: a custom tokenizer
156
:param context_retriever: if specified, use
157
``context_retriever`` to retrieve relevant global context
158
- at run time, generally trading runtme for NER performance.
+ at run time, generally trading runtime for NER performance.
159
"""
160
if isinstance(model, str):
161
self.huggingface_model_id = model
@@ -286,7 +286,6 @@ def batch_labels(
286
inference_start = 0
287
288
for wplabel_j, wp_label in enumerate(wp_labels):
289
-
290
token_i = batchs.token_to_word(batch_i, wplabel_j)
291
if token_i is None:
292
continue
0 commit comments