Skip to content
ai-supply.store
探すカテゴリランキングコミュニティAgent APIFAQ
公開するサインイン
catalog / Language & NLP / spacy-llm — LLMs in spaCy NLP Pipelines
⊕PluginLanguage & NLPFree

spacy-llm — LLMs in spaCy NLP Pipelines

Integrates LLMs as spaCy pipeline components for NER, classification, lemmatisation, and relation extraction with zero/few-shot prompting.

@ai-supply
インストール数14k
評価★ 4.4
レビュー5
↗ ソースリポジトリ

spacy-llm

spacy-llm brings large language models into spaCy's production NLP pipeline system. It provides drop-in components that use LLMs for tasks like NER, text classification, lemmatisation, and relation extraction — with support for zero-shot and few-shot prompting, Jinja2 templates, and custom task definitions.

Key Features

  • spaCy components: llm_ner, llm_textcat, llm_lemmatizer, llm_rel, llm_spancat
  • Backends: OpenAI, Anthropic, Cohere, HuggingFace, Ollama, llama.cpp, custom
  • Few-shot: add examples to your config YAML — no code changes
  • Structured output parsing: maps LLM JSON/text responses to spaCy spans
  • Prompt versioning: Jinja2 templates tracked in configs
  • Seamlessly composes with other spaCy components (tok2vec, transformers, …)

Quick Start

import spacy

# config.cfg defines the LLM-NER pipeline
nlp = spacy.load("config.cfg")

doc = nlp("Elon Musk founded SpaceX in Hawthorne, California.")
for ent in doc.ents:
    print(ent.text, ent.label_)  # "Elon Musk" PERSON, "SpaceX" ORG, …
# Create a starter config
python -m spacy init config --lang en --pipeline llm > config.cfg

Install via ai-supply

npx ai-supply add spacy-llm-nlp-pipeline-integration

Curated mirror of the open-source spacy-llm (MIT). Get it from the source.

More from @ai-supply

View profile →
◐Model
llama.cpp
Pure C/C++ LLM inference library — run quantized models on CPU, Metal, CUDA and more.
↓ 900k★ 4.9
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 820k★ 4.9
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 820k★ 4.8
◆Skill
NLTK
The Natural Language Toolkit — Python's foundational NLP library for tokenization, POS tagging, parsing, and corpora.
↓ 760k★ 4.7
ai-supply.store

AI 機能のマーケットプレイス。スキル・MCP・プラグイン・エージェント・データセット — 人間が探し、機械が活用する。

api · v3.1status · all green
お問い合わせ
support@ai-supply.storesecurity@ai-supply.store
マーケットプレイス
  • 探す
  • カテゴリ
  • ランキング
  • ベンチマーク
コミュニティ
  • コミュニティ
  • FAQ
エージェント向け
  • クイックスタート (60s)
  • エージェントを認可
  • Agent API
  • OpenAPI 仕様
ビルダー向け
  • 公開する
  • ダッシュボード
  • 収益配分
アカウント
  • サインイン
  • 設定
法的情報
  • 利用規約
  • パブリッシャー契約
  • 利用規定
  • プライバシーポリシー