Using BERT Transformer with SpaCy3 to Train a Relation Extraction Model by@ubiai

Using BERT Transformer with SpaCy3 to Train a Relation Extraction Model

Using spaCy 3, we fine-tuned a BERT model for NER using spaCy3. We will train the relation extraction model using the new Thinc library from spaCy. In this tutorial, we will extract the relationship between the two entities {Experience, Skills} as Experience_in and between {Diploma, Diploma_major} as Degree_in. The goal is to extract the years of experience required in specific skills and the diploma major associated with the required diploma. The model is a classifier that predicts a relation r for a given pair of entities {e1, e2}. For more information about relation extraction, please read this article.
image
Walid Hacker Noon profile picture

Walid

Tags

Join Hacker Noon

Create your free account to unlock your custom reading experience.