Downloads · 30 days
49
41% of all-time downloads
cimo001/gliner_multi-v2.1
gliner_multi-v2.1 is a token classification model from cimo001. Use it when you need labels on individual words, such as names. It is set up for onnx. The card lists the license as mit.
Downloads · 30 days
49
41% of all-time downloads
All-time downloads
120
Public
Repo size
1.5 GB
Likes
1
Public
Click a slice to open those files.
.onnx1.5 GB · 100%
From the Hugging Face model README
FP32 = model.onnx
INT8 = model_quantized.onnx
# onnxruntime-gpu for run it on GPU
pip install onnxruntime sentencepiece numpy protobuf
python3 src/example.py
0.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 | Tokyo
Note:
spm.model loaded via proto with the patch<br>
normalizer_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.