tokens
sequencelengths
1
119
ner_tags
sequencelengths
1
119
[ "Follow", "your", "doctor", "instructions", "about", "any", "restrictions", "on", "food", "beverages", "or", "activity" ]
[ 1610, 1610, 343, 1610, 1610, 1610, 1610, 1610, 308, 60, 1610, 11 ]
[ "seek", "emergency", "medical", "attention", "or", "call", "the", "poison", "help", "line", "at" ]
[ 253, 1082, 1082, 1082, 1610, 1610, 1610, 253, 1082, 1082, 1610 ]
[ "FDA", "at", "1-800-FDA-1088" ]
[ 309, 1610, 310 ]
[ "Do", "not", "take", "two", "doses", "at", "one", "time" ]
[ 1610, 1610, 1610, 1610, 238, 1610, 1610, 1610 ]
[ "seek", "emergency", "medical", "attention", "or", "call", "the", "poison", "help", "line", "at", "1-800-222-1222" ]
[ 253, 1082, 1082, 1082, 1610, 1610, 1610, 253, 1082, 1082, 1610, 254 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "FDA", "at", "1-800-FDA-1088" ]
[ 309, 1610, 310 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "Take", "the", "medicine", "as", "soon", "as", "you", "can", "but", "skip", "the", "missed", "dose", "if", "it", "is", "almost", "time", "for", "your", "next", "dose" ]
[ 1610, 1610, 508, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 524, 1302, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 238 ]
[ "FDA", "at", "1-800-FDA-1088" ]
[ 309, 1610, 310 ]
[ "seek", "emergency", "medical", "attention", "or", "call", "the", "poison", "help", "line", "at", "1-800-222-1222" ]
[ 253, 1082, 1082, 1082, 1610, 1610, 1610, 253, 1082, 1082, 1610, 254 ]
[ "Follow", "all", "directions", "on", "your", "medicine", "label", "and", "package" ]
[ 1610, 1610, 1610, 1610, 1610, 508, 1287, 1610, 1610 ]
[ "You", "may", "report", "side", "effects", "to" ]
[ 1610, 1610, 1610, 712, 1456, 1610 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "Call", "your", "doctor", "for", "medical", "advice", "about", "side", "effects" ]
[ 1610, 1610, 343, 1610, 1610, 1610, 1610, 712, 1456 ]
[ "Tell", "each", "of", "your", "healthcare", "providers", "about", "all", "your", "medical", "conditions", "allergies", "and", "all", "medicines", "you", "use" ]
[ 1610, 1610, 1610, 1610, 343, 1152, 1610, 1610, 1610, 497, 1278, 25, 1610, 1610, 508, 1610, 1610 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "seek", "emergency", "medical", "attention", "or", "call", "the", "poison", "help", "line", "at", "1-800-222-1222" ]
[ 253, 1082, 1082, 1082, 1610, 1610, 1610, 253, 1082, 1082, 1610, 254 ]
[ "You", "may", "report", "side", "effects", "to" ]
[ 1610, 1610, 1610, 712, 1456, 1610 ]
[ "seek", "emergency", "medical", "attention", "or", "call", "the", "poison", "help", "line", "at" ]
[ 253, 1082, 1082, 1082, 1610, 1610, 1610, 253, 1082, 1082, 1610 ]
[ "FDA", "at", "1-800-FDA-1088" ]
[ 309, 1610, 310 ]
[ "FDA", "at", "1-800-FDA-1088" ]
[ 309, 1610, 310 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "You", "may", "report", "side", "effects", "to" ]
[ 1610, 1610, 1610, 712, 1456, 1610 ]
[ "Tell", "each", "of", "your", "healthcare", "providers", "about", "all", "your", "medical", "conditions", "allergies", "and", "all", "medicines", "you", "use" ]
[ 1610, 1610, 1610, 1610, 343, 1152, 1610, 1610, 1610, 497, 1278, 25, 1610, 1610, 508, 1610, 1610 ]
[ "Levothyroxine", "may", "cause", "serious", "side", "effects" ]
[ 240, 1610, 1610, 681, 1426, 1426 ]
[ "You", "may", "report", "side", "effects", "to" ]
[ 1610, 1610, 1610, 712, 1456, 1610 ]
[ "Call", "your", "doctor", "for", "medical", "advice", "about", "side", "effects" ]
[ 1610, 1610, 343, 1610, 1610, 1610, 1610, 712, 1456 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "FDA", "at", "1-800-FDA-1088" ]
[ 309, 1610, 310 ]
[ "Call", "your", "doctor", "for", "medical", "advice", "about", "side", "effects" ]
[ 1610, 1610, 343, 1610, 1610, 1610, 1610, 712, 1456 ]
[ "Take", "the", "medicine", "as", "soon", "as", "you", "can", "but", "skip", "the", "missed", "dose", "if", "it", "is", "almost", "time", "for", "your", "next", "dose" ]
[ 1610, 1610, 508, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 524, 1302, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 238 ]
[ "You", "may", "report", "side", "effects", "to" ]
[ 1610, 1610, 1610, 712, 1456, 1610 ]
[ "Use", "only", "as", "directed" ]
[ 1610, 1610, 1610, 1610 ]
[ "Tell", "each", "of", "your", "healthcare", "providers", "about", "all", "your", "medical", "conditions", "allergies", "and", "all", "medicines", "you", "use" ]
[ 1610, 1610, 1610, 1610, 343, 1152, 1610, 1610, 1610, 497, 1278, 25, 1610, 1610, 508, 1610, 1610 ]
[ "Call", "your", "doctor", "for", "medical", "advice", "about", "side", "effects" ]
[ 1610, 1610, 343, 1610, 1610, 1610, 1610, 712, 1456 ]
[ "Take", "the", "missed", "dose", "as", "soon", "as", "you", "remember" ]
[ 1610, 1610, 524, 1302, 1610, 1610, 1610, 1610, 1610 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "FDA", "at", "1-800-FDA-1088" ]
[ 309, 1610, 310 ]
[ "seek", "emergency", "medical", "attention", "or", "call", "the", "poison", "help", "line", "at" ]
[ 253, 1082, 1082, 1082, 1610, 1610, 1610, 253, 1082, 1082, 1610 ]
[ "Take", "the", "medicine", "as", "soon", "as", "you", "can", "but", "skip", "the", "missed", "dose", "if", "it", "is", "almost", "time", "for", "your", "next", "dose" ]
[ 1610, 1610, 508, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 524, 1302, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 238 ]
[ "Dose", "for" ]
[ 1610, 1610 ]
[ "FDA", "at", "1-800-FDA-1088" ]
[ 309, 1610, 310 ]
[ "You", "may", "report", "side", "effects", "to" ]
[ 1610, 1610, 1610, 712, 1456, 1610 ]
[ "FDA", "at", "1-800-FDA-1088" ]
[ 309, 1610, 310 ]
[ "seek", "emergency", "medical", "attention", "or", "call", "the", "poison", "help", "line", "at", "1-800-222-1222" ]
[ 253, 1082, 1082, 1082, 1610, 1610, 1610, 253, 1082, 1082, 1610, 254 ]
[ "Talk", "with", "your", "doctor", "about", "the", "best", "way", "for", "you", "to", "stop", "smoking" ]
[ 1610, 1610, 1610, 343, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 734 ]
[ "Follow", "all", "directions", "on", "your", "medicine", "label", "and", "package" ]
[ 1610, 1610, 1610, 1610, 1610, 508, 1287, 1610, 1610 ]
[ "emergency", "medical", "attention", "or", "call", "the", "poison", "help", "line", "at" ]
[ 1082, 1082, 1082, 1610, 1610, 1610, 253, 1082, 1082, 1610 ]
[ "Call", "your", "doctor", "for", "medical", "advice", "about", "side", "effects" ]
[ 1610, 1610, 343, 1610, 1610, 1610, 1610, 712, 1456 ]
[ "You", "may", "report", "side", "effects", "to" ]
[ 1610, 1610, 1610, 712, 1456, 1610 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "seek", "emergency", "medical", "attention", "or", "call", "the", "poison", "help", "line", "at", "1-800-222-1222" ]
[ 253, 1082, 1082, 1082, 1610, 1610, 1610, 253, 1082, 1082, 1610, 254 ]
[ "Call", "your", "doctor", "right", "away", "if", "you", "have", "wheezing", "chest", "pain", "trouble", "breathing", "slow", "heartbeats", "a", "light-headed", "feeling", "like", "you", "might", "pass", "out", "muscle", "weakness", "depressed", "mood", "confusion", "hallucinations", "unusual", "thoughts", "or", "behavior", "numbness", "or", "cold", "feeling", "in", "your", "hands", "and", "feet" ]
[ 1610, 1610, 343, 1610, 1610, 1610, 1610, 1610, 892, 153, 1015, 219, 1059, 732, 1475, 1610, 447, 1234, 1610, 1610, 1610, 1610, 1610, 543, 1317, 525, 1303, 181, 334, 842, 1562, 1562, 1562, 573, 1340, 172, 1026, 1026, 1026, 1026, 1026, 1026 ]
[ "You", "may", "report", "side", "effects", "to" ]
[ 1610, 1610, 1610, 712, 1456, 1610 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "You", "may", "report", "side", "effects", "to" ]
[ 1610, 1610, 1610, 712, 1456, 1610 ]
[ "Call", "your", "doctor", "for", "medical", "advice", "about", "side", "effects" ]
[ 1610, 1610, 343, 1610, 1610, 1610, 1610, 712, 1456 ]
[ "You", "may", "report", "side", "effects", "to" ]
[ 1610, 1610, 1610, 712, 1456, 1610 ]
[ "You", "may", "report", "side", "effects", "to" ]
[ 1610, 1610, 1610, 712, 1456, 1610 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "Call", "your", "doctor", "for", "medical", "advice", "about", "side", "effects" ]
[ 1610, 1610, 343, 1610, 1610, 1610, 1610, 712, 1456 ]
[ "FDA", "at", "1-800-FDA-1088" ]
[ 309, 1610, 310 ]
[ "Call", "your", "doctor", "for", "medical", "advice", "about", "side", "effects" ]
[ 1610, 1610, 343, 1610, 1610, 1610, 1610, 712, 1456 ]
[ "You", "may", "report", "side", "effects", "to" ]
[ 1610, 1610, 1610, 712, 1456, 1610 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "You", "may", "report", "side", "effects", "to" ]
[ 1610, 1610, 1610, 712, 1456, 1610 ]
[ "seek", "emergency", "medical", "attention", "or", "call", "the", "poison", "help", "line", "at", "1-800-222-1222" ]
[ 253, 1082, 1082, 1082, 1610, 1610, 1610, 253, 1082, 1082, 1610, 254 ]
[ "Call", "your", "doctor", "for", "medical", "advice", "about", "side", "effects" ]
[ 1610, 1610, 343, 1610, 1610, 1610, 1610, 712, 1456 ]
[ "seek", "emergency", "medical", "attention", "or", "call", "the", "poison", "help", "line", "at", "1-800-222-1222" ]
[ 253, 1082, 1082, 1082, 1610, 1610, 1610, 253, 1082, 1082, 1610, 254 ]
[ "You", "may", "report", "side", "effects", "to" ]
[ 1610, 1610, 1610, 712, 1456, 1610 ]
[ "Use", "only", "as", "directed" ]
[ 1610, 1610, 1610, 1610 ]
[ "Take", "the", "missed", "dose", "as", "soon", "as", "you", "remember" ]
[ 1610, 1610, 524, 1302, 1610, 1610, 1610, 1610, 1610 ]
[ "Take", "the", "missed", "dose", "as", "soon", "as", "you", "remember" ]
[ 1610, 1610, 524, 1302, 1610, 1610, 1610, 1610, 1610 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "Do", "not", "take", "extra", "medicine", "to", "make", "up", "the", "missed", "dose" ]
[ 1610, 1610, 1610, 1610, 508, 1610, 1610, 1610, 1610, 524, 1302 ]
[ "seek", "emergency", "medical", "attention", "or", "call", "the", "poison", "help", "line", "at", "1-800-222-1222" ]
[ 253, 1082, 1082, 1082, 1610, 1610, 1610, 253, 1082, 1082, 1610, 254 ]
[ "Skip", "the", "missed", "dose", "if", "it", "is", "almost", "time", "for", "your", "next", "scheduled", "dose" ]
[ 1610, 1610, 524, 1302, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 238 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "Take", "the", "missed", "dose", "as", "soon", "as", "you", "remember" ]
[ 1610, 1610, 524, 1302, 1610, 1610, 1610, 1610, 1610 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "FDA", "at", "1-800-FDA-1088" ]
[ 309, 1610, 310 ]
[ "Thiola" ]
[ 240 ]
[ "Follow", "all", "directions", "on", "your", "medicine", "label", "and", "package" ]
[ 1610, 1610, 1610, 1610, 1610, 508, 1287, 1610, 1610 ]
[ "Tell", "each", "of", "your", "healthcare", "providers", "about", "all", "your", "medical", "conditions", "allergies", "and", "all", "medicines", "you", "use" ]
[ 1610, 1610, 1610, 1610, 343, 1152, 1610, 1610, 1610, 497, 1278, 25, 1610, 1610, 508, 1610, 1610 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "Follow", "your", "doctor", "instructions", "about", "any", "restrictions", "on", "food", "beverages", "or", "activity" ]
[ 1610, 1610, 343, 1610, 1610, 1610, 1610, 1610, 308, 60, 1610, 11 ]
[ "Do", "not", "take", "extra", "medicine", "to", "make", "up", "the", "missed", "dose" ]
[ 1610, 1610, 1610, 1610, 508, 1610, 1610, 1610, 1610, 524, 1302 ]
[ "FDA", "at", "1-800-FDA-1088" ]
[ 309, 1610, 310 ]
[ "Follow", "all", "directions", "on", "your", "medicine", "label", "and", "package" ]
[ 1610, 1610, 1610, 1610, 1610, 508, 1287, 1610, 1610 ]
[ "seek", "emergency", "medical", "attention", "or", "call", "the", "poison", "help", "line", "at", "1-800-222-1222" ]
[ 253, 1082, 1082, 1082, 1610, 1610, 1610, 253, 1082, 1082, 1610, 254 ]
[ "Do", "not", "take", "two", "doses", "at", "one", "time" ]
[ 1610, 1610, 1610, 1610, 238, 1610, 1610, 1610 ]
[ "This", "is", "not", "a", "complete", "list", "of", "side", "effects", "and", "others", "may", "occur" ]
[ 1610, 1610, 1610, 1610, 180, 1034, 1610, 712, 1456, 1610, 1610, 1610, 1610 ]
[ "Do", "not", "use", "two", "doses", "at", "one", "time" ]
[ 1610, 1610, 1610, 1610, 238, 1610, 1610, 1610 ]
[ "Call", "your", "doctor", "for", "medical", "advice", "about", "side", "effects" ]
[ 1610, 1610, 343, 1610, 1610, 1610, 1610, 712, 1456 ]
[ "Call", "your", "doctor", "for", "medical", "advice", "about", "side", "effects" ]
[ 1610, 1610, 343, 1610, 1610, 1610, 1610, 712, 1456 ]
[ "Take", "the", "medicine", "as", "soon", "as", "you", "can", "but", "skip", "the", "missed", "dose", "if", "it", "is", "almost", "time", "for", "your", "next", "dose" ]
[ 1610, 1610, 508, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 524, 1302, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 1610, 238 ]

Named Entity Recognition (NER) Dataset

Overview

This dataset is designed for Named Entity Recognition (NER) tasks. It contains annotated text data with entities classified into various categories. The dataset is split into training, validation, and test sets, and is suitable for training and evaluating NER models.

Dataset Description

Features

The dataset includes the following features:

  • tokens: A sequence of strings representing the words or tokens in the text.
  • ner_tags: A sequence of integers representing the NER tags assigned to each token. The tags correspond to specific named entities in the text.

Label Mapping

The ner_tags feature uses a set of predefined labels mapped to integers as follows:

  • 0: B-AIDS
  • 1: B-AVBlock
  • 2: B-AbnormalBloodClotting
  • 3: B-AbnormalBloodTests
  • 4: B-AbnormalKidneyFunction
  • 5: B-AbnormalLiverFunction
  • 6: B-AbnormalLiverFunctionTests
  • 7: B-AbnormalVaginalBleeding
  • 8: B-Accidents
  • 9: B-Aches
  • ... (and so on) ...
  • 1610: O

Each integer represents a specific label used to annotate the entities in the text.

Splits

The dataset is divided into three splits:

  • Training Set: 80% of the dataset, used for training the NER models.

    • Number of Examples: 14,205
    • Size: 8,592,704 bytes
  • Validation Set: 10% of the dataset, used for tuning hyperparameters and validating the model.

    • Number of Examples: 5285
  • Test Set: 10% of the dataset, used for evaluating the final performance of the model.

    • Number of Examples: 5285

Usage

To load the dataset, use the datasets library as follows:

from datasets import load_dataset

dataset = load_dataset("pnr-svc/Drugs-NER-Data")
Downloads last month
35
Edit dataset card