Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
PublishSign in
catalog / Marketing / KeyBERT — BERT-Powered Keyword Extraction
◆SkillMarketingFree

KeyBERT — BERT-Powered Keyword Extraction

Minimal keyword and keyphrase extraction using BERT embeddings — finds the most representative terms in any content for SEO and content strategy.

@ai-supply
Installs198k
Rating★ 4.9
Reviews66
Install (free) to download the source.↗ Source repository

KeyBERT — BERT-Powered Keyword Extraction

KeyBERT is a minimal, easy-to-use keyword extraction library that leverages BERT embeddings to find the keywords and keyphrases most similar to the overall document embedding. It is ideal for SEO keyword discovery, content gap analysis, tag generation, and topic modeling from marketing copy, blog posts, and product descriptions.

Key Features

  • Single-function API: model.extract_keywords(doc)
  • MMR (Maximal Marginal Relevance) for diverse, non-redundant keyword sets
  • Max Sum Distance for global keyword diversity
  • Candidate keyphrases via KeyphraseVectorizers or CountVectorizer
  • Multilingual support via sentence-transformers multilingual models
  • Compatible with any HuggingFace sentence-transformer checkpoint

Quick Start

pip install keybert
from keybert import KeyBERT

doc = """Supervised machine learning is used to classify marketing emails
         by topic, improving open rates and conversion funnels."""
kw_model = KeyBERT()
keywords = kw_model.extract_keywords(doc, keyphrase_ngram_range=(1, 2),
                                      stop_words='english', top_n=5)
print(keywords)
# [('machine learning', 0.68), ('marketing emails', 0.61), ...]
npx ai-supply add keybert-keyword-extraction

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

More from @ai-supply

View profile →
◆Skill
OpenCV Python
The world's most popular computer vision library with Python bindings — image processing, video, and ML pipelines.
↓ 500k★ 4.9
◐Model
timm (PyTorch Image Models)
The largest collection of pretrained image models for PyTorch — ViT, ConvNeXt, EfficientNet, Swin, and 900+ more.
↓ 490k★ 4.9
⌬Workflow
Apache Airflow
Apache-2.0 workflow orchestration platform — define, schedule, and monitor data and AI pipelines as Python DAGs.
↓ 395k★ 4.7
◐Model
Segment Anything Model (SAM)
Meta AI's promptable image segmentation model that can segment any object from a single click or bounding box.
↓ 320k★ 4.9
ai-supply.store

The marketplace for AI capabilities. Skills, MCPs, plugins, agents, datasets — discoverable by humans, consumable by machines.

api · v3.1status · all green
Marketplace
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
  • Revenue share
Account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy