add model
Browse files- config.json +36 -0
- pytorch_model.bin +3 -0
    	
        config.json
    ADDED
    
    | @@ -0,0 +1,36 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "_name_or_path": "./newtrobertaV2/model_all_label/",
         | 
| 3 | 
            +
              "architectures": [
         | 
| 4 | 
            +
                "RobertaForSequenceClassification"
         | 
| 5 | 
            +
              ],
         | 
| 6 | 
            +
              "attention_probs_dropout_prob": 0.1,
         | 
| 7 | 
            +
              "bos_token_id": 0,
         | 
| 8 | 
            +
              "classifier_dropout": null,
         | 
| 9 | 
            +
              "eos_token_id": 2,
         | 
| 10 | 
            +
              "hidden_act": "gelu",
         | 
| 11 | 
            +
              "hidden_dropout_prob": 0.1,
         | 
| 12 | 
            +
              "hidden_size": 768,
         | 
| 13 | 
            +
              "id2label": {
         | 
| 14 | 
            +
                "HATE": 1,
         | 
| 15 | 
            +
                "NOT-HATE": 0
         | 
| 16 | 
            +
              },
         | 
| 17 | 
            +
              "initializer_range": 0.02,
         | 
| 18 | 
            +
              "intermediate_size": 3072,
         | 
| 19 | 
            +
              "label2id": {
         | 
| 20 | 
            +
                "0": "NOT-HATE",
         | 
| 21 | 
            +
                "1": "HATE"
         | 
| 22 | 
            +
              },
         | 
| 23 | 
            +
              "layer_norm_eps": 1e-05,
         | 
| 24 | 
            +
              "max_position_embeddings": 514,
         | 
| 25 | 
            +
              "model_type": "roberta",
         | 
| 26 | 
            +
              "num_attention_heads": 12,
         | 
| 27 | 
            +
              "num_hidden_layers": 12,
         | 
| 28 | 
            +
              "pad_token_id": 1,
         | 
| 29 | 
            +
              "position_embedding_type": "absolute",
         | 
| 30 | 
            +
              "problem_type": "single_label_classification",
         | 
| 31 | 
            +
              "torch_dtype": "float32",
         | 
| 32 | 
            +
              "transformers_version": "4.21.2",
         | 
| 33 | 
            +
              "type_vocab_size": 1,
         | 
| 34 | 
            +
              "use_cache": true,
         | 
| 35 | 
            +
              "vocab_size": 50265
         | 
| 36 | 
            +
            }
         | 
    	
        pytorch_model.bin
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:ed978c9ee988f21ac59b29263e79677179d6c213472743d0d2cdf0c53baf64cb
         | 
| 3 | 
            +
            size 498659253
         | 
