"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "6fb036711b998f60151fab2fcc8a061b17a76147"
Unverified Commit d5c037c3 authored by Thomas Wolf's avatar Thomas Wolf Committed by GitHub
Browse files

Merge pull request #380 from yongbowin/patch-3

typo in annotation
parents 59e2bdd0 d1e4fa98
...@@ -657,8 +657,8 @@ def get_final_text(pred_text, orig_text, do_lower_case, verbose_logging=False): ...@@ -657,8 +657,8 @@ def get_final_text(pred_text, orig_text, do_lower_case, verbose_logging=False):
# #
# What we really want to return is "Steve Smith". # What we really want to return is "Steve Smith".
# #
# Therefore, we have to apply a semi-complicated alignment heruistic between # Therefore, we have to apply a semi-complicated alignment heuristic between
# `pred_text` and `orig_text` to get a character-to-charcter alignment. This # `pred_text` and `orig_text` to get a character-to-character alignment. This
# can fail in certain cases in which case we just return `orig_text`. # can fail in certain cases in which case we just return `orig_text`.
def _strip_spaces(text): def _strip_spaces(text):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment