Create README.md
Browse files
    	
        README.md
    ADDED
    
    | @@ -0,0 +1,44 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            language:
         | 
| 3 | 
            +
            - en
         | 
| 4 | 
            +
            multilinguality:
         | 
| 5 | 
            +
            - monolingual
         | 
| 6 | 
            +
            size_categories:
         | 
| 7 | 
            +
            - 1M<n<10M
         | 
| 8 | 
            +
            task_categories:
         | 
| 9 | 
            +
            - feature-extraction
         | 
| 10 | 
            +
            - sentence-similarity
         | 
| 11 | 
            +
            pretty_name: AllNLI
         | 
| 12 | 
            +
            tags:
         | 
| 13 | 
            +
            - sentence-transformers
         | 
| 14 | 
            +
            dataset_info:
         | 
| 15 | 
            +
            - config_name: pair-class-distill
         | 
| 16 | 
            +
              features:
         | 
| 17 | 
            +
              - name: premise
         | 
| 18 | 
            +
                dtype: string
         | 
| 19 | 
            +
              - name: hypothesis
         | 
| 20 | 
            +
                dtype: string
         | 
| 21 | 
            +
              - name: label
         | 
| 22 | 
            +
                dtype:
         | 
| 23 | 
            +
                  class_label:
         | 
| 24 | 
            +
                    names:
         | 
| 25 | 
            +
                      '0': contradiction
         | 
| 26 | 
            +
                      '1': entailment
         | 
| 27 | 
            +
                      '2': neutral
         | 
| 28 | 
            +
            ---
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            # Dataset Card for AllNLI
         | 
| 31 | 
            +
             | 
| 32 | 
            +
            This dataset is a concatenation of the [SNLI](https://huggingface.co/datasets/stanfordnlp/snli) and [MultiNLI](https://huggingface.co/datasets/nyu-mll/multi_nli) datasets.
         | 
| 33 | 
            +
             | 
| 34 | 
            +
            This is the same dataset as `sentence-transformers/all-nli` `pair-class` split;
         | 
| 35 | 
            +
            however, the label ids are not identical, and teacher scores have been added from `dleemiller/ModernCE-large-nli`.
         | 
| 36 | 
            +
             | 
| 37 | 
            +
            I have also added hashes for score lookup, since a lookup must be added into a custom loss function,
         | 
| 38 | 
            +
            if using the sentence transformers CrossEncoder trainer.
         | 
| 39 | 
            +
             | 
| 40 | 
            +
            The hashes were computed straightforwardly as follows:
         | 
| 41 | 
            +
            ```
         | 
| 42 | 
            +
            df.hash = df.apply(lambda x: hashlib.md5(f"{x.premise}\n{x.hypothesis}".encode()).hexdigest(), axis=1)
         | 
| 43 | 
            +
            ```
         | 
| 44 | 
            +
             | 
