スイスの判断_予測

参考文献:

次のコマンドを使用して、このデータセットを TFDS にロードします。

ds = tfds.load('huggingface:swiss_judgment_prediction/de')
  • 説明
Swiss-Judgment-Prediction is a multilingual, diachronic dataset of 85K Swiss Federal Supreme Court (FSCS) cases annotated with
the respective binarized judgment outcome (approval/dismissal), posing a challenging text classification task.  
We also provide additional metadata, i.e., the publication year, the legal area and the canton of origin per case,  
to promote robustness and fairness studies on the critical area of legal NLP.
  • ライセンス: 既知のライセンスはありません
  • バージョン: 1.0.0
  • 分割:
スプリット
'test' 9725
'train' 35458
'validation' 4705
  • 特徴
{
    "id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "year": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "label": {
        "num_classes": 2,
        "names": [
            "dismissal",
            "approval"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    },
    "language": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "region": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "canton": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "legal area": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

フランス

次のコマンドを使用して、このデータセットを TFDS にロードします。

ds = tfds.load('huggingface:swiss_judgment_prediction/fr')
  • 説明
Swiss-Judgment-Prediction is a multilingual, diachronic dataset of 85K Swiss Federal Supreme Court (FSCS) cases annotated with
the respective binarized judgment outcome (approval/dismissal), posing a challenging text classification task.  
We also provide additional metadata, i.e., the publication year, the legal area and the canton of origin per case,  
to promote robustness and fairness studies on the critical area of legal NLP.
  • ライセンス: 既知のライセンスはありません
  • バージョン: 1.0.0
  • 分割:
スプリット
'test' 6820
'train' 21179
'validation' 3095
  • 特徴
{
    "id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "year": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "label": {
        "num_classes": 2,
        "names": [
            "dismissal",
            "approval"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    },
    "language": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "region": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "canton": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "legal area": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

それ

次のコマンドを使用して、このデータセットを TFDS にロードします。

ds = tfds.load('huggingface:swiss_judgment_prediction/it')
  • 説明
Swiss-Judgment-Prediction is a multilingual, diachronic dataset of 85K Swiss Federal Supreme Court (FSCS) cases annotated with
the respective binarized judgment outcome (approval/dismissal), posing a challenging text classification task.  
We also provide additional metadata, i.e., the publication year, the legal area and the canton of origin per case,  
to promote robustness and fairness studies on the critical area of legal NLP.
  • ライセンス: 既知のライセンスはありません
  • バージョン: 1.0.0
  • 分割:
スプリット
'test' 812
'train' 3072
'validation' 408
  • 特徴
{
    "id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "year": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "label": {
        "num_classes": 2,
        "names": [
            "dismissal",
            "approval"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    },
    "language": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "region": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "canton": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "legal area": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

すべての言語

次のコマンドを使用して、このデータセットを TFDS にロードします。

ds = tfds.load('huggingface:swiss_judgment_prediction/all_languages')
  • 説明
Swiss-Judgment-Prediction is a multilingual, diachronic dataset of 85K Swiss Federal Supreme Court (FSCS) cases annotated with
the respective binarized judgment outcome (approval/dismissal), posing a challenging text classification task.  
We also provide additional metadata, i.e., the publication year, the legal area and the canton of origin per case,  
to promote robustness and fairness studies on the critical area of legal NLP.
  • ライセンス: 既知のライセンスはありません
  • バージョン: 1.0.0
  • 分割:
スプリット
'test' 17357
'train' 59709
'validation' 8208
  • 特徴
{
    "id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "year": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "label": {
        "num_classes": 2,
        "names": [
            "dismissal",
            "approval"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    },
    "language": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "region": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "canton": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "legal area": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}