Generate keywords from text
Detect emotions in text sentences
Predict song genres from lyrics
Aligns the tokens of two sentences
Calculate love compatibility using names
Track, rank and evaluate open LLMs and chatbots
Rerank documents based on a query
Playground for NuExtract-v1.5
Generative Tasks Evaluation of Arabic LLMs
Test your attribute inference skills with comments
Analyze content to detect triggers
Extract relationships and entities from text
Submit model predictions and view leaderboard results
KeyBERT is a powerful text analysis tool designed to generate keywords from text using advanced Natural Language Processing (NLP) techniques. It leverages BERT embeddings to identify the most relevant words or phrases in a given text, enabling users to extract meaningful insights efficiently. KeyBERT is particularly useful for tasks like keyword extraction, topic modeling, and text summarization.
pip install keybert
.from keybert import KeyBERT
.model = KeyBERT('all-MiniLM-L6-v2')
.extract_keywords
method on your text: keywords = model.extract_keywords(text)
.top_n
, min_length
, and max_length
to refine results.What is the primary purpose of KeyBERT?
KeyBERT is primarily designed to extract keywords from text using BERT embeddings, making it ideal for identifying key concepts in documents or sentences.
Can I customize the keyword extraction process?
Yes, KeyBERT allows you to customize keyword extraction by specifying parameters such as top_n
, min_length
, and max_length
to tailor results to your needs.
Does KeyBERT support multiple languages?
Yes, KeyBERT supports multiple languages, making it a versatile tool for global applications. However, the performance may vary based on the model used.