gliner-decoder-small-v1.0
17
4
1 language
license:apache-2.0
by
knowledgator
Language Model
OTHER
New
17 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
GLiNER is a Named Entity Recognition (NER) model capable of identifying any entity type in a zero-shot manner.
Code Examples
Installationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitInstallationbash
# until the new pip release, install from main to use the new architecture
pip install git+https://github.com/urchade/GLiNER.gitUsagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Usagepython
from gliner import GLiNER
model = GLiNER.from_pretrained("knowledgator/gliner-decoder-small-v1.0")
text = "Hugging Face is a company that advances and democratizes artificial intelligence through open source and science."
labels = ["label"]
model.predict_entities(text, labels, threshold=0.3, num_gen_sequences=1)Performance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonPerformance Tipsbash
pip install cythonDeploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.