← all repositories

explosion/spacy-llm

A spaCy extension that integrates Large Language Models into structured NLP pipelines for zero-shot text classification and NER.

spacy-llm
Not currently ranked — collecting fresh signals.
star history

spacy-llm integrates large language models into the spaCy NLP framework, enabling zero-shot NLP tasks without training data. It provides modular task definitions for prompting and parsing, serializable LLM components for pipelines, and supports both commercial APIs (OpenAI, Anthropic, Cohere, Google PaLM, Azure) and open-source models (Falcon, Dolly, Llama 2, OpenLLaMA). The package turns unstructured LLM responses into robust structured outputs for named-entity recognition, text classification, and other NLP tasks.

Frequently asked

What is explosion/spacy-llm?
A spaCy extension that integrates Large Language Models into structured NLP pipelines for zero-shot text classification and NER.
Is spacy-llm open source?
Yes — explosion/spacy-llm is open source, released under the MIT license.
What language is spacy-llm written in?
explosion/spacy-llm is primarily written in Python.
How popular is spacy-llm?
explosion/spacy-llm has 1.4k stars on GitHub.
Where can I find spacy-llm?
explosion/spacy-llm is on GitHub at https://github.com/explosion/spacy-llm.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.