README / README.md
asahi417's picture
Update README.md
3bc0ab0
|
raw
history blame
1.15 kB
metadata
title: README
emoji: 🔥
colorFrom: red
colorTo: indigo
sdk: static
pinned: false

RelBERT is a high-quality semantic representative embedding of word pairs powered by pre-trained language model. All you need is to install relbert library by

   
      pip install relbert
   

and explore in python as below.

   
      from relbert import RelBERT
      model = RelBERT('asahi417/relbert-roberta-large')
      vector = model.get_embedding(['Tokyo', 'Japan'])  # shape of (1024, )
   

See more information bellow.