PxCorpus / README.md
ygorg's picture
Convert dataset to Parquet
b470657 verified
|
raw
history blame
2.22 kB
metadata
license: cc-by-4.0
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
      - split: validation
        path: data/validation-*
      - split: test
        path: data/test-*
dataset_info:
  features:
    - name: id
      dtype: string
    - name: text
      dtype: string
    - name: label
      dtype:
        class_label:
          names:
            '0': medical_prescription
            '1': negate
            '2': none
            '3': replace
    - name: tokens
      sequence: string
    - name: ner_tags
      sequence:
        class_label:
          names:
            '0': O
            '1': B-A
            '2': B-cma_event
            '3': B-d_dos_form
            '4': B-d_dos_form_ext
            '5': B-d_dos_up
            '6': B-d_dos_val
            '7': B-dos_cond
            '8': B-dos_uf
            '9': B-dos_val
            '10': B-drug
            '11': B-dur_ut
            '12': B-dur_val
            '13': B-fasting
            '14': B-freq_days
            '15': B-freq_int_v1
            '16': B-freq_int_v1_ut
            '17': B-freq_int_v2
            '18': B-freq_int_v2_ut
            '19': B-freq_startday
            '20': B-freq_ut
            '21': B-freq_val
            '22': B-inn
            '23': B-max_unit_uf
            '24': B-max_unit_ut
            '25': B-max_unit_val
            '26': B-min_gap_ut
            '27': B-min_gap_val
            '28': B-qsp_ut
            '29': B-qsp_val
            '30': B-re_ut
            '31': B-re_val
            '32': B-rhythm_hour
            '33': B-rhythm_perday
            '34': B-rhythm_rec_ut
            '35': B-rhythm_rec_val
            '36': B-rhythm_tdte
            '37': B-roa
            '38': I-cma_event
            '39': I-d_dos_form
            '40': I-d_dos_form_ext
            '41': I-d_dos_up
            '42': I-d_dos_val
            '43': I-dos_cond
            '44': I-dos_uf
            '45': I-dos_val
            '46': I-drug
            '47': I-fasting
            '48': I-freq_startday
            '49': I-inn
            '50': I-rhythm_tdte
            '51': I-roa
  splits:
    - name: train
      num_bytes: 396424
      num_examples: 1386
    - name: validation
      num_bytes: 55979
      num_examples: 198
    - name: test
      num_bytes: 110872
      num_examples: 397
  download_size: 150866
  dataset_size: 563275