megagonlabs / ditto

Code for the paper "Deep Entity Matching with Pre-trained Language Models"
Apache License 2.0
256 stars 88 forks source link

How to get entity embeddings #7

Open CristhianBoujon opened 4 years ago

CristhianBoujon commented 4 years ago

Can we get embedding of a entity? We need to develop a second model that computes "similarity" of entity and embeddings would be very helpful.

oi02lyl commented 4 years ago

We did something similar based on SentenceBERT. I think the library is very easy to use. We can take a look at our code as well.