ade_corpus_v2

Referanslar:

Ade_corpus_v2_sınıflandırma

Bu veri kümesini TFDS'ye yüklemek için aşağıdaki komutu kullanın:

ds = tfds.load('huggingface:ade_corpus_v2/Ade_corpus_v2_classification')
  • Açıklama :
ADE-Corpus-V2  Dataset: Adverse Drug Reaction Data.
 This is a dataset for Classification if a sentence is ADE-related (True) or not (False) and Relation Extraction between Adverse Drug Event and Drug.
 DRUG-AE.rel provides relations between drugs and adverse effects.
 DRUG-DOSE.rel provides relations between drugs and dosages.
 ADE-NEG.txt provides all sentences in the ADE corpus that DO NOT contain any drug-related adverse effects.
  • Lisans : Bilinen lisans yok
  • Sürüm : 1.0.0
  • Bölmeler :
Bölmek Örnekler
'train' 23516
  • Özellikler :
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "label": {
        "num_classes": 2,
        "names": [
            "Not-Related",
            "Related"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    }
}

Ade_corpus_v2_drug_ade_relation

Bu veri kümesini TFDS'ye yüklemek için aşağıdaki komutu kullanın:

ds = tfds.load('huggingface:ade_corpus_v2/Ade_corpus_v2_drug_ade_relation')
  • Açıklama :
ADE-Corpus-V2  Dataset: Adverse Drug Reaction Data.
 This is a dataset for Classification if a sentence is ADE-related (True) or not (False) and Relation Extraction between Adverse Drug Event and Drug.
 DRUG-AE.rel provides relations between drugs and adverse effects.
 DRUG-DOSE.rel provides relations between drugs and dosages.
 ADE-NEG.txt provides all sentences in the ADE corpus that DO NOT contain any drug-related adverse effects.
  • Lisans : Bilinen lisans yok
  • Sürüm : 1.0.0
  • Bölmeler :
Bölmek Örnekler
'train' 6821
  • Özellikler :
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "drug": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "effect": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "indexes": {
        "drug": {
            "feature": {
                "start_char": {
                    "dtype": "int32",
                    "id": null,
                    "_type": "Value"
                },
                "end_char": {
                    "dtype": "int32",
                    "id": null,
                    "_type": "Value"
                }
            },
            "length": -1,
            "id": null,
            "_type": "Sequence"
        },
        "effect": {
            "feature": {
                "start_char": {
                    "dtype": "int32",
                    "id": null,
                    "_type": "Value"
                },
                "end_char": {
                    "dtype": "int32",
                    "id": null,
                    "_type": "Value"
                }
            },
            "length": -1,
            "id": null,
            "_type": "Sequence"
        }
    }
}

Ade_corpus_v2_drug_dosage_relation

Bu veri kümesini TFDS'ye yüklemek için aşağıdaki komutu kullanın:

ds = tfds.load('huggingface:ade_corpus_v2/Ade_corpus_v2_drug_dosage_relation')
  • Açıklama :
ADE-Corpus-V2  Dataset: Adverse Drug Reaction Data.
 This is a dataset for Classification if a sentence is ADE-related (True) or not (False) and Relation Extraction between Adverse Drug Event and Drug.
 DRUG-AE.rel provides relations between drugs and adverse effects.
 DRUG-DOSE.rel provides relations between drugs and dosages.
 ADE-NEG.txt provides all sentences in the ADE corpus that DO NOT contain any drug-related adverse effects.
  • Lisans : Bilinen lisans yok
  • Sürüm : 1.0.0
  • Bölmeler :
Bölmek Örnekler
'train' 279
  • Özellikler :
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "drug": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "dosage": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "indexes": {
        "drug": {
            "feature": {
                "start_char": {
                    "dtype": "int32",
                    "id": null,
                    "_type": "Value"
                },
                "end_char": {
                    "dtype": "int32",
                    "id": null,
                    "_type": "Value"
                }
            },
            "length": -1,
            "id": null,
            "_type": "Sequence"
        },
        "dosage": {
            "feature": {
                "start_char": {
                    "dtype": "int32",
                    "id": null,
                    "_type": "Value"
                },
                "end_char": {
                    "dtype": "int32",
                    "id": null,
                    "_type": "Value"
                }
            },
            "length": -1,
            "id": null,
            "_type": "Sequence"
        }
    }
}