Benchmark-Testing / README.md
shounakpaul95's picture
Upload folder using huggingface_hub
3489768 verified
metadata
license: mit
task_categories:
  - text-classification
  - summarization
  - translation
  - token-classification
  - feature-extraction
  - sentence-similarity
language:
  - en
  - hi
  - bn
  - gu
  - ml
  - mr
  - or
  - pa
  - ta
  - te
tags:
  - legal
  - indian law
  - benchmark
  - legal ner
  - rhetorical role
  - judgment prediction
  - judgment explanation
  - bail
  - legal statute
  - prior case
  - summarization
  - machine translation
size_categories:
  - 10K<n<100K
pretty_name: Benchmark-Testing
config_names:
  - lner
  - rr
  - cjpe
  - bail
  - lsi
  - pcr
  - summ
  - lmt
dataset_info:
  - config_name: lner
    features:
      - name: id
        dtype: string
      - name: text
        dtype: string
      - name: spans
        list:
          struct:
            - name: start
              dtype: int64
            - name: end
              dtype: int64
            - name: label
              class_label:
                names:
                  '0': APP
                  '1': RESP
                  '2': A.COUNSEL
                  '3': R.COUNSEL
                  '4': JUDGE
                  '5': WIT
                  '6': AUTH
                  '7': COURT
                  '8': STAT
                  '9': PREC
                  '10': DATE
                  '11': CASENO
    splits:
      - name: fold_1
        num_examples: 35
      - name: fold_2
        num_examples: 35
      - name: fold_3
        num_examples: 35
  - config_name: rr
    features:
      - name: id
        dtype: string
      - name: text
        list: string
      - name: labels
        list:
          class_label:
            names:
              '0': Fact
              '1': Issue
              '2': ArgumentPetitioner
              '3': ArgumentRespondent
              '4': Statute
              '5': Dissent
              '6': PrecedentReliedUpon
              '7': PrecedentNotReliedUpon
              '8': PrecedentOverruled
              '9': RulingByLowerCourt
              '10': RatioOfTheDecision
              '11': RulingByPresentCourt
              '12': None
      - name: expert_1
        struct:
          - name: primary
            list:
              class_label:
                names:
                  '0': Fact
                  '1': Issue
                  '2': ArgumentPetitioner
                  '3': ArgumentRespondent
                  '4': Statute
                  '5': Dissent
                  '6': PrecedentReliedUpon
                  '7': PrecedentNotReliedUpon
                  '8': PrecedentOverruled
                  '9': RulingByLowerCourt
                  '10': RatioOfTheDecision
                  '11': RulingByPresentCourt
                  '12': None
          - name: secondary
            list:
              class_label:
                names:
                  '0': Fact
                  '1': Issue
                  '2': ArgumentPetitioner
                  '3': ArgumentRespondent
                  '4': Statute
                  '5': Dissent
                  '6': PrecedentReliedUpon
                  '7': PrecedentNotReliedUpon
                  '8': PrecedentOverruled
                  '9': RulingByLowerCourt
                  '10': RatioOfTheDecision
                  '11': RulingByPresentCourt
                  '12': None
          - name: tertiary
            list:
              class_label:
                names:
                  '0': Fact
                  '1': Issue
                  '2': ArgumentPetitioner
                  '3': ArgumentRespondent
                  '4': Statute
                  '5': Dissent
                  '6': PrecedentReliedUpon
                  '7': PrecedentNotReliedUpon
                  '8': PrecedentOverruled
                  '9': RulingByLowerCourt
                  '10': RatioOfTheDecision
                  '11': RulingByPresentCourt
                  '12': None
          - name: overall
            list:
              class_label:
                names:
                  '0': Fact
                  '1': Issue
                  '2': ArgumentPetitioner
                  '3': ArgumentRespondent
                  '4': Statute
                  '5': Dissent
                  '6': PrecedentReliedUpon
                  '7': PrecedentNotReliedUpon
                  '8': PrecedentOverruled
                  '9': RulingByLowerCourt
                  '10': RatioOfTheDecision
                  '11': RulingByPresentCourt
                  '12': None
      - name: expert_2
        struct:
          - name: primary
            list:
              class_label:
                names:
                  '0': Fact
                  '1': Issue
                  '2': ArgumentPetitioner
                  '3': ArgumentRespondent
                  '4': Statute
                  '5': Dissent
                  '6': PrecedentReliedUpon
                  '7': PrecedentNotReliedUpon
                  '8': PrecedentOverruled
                  '9': RulingByLowerCourt
                  '10': RatioOfTheDecision
                  '11': RulingByPresentCourt
                  '12': None
          - name: secondary
            list:
              class_label:
                names:
                  '0': Fact
                  '1': Issue
                  '2': ArgumentPetitioner
                  '3': ArgumentRespondent
                  '4': Statute
                  '5': Dissent
                  '6': PrecedentReliedUpon
                  '7': PrecedentNotReliedUpon
                  '8': PrecedentOverruled
                  '9': RulingByLowerCourt
                  '10': RatioOfTheDecision
                  '11': RulingByPresentCourt
                  '12': None
          - name: tertiary
            list:
              class_label:
                names:
                  '0': Fact
                  '1': Issue
                  '2': ArgumentPetitioner
                  '3': ArgumentRespondent
                  '4': Statute
                  '5': Dissent
                  '6': PrecedentReliedUpon
                  '7': PrecedentNotReliedUpon
                  '8': PrecedentOverruled
                  '9': RulingByLowerCourt
                  '10': RatioOfTheDecision
                  '11': RulingByPresentCourt
                  '12': None
          - name: overall
            list:
              class_label:
                names:
                  '0': Fact
                  '1': Issue
                  '2': ArgumentPetitioner
                  '3': ArgumentRespondent
                  '4': Statute
                  '5': Dissent
                  '6': PrecedentReliedUpon
                  '7': PrecedentNotReliedUpon
                  '8': PrecedentOverruled
                  '9': RulingByLowerCourt
                  '10': RatioOfTheDecision
                  '11': RulingByPresentCourt
                  '12': None
      - name: expert_3
        struct:
          - name: primary
            list:
              class_label:
                names:
                  '0': Fact
                  '1': Issue
                  '2': ArgumentPetitioner
                  '3': ArgumentRespondent
                  '4': Statute
                  '5': Dissent
                  '6': PrecedentReliedUpon
                  '7': PrecedentNotReliedUpon
                  '8': PrecedentOverruled
                  '9': RulingByLowerCourt
                  '10': RatioOfTheDecision
                  '11': RulingByPresentCourt
                  '12': None
          - name: secondary
            list:
              class_label:
                names:
                  '0': Fact
                  '1': Issue
                  '2': ArgumentPetitioner
                  '3': ArgumentRespondent
                  '4': Statute
                  '5': Dissent
                  '6': PrecedentReliedUpon
                  '7': PrecedentNotReliedUpon
                  '8': PrecedentOverruled
                  '9': RulingByLowerCourt
                  '10': RatioOfTheDecision
                  '11': RulingByPresentCourt
                  '12': None
          - name: tertiary
            list:
              class_label:
                names:
                  '0': Fact
                  '1': Issue
                  '2': ArgumentPetitioner
                  '3': ArgumentRespondent
                  '4': Statute
                  '5': Dissent
                  '6': PrecedentReliedUpon
                  '7': PrecedentNotReliedUpon
                  '8': PrecedentOverruled
                  '9': RulingByLowerCourt
                  '10': RatioOfTheDecision
                  '11': RulingByPresentCourt
                  '12': None
          - name: overall
            list:
              class_label:
                names:
                  '0': Fact
                  '1': Issue
                  '2': ArgumentPetitioner
                  '3': ArgumentRespondent
                  '4': Statute
                  '5': Dissent
                  '6': PrecedentReliedUpon
                  '7': PrecedentNotReliedUpon
                  '8': PrecedentOverruled
                  '9': RulingByLowerCourt
                  '10': RatioOfTheDecision
                  '11': RulingByPresentCourt
                  '12': None
    splits:
      - name: CL_train
        num_examples: 40
      - name: CL_dev
        num_examples: 5
      - name: CL_test
        num_examples: 5
      - name: IT_train
        num_examples: 40
      - name: IT_dev
        num_examples: 5
      - name: IT_test
        num_examples: 5
  - config_name: cjpe
    features:
      - name: id
        dtype: string
      - name: text
        dtype: string
      - name: label
        dtype:
          class_label:
            names:
              '0': REJECTED
              '1': ACCEPTED
      - name: expert_1
        struct:
          - name: label
            dtype:
              class_label:
                names:
                  '0': REJECTED
                  '1': ACCEPTED
          - name: rank1
            list: string
          - name: rank2
            list: string
          - name: rank3
            list: string
          - name: rank4
            list: string
          - name: rank5
            list: string
      - name: expert_2
        struct:
          - name: label
            dtype:
              class_label:
                names:
                  '0': REJECTED
                  '1': ACCEPTED
          - name: rank1
            list: string
          - name: rank2
            list: string
          - name: rank3
            list: string
          - name: rank4
            list: string
          - name: rank5
            list: string
      - name: expert_3
        struct:
          - name: label
            dtype:
              class_label:
                names:
                  '0': REJECTED
                  '1': ACCEPTED
          - name: rank1
            list: string
          - name: rank2
            list: string
          - name: rank3
            list: string
          - name: rank4
            list: string
          - name: rank5
            list: string
      - name: expert_4
        struct:
          - name: label
            dtype:
              class_label:
                names:
                  '0': REJECTED
                  '1': ACCEPTED
          - name: rank1
            list: string
          - name: rank2
            list: string
          - name: rank3
            list: string
          - name: rank4
            list: string
          - name: rank5
            list: string
      - name: expert_5
        struct:
          - name: label
            dtype:
              class_label:
                names:
                  '0': REJECTED
                  '1': ACCEPTED
          - name: rank1
            list: string
          - name: rank2
            list: string
          - name: rank3
            list: string
          - name: rank4
            list: string
          - name: rank5
            list: string
    splits:
      - name: expert
        num_examples: 56
      - name: single_train
        num_examples: 5082
      - name: single_dev
        num_examples: 2511
      - name: multi_train
        num_examples: 32305
      - name: multi_dev
        num_examples: 994
      - name: test
        num_examples: 1517
  - config_name: bail
    features:
      - name: id
        dtype: string
      - name: district
        dtype: string
      - name: text
        struct:
          - name: facts-and-arguments
            list: string
          - name: judge-opinion
            list: string
      - name: label
        dtype:
          class_label:
            names:
              '0': DENIED
              '1': GRANTED
    splits:
      - name: train_all
        num_examples: 123742
      - name: dev_all
        num_examples: 17707
      - name: test_all
        num_examples: 35400
      - name: train_specific
        num_examples: 124341
      - name: dev_specific
        num_examples: 15929
      - name: test_specific
        num_examples: 36579
  - config_name: lsi
    features:
      - name: id
        dtype: string
      - name: text
        list: string
      - name: labels
        list:
          class_label:
            names:
              '0': Section 2
              '1': Section 3
              '2': Section 4
              '3': Section 5
              '4': Section 13
              '5': Section 34
              '6': Section 107
              '7': Section 109
              '8': Section 114
              '9': Section 120
              '10': Section 120B
              '11': Section 143
              '12': Section 147
              '13': Section 148
              '14': Section 149
              '15': Section 155
              '16': Section 156
              '17': Section 161
              '18': Section 164
              '19': Section 173
              '20': Section 174A
              '21': Section 186
              '22': Section 188
              '23': Section 190
              '24': Section 193
              '25': Section 200
              '26': Section 201
              '27': Section 228
              '28': Section 229A
              '29': Section 279
              '30': Section 294
              '31': Section 294(b)
              '32': Section 299
              '33': Section 300
              '34': Section 302
              '35': Section 304
              '36': Section 304A
              '37': Section 304B
              '38': Section 306
              '39': Section 307
              '40': Section 308
              '41': Section 313
              '42': Section 320
              '43': Section 323
              '44': Section 324
              '45': Section 325
              '46': Section 326
              '47': Section 332
              '48': Section 336
              '49': Section 337
              '50': Section 338
              '51': Section 341
              '52': Section 342
              '53': Section 353
              '54': Section 354
              '55': Section 363
              '56': Section 364
              '57': Section 365
              '58': Section 366
              '59': Section 366A
              '60': Section 375
              '61': Section 376
              '62': Section 376(2)
              '63': Section 379
              '64': Section 380
              '65': Section 384
              '66': Section 389
              '67': Section 392
              '68': Section 394
              '69': Section 395
              '70': Section 397
              '71': Section 406
              '72': Section 409
              '73': Section 411
              '74': Section 415
              '75': Section 417
              '76': Section 419
              '77': Section 420
              '78': Section 427
              '79': Section 436
              '80': Section 437
              '81': Section 438
              '82': Section 447
              '83': Section 448
              '84': Section 450
              '85': Section 452
              '86': Section 457
              '87': Section 465
              '88': Section 467
              '89': Section 468
              '90': Section 471
              '91': Section 482
              '92': Section 494
              '93': Section 498
              '94': Section 498A
              '95': Section 500
              '96': Section 504
              '97': Section 506
              '98': Section 509
              '99': Section 511
    splits:
      - name: train
        num_examples: 42750
      - name: dev
        num_examples: 10181
      - name: test
        num_examples: 13019
      - name: statutes
        num_examples: 100
  - config_name: pcr
    features:
      - name: id
        dtype: string
      - name: text
        list: string
      - name: relevant_candidates
        list: string
    splits:
      - name: train_candidates
        num_examples: 4320
      - name: dev_candidates
        num_examples: 1023
      - name: test_candidates
        num_examples: 1727
      - name: train_queries
        num_examples: 827
      - name: dev_queries
        num_examples: 118
      - name: test_queries
        num_examples: 237
  - config_name: summ
    features:
      - name: id
        dtype: string
      - name: document
        list: string
      - name: summary
        list: string
      - name: num_doc_tokens
        dtype: int64
      - name: num_summ_tokens
        dtype: int64
    splits:
      - name: train
        num_examples: 7030
      - name: test
        num_examples: 100
  - config_name: lmt
    features:
      - name: id
        dtype: string
      - name: src_lang
        dtype: string
      - name: src
        dtype: string
      - name: tgt_lang
        dtype: string
      - name: tgt
        dtype: string
    splits:
      - name: acts
        num_examples: 4036
      - name: cci_faq
        num_examples: 1460
      - name: ip
        num_examples: 1020
configs:
  - config_name: lner
    data_files:
      - split: fold_1
        path: lner/fold_1*
      - split: fold_2
        path: lner/fold_2*
      - split: fold_3
        path: lner/fold_3*
  - config_name: rr
    data_files:
      - split: CL_train
        path: rr/CL_train*
      - split: CL_dev
        path: rr/CL_dev*
      - split: CL_test
        path: rr/CL_test*
      - split: IT_train
        path: rr/IT_train*
      - split: IT_dev
        path: rr/IT_dev*
      - split: IT_test
        path: rr/IT_test*
  - config_name: cjpe
    data_files:
      - split: expert
        path: cjpe/expert*
      - split: single_train
        path: cjpe/single_train*
      - split: single_dev
        path: cjpe/single_dev*
      - split: multi_train
        path: cjpe/multi_train*
      - split: multi_dev
        path: cjpe/multi_dev*
      - split: test
        path: cjpe/test*
  - config_name: bail
    data_files:
      - split: train_all
        path: bail/train_all*
      - split: dev_all
        path: bail/dev_all*
      - split: test_all
        path: bail/test_all*
      - split: train_specific
        path: bail/train_specific*
      - split: dev_specific
        path: bail/dev_specific*
      - split: test_specific
        path: bail/test_specific*
  - config_name: lsi
    data_files:
      - split: train
        path: lsi/train*
      - split: dev
        path: lsi/dev*
      - split: test
        path: lsi/test*
      - split: statutes
        path: lsi/statutes*
  - config_name: pcr
    data_files:
      - split: train_candidates
        path: pcr/train_candidates*
      - split: dev_candidates
        path: pcr/dev_candidates*
      - split: test_candidates
        path: pcr/test_candidates*
      - split: train_queries
        path: pcr/train_queries*
      - split: dev_queries
        path: pcr/dev_queries*
      - split: test_queries
        path: pcr/test_queries*
  - config_name: summ
    data_files:
      - split: train
        path: summ/train*
      - split: test
        path: summ/test*
  - config_name: lmt
    data_files:
      - split: acts
        path: lmt/acts*
      - split: cci_faq
        path: lmt/cci_faq*
      - split: ip
        path: lmt/ip*