IBM/zshot
A Python library for zero and few-shot named entity recognition and relationship extraction, built on PyTorch and spaCy.

Zshot provides a framework for performing named entity recognition and relationship extraction using zero-shot and few-shot learning techniques. It leverages transformer-based language models to identify entities and extract relationships without requiring large annotated datasets. The library integrates with spaCy for pipeline processing and visualization, supporting tasks like mentions extraction, wikification, and cross-domain NER generalization.
Frequently asked
- What is IBM/zshot?
- A Python library for zero and few-shot named entity recognition and relationship extraction, built on PyTorch and spaCy.
- Is zshot open source?
- Yes — IBM/zshot is open source, released under the MIT license.
- What language is zshot written in?
- IBM/zshot is primarily written in Python.
- How popular is zshot?
- IBM/zshot has 401 stars on GitHub.
- Where can I find zshot?
- IBM/zshot is on GitHub at https://github.com/IBM/zshot.