Large Language Models (LLMs) feature powerful natural language understanding capabilities. With only a few (and sometimes no) examples, an LLM can be prompted to perform custom NLP tasks such as text categorization, named entity recognition, coreference resolution, information extraction and more. This package integrates Large Language Models (LLMs) into spaCy, featuring a modular system for fast prototyping and prompting, and turning unstructured responses into robust outputs for various NLP tasks, no training data required.
Features
- Serializable llm component to integrate prompts into your spaCy pipeline
- Modular functions to define the task (prompting and parsing) and model
- Supports open-source LLMs hosted on Hugging Face
- Easy implementation of your own functions via spaCy's registry for custom prompting, parsing and model integrations
- Integration with LangChain
- Interfaces with the APIs of OpenAI, Cohere, and Anthropic
Categories
Large Language Models (LLM)License
MIT LicenseFollow spacy-llm
You Might Also Like
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of spacy-llm!