BERT Keyphrase Span Extraction

You are given a sequence of n tokens and a score for assigning each token one of three BERT-style keyphrase labels: B (beginning of a keyphrase), I (inside a keyphrase), and O (outside any key...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: