What description should I add for training Entity Linker? #10686
-
Hello!I have been working on building an entity linker for linking companies. I have list of unique company IDs along with their company name. I've been following the ner-emerson tutorial.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi! The entity linker currently does expect descriptions that are semantically meaningful. The training algorithm will learn the similarity between the descriptions and the sentences in which entities appear. It was originally designed with something like Wikidata in mind, where you'd have short but meaningful descriptions. I guess you could try training this with company names as descriptions - but it might not work as well. With respect to the vector length, you'll need to provide the correct dimension of your vectors. It sounds like your vectors are of length 96, so you'll have to give that as input. |
Beta Was this translation helpful? Give feedback.
Hi!
The entity linker currently does expect descriptions that are semantically meaningful. The training algorithm will learn the similarity between the descriptions and the sentences in which entities appear. It was originally designed with something like Wikidata in mind, where you'd have short but meaningful descriptions. I guess you could try training this with company names as descriptions - but it might not work as well.
With respect to the vector length, you'll need to provide the correct dimension of your vectors. It sounds like your vectors are of length 96, so you'll have to give that as input.