Established in 2019, we are bunch of engineers and scientists at Asian Institute of Technology, Thailand, specialize in the field of natural language processing, computer vision, and human-computer interaction. We conduct research on challenging AI problems.
I am making a usable BERT transformer in pure C. This video is extremely helpful as its providing me the clear clarity of the silar kinds of steps that I need to take. Thank you!
hey why i got this error like, trying to my model "ValueError: [E103] Trying to set conflicting doc.ents: '(2528, 2539, 'College Name')' and '(2528, 2532, 'College Name')'. A token can only be part of one entity, so make sure the entities you're setting don't overlap. To work with overlapping entities, consider using doc.spans instead."
Hi! It seems like there is some overlap. Since 2528-2539 overlaps with 2528-2532, it won't work. You may use doc.span just like spacy has suggested: span1 = Span(doc, 2528, 2539, label="College Name") span2 = Span(doc, 2528, 2532, label="Something here") doc.spans = [span1, span2] for span in doc.spans: print(span.text, span.start, span.end, span.label_)