ToxicityPrompts / README.md
maartensap's picture
Upload dataset
1a120ff verified
|
raw
history blame
23.4 kB
metadata
dataset_info:
  - config_name: ptp-en
    features:
      - name: text
        dtype: string
      - name: meta_data
        struct:
          - name: data_category
            dtype: string
          - name: lang
            dtype: string
          - name: pile_set_name
            dtype: string
          - name: timestamp
            dtype: string
          - name: url
            dtype: string
      - name: perspective
        struct:
          - name: attributeScores
            struct:
              - name: IDENTITY_ATTACK
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: INSULT
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: PROFANITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: SEVERE_TOXICITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: THREAT
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: TOXICITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
          - name: detectedLanguages
            sequence: string
          - name: languages
            sequence: string
      - name: toxicity
        dtype: float64
      - name: toxicity_bucket
        dtype: float64
      - name: prompt
        dtype: string
      - name: continuation
        dtype: string
      - name: prompt_perspective
        struct:
          - name: attributeScores
            struct:
              - name: IDENTITY_ATTACK
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: INSULT
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: PROFANITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: SEVERE_TOXICITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: THREAT
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: TOXICITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
          - name: detectedLanguages
            sequence: string
          - name: languages
            sequence: string
      - name: continuation_perspective
        struct:
          - name: attributeScores
            struct:
              - name: IDENTITY_ATTACK
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: INSULT
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: PROFANITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: SEVERE_TOXICITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: THREAT
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: TOXICITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
          - name: detectedLanguages
            sequence: string
          - name: languages
            sequence: string
    splits:
      - name: full
        num_bytes: 148678660
        num_examples: 25000
      - name: small
        num_bytes: 29175571
        num_examples: 5000
    download_size: 94883333
    dataset_size: 177854231
  - config_name: ptp-es
    features:
      - name: text
        dtype: string
      - name: meta_data
        struct:
          - name: data_category
            dtype: string
          - name: lang
            dtype: string
          - name: pile_set_name
            dtype: string
          - name: timestamp
            dtype: string
          - name: url
            dtype: string
      - name: perspective
        struct:
          - name: attributeScores
            struct:
              - name: IDENTITY_ATTACK
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: INSULT
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: PROFANITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: SEVERE_TOXICITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: THREAT
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: TOXICITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
          - name: detectedLanguages
            sequence: string
          - name: languages
            sequence: string
      - name: toxicity
        dtype: float64
      - name: toxicity_bucket
        dtype: float64
      - name: prompt
        dtype: string
      - name: continuation
        dtype: string
      - name: prompt_perspective
        struct:
          - name: attributeScores
            struct:
              - name: IDENTITY_ATTACK
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: INSULT
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: PROFANITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: SEVERE_TOXICITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: THREAT
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: TOXICITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
          - name: detectedLanguages
            sequence: string
          - name: languages
            sequence: string
      - name: continuation_perspective
        struct:
          - name: attributeScores
            struct:
              - name: IDENTITY_ATTACK
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: INSULT
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: PROFANITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: SEVERE_TOXICITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: THREAT
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: TOXICITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
          - name: detectedLanguages
            sequence: string
          - name: languages
            sequence: string
    splits:
      - name: full
        num_bytes: 208900890
        num_examples: 25000
      - name: small
        num_bytes: 42751527
        num_examples: 5000
    download_size: 144897319
    dataset_size: 251652417
  - config_name: wildchat-en
    features:
      - name: prompt
        dtype: string
      - name: prompt_perspective
        struct:
          - name: attributeScores
            struct:
              - name: IDENTITY_ATTACK
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: INSULT
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: PROFANITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: SEVERE_TOXICITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: THREAT
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
              - name: TOXICITY
                struct:
                  - name: spanScores
                    list:
                      - name: begin
                        dtype: int64
                      - name: end
                        dtype: int64
                      - name: score
                        struct:
                          - name: type
                            dtype: string
                          - name: value
                            dtype: float64
                  - name: summaryScore
                    struct:
                      - name: type
                        dtype: string
                      - name: value
                        dtype: float64
          - name: detectedLanguages
            sequence: string
          - name: languages
            sequence: string
      - name: toxicity_bucket
        dtype: float64
      - name: meta_data
        struct:
          - name: data_category
            dtype: string
          - name: id
            dtype: string
      - name: prompt_toxicity
        dtype: float64
    splits:
      - name: wildchat
        num_bytes: 1089060
        num_examples: 1000
    download_size: 496179
    dataset_size: 1089060
configs:
  - config_name: ptp-en
    data_files:
      - split: full
        path: ptp-en/full-*
      - split: small
        path: ptp-en/small-*
  - config_name: ptp-es
    data_files:
      - split: full
        path: ptp-es/full-*
      - split: small
        path: ptp-es/small-*
  - config_name: wildchat-en
    data_files:
      - split: wildchat
        path: wildchat-en/wildchat-*