Views
No views yet
# onnxruntime-gpu for run it on GPU
pip install onnxruntime sentencepiece numpy protobufpython3 src/example.py0.970778 | person | Linus Torvalds
0.603953 | organization | Linux
0.978727 | place | Helsinki
0.859634 | organization | Linux Foundation
0.944801 | person | 田中太郎
0.674417 | organization | 東京大学
0.953844 | place | Tokyospm.model loaded via proto with the patchnormalizer_spec.add_dummy_prefix = False (required for the word-level alignment).[cls] [ent] type... [ent] type... [sep] word... [eos], with [ent] = 250103, [sep] = 250104.words_mask marks the first subword of each word with the word number (1-based), 0 elsewhere.\d|\D+), CJK characters are split one word each.