← 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
Velocity · 7d
+1.2
★ / day
Trend
steady
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.

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