#76 · Primary category: NLP Tools & Text Processing

spacy-llm

anthropic claude cohere dolly falcon gpt-3 gpt-4 large-language-models llama llm machine-learning named-entity-recognition natural-language-processing nlp openai prompt-engineering spacy text-classification

🦙 Integrating LLMs into structured NLP pipelines

Project last updated:03/27/26

GitHub Stars

1.4K

Forks

110

Contributors

18

License

MIT

Why we included this project

Anyone who builds NLP pipelines in spaCy will find this useful when they want LLM output to flow through their existing pipeline rather than sit in a chat window. You get named entity recognition, text classification, lemmatization, and entity linking without curating training data: prompts act as the task definition, and the usual serialization and pipeline guarantees stay intact. The modular model interface means the same task can run on OpenAI, Cohere, Anthropic, Google, or open models from Hugging Face, and even LangChain models work inside the pipeline. That makes it easy to prototype and later switch vendors or move to a self-hosted model without rewriting your NLP code. Long prompts that exceed the context window are handled with map-reduce, which is a nice touch for real workloads.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category