Skip to main content

Table 2 An example of the NER input data format in the BERTologyNERClassifier

From: Transformers-sklearn: a toolkit for medical language understanding with transformer-based models

Input data field

Example

Text

[…[“Naloxone”, “reverses”, “the”, “antihypertensive”, “effect”, “of”, “clonidine”, “.”], …]

Label

[…[“B-Chem”, “O”, “O”, “O”, “O”, “O”, “B-Chem”,”O”], …]