/keybert-service

service to extract keywords from text using keybert

Primary LanguagePythonMIT LicenseMIT

keybert-service

service to extract keywords from text using keybert

Downlload sentence transformer model and load from disk

  • get zip file (e.g. distilbert-base-nli-mean-tokens.zip)
  • unzip to directory unzip distilbert-base-nli-mean-tokens.zip -d distilbert-base-nli-mean-tokens
from sentence_transformers import SentenceTransformer
st = SentenceTransformer('/path/to/distilbert-base-nli-mean-tokens')