To use this model, you must install the GLiNER Python library:
!pip install gliner
Usage
Once you've downloaded the GLiNER library, you can import the GLiNER class. You can then load this model using
GLiNER.from_pretrained
and predict entities with
predict_entities
.
from gliner import GLiNER
model = GLiNER.from_pretrained("DeepMount00/GLiNER_ITA_BASE")
text = """..."""
labels = ["label1", "label2"]
entities = model.predict_entities(text, labels)
for entity in entities:
print(entity["text"], "=>", entity["label"])
@misc{zaratiana2023gliner,
title={GLiNER: Generalist Model for Named Entity Recognition using Bidirectional Transformer},
author={Urchade Zaratiana and Nadi Tomeh and Pierre Holat and Thierry Charnois},
year={2023},
eprint={2311.08526},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
Runs of DeepMount00 GLiNER_ITA_BASE on huggingface.co
9
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
4
30-day runs
More Information About GLiNER_ITA_BASE huggingface.co Model
GLiNER_ITA_BASE huggingface.co is an AI model on huggingface.co that provides GLiNER_ITA_BASE's model effect (), which can be used instantly with this DeepMount00 GLiNER_ITA_BASE model. huggingface.co supports a free trial of the GLiNER_ITA_BASE model, and also provides paid use of the GLiNER_ITA_BASE. Support call GLiNER_ITA_BASE model through api, including Node.js, Python, http.
GLiNER_ITA_BASE huggingface.co is an online trial and call api platform, which integrates GLiNER_ITA_BASE's modeling effects, including api services, and provides a free online trial of GLiNER_ITA_BASE, you can try GLiNER_ITA_BASE online for free by clicking the link below.
DeepMount00 GLiNER_ITA_BASE online free url in huggingface.co:
GLiNER_ITA_BASE is an open source model from GitHub that offers a free installation service, and any user can find GLiNER_ITA_BASE on GitHub to install. At the same time, huggingface.co provides the effect of GLiNER_ITA_BASE install, users can directly use GLiNER_ITA_BASE installed effect in huggingface.co for debugging and trial. It also supports api for free installation.