Upload RobertaForTokenClassification
Browse files- config.json +166 -0
 - model.safetensors +3 -0
 
    	
        config.json
    ADDED
    
    | 
         @@ -0,0 +1,166 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "_name_or_path": "/root/controversies-ops/models/nuner-v1_fewnerd_fine_super",
         
     | 
| 3 | 
         
            +
              "architectures": [
         
     | 
| 4 | 
         
            +
                "RobertaForTokenClassification"
         
     | 
| 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 | 
         
            +
                "0": "O",
         
     | 
| 15 | 
         
            +
                "1": "art-broadcastprogram",
         
     | 
| 16 | 
         
            +
                "2": "art-film",
         
     | 
| 17 | 
         
            +
                "3": "art-music",
         
     | 
| 18 | 
         
            +
                "4": "art-other",
         
     | 
| 19 | 
         
            +
                "5": "art-painting",
         
     | 
| 20 | 
         
            +
                "6": "art-writtenart",
         
     | 
| 21 | 
         
            +
                "7": "building-airport",
         
     | 
| 22 | 
         
            +
                "8": "building-hospital",
         
     | 
| 23 | 
         
            +
                "9": "building-hotel",
         
     | 
| 24 | 
         
            +
                "10": "building-library",
         
     | 
| 25 | 
         
            +
                "11": "building-other",
         
     | 
| 26 | 
         
            +
                "12": "building-restaurant",
         
     | 
| 27 | 
         
            +
                "13": "building-sportsfacility",
         
     | 
| 28 | 
         
            +
                "14": "building-theater",
         
     | 
| 29 | 
         
            +
                "15": "event-attack/battle/war/militaryconflict",
         
     | 
| 30 | 
         
            +
                "16": "event-disaster",
         
     | 
| 31 | 
         
            +
                "17": "event-election",
         
     | 
| 32 | 
         
            +
                "18": "event-other",
         
     | 
| 33 | 
         
            +
                "19": "event-protest",
         
     | 
| 34 | 
         
            +
                "20": "event-sportsevent",
         
     | 
| 35 | 
         
            +
                "21": "location-GPE",
         
     | 
| 36 | 
         
            +
                "22": "location-bodiesofwater",
         
     | 
| 37 | 
         
            +
                "23": "location-island",
         
     | 
| 38 | 
         
            +
                "24": "location-mountain",
         
     | 
| 39 | 
         
            +
                "25": "location-other",
         
     | 
| 40 | 
         
            +
                "26": "location-park",
         
     | 
| 41 | 
         
            +
                "27": "location-road/railway/highway/transit",
         
     | 
| 42 | 
         
            +
                "28": "organization-company",
         
     | 
| 43 | 
         
            +
                "29": "organization-education",
         
     | 
| 44 | 
         
            +
                "30": "organization-government/governmentagency",
         
     | 
| 45 | 
         
            +
                "31": "organization-media/newspaper",
         
     | 
| 46 | 
         
            +
                "32": "organization-other",
         
     | 
| 47 | 
         
            +
                "33": "organization-politicalparty",
         
     | 
| 48 | 
         
            +
                "34": "organization-religion",
         
     | 
| 49 | 
         
            +
                "35": "organization-showorganization",
         
     | 
| 50 | 
         
            +
                "36": "organization-sportsleague",
         
     | 
| 51 | 
         
            +
                "37": "organization-sportsteam",
         
     | 
| 52 | 
         
            +
                "38": "other-astronomything",
         
     | 
| 53 | 
         
            +
                "39": "other-award",
         
     | 
| 54 | 
         
            +
                "40": "other-biologything",
         
     | 
| 55 | 
         
            +
                "41": "other-chemicalthing",
         
     | 
| 56 | 
         
            +
                "42": "other-currency",
         
     | 
| 57 | 
         
            +
                "43": "other-disease",
         
     | 
| 58 | 
         
            +
                "44": "other-educationaldegree",
         
     | 
| 59 | 
         
            +
                "45": "other-god",
         
     | 
| 60 | 
         
            +
                "46": "other-language",
         
     | 
| 61 | 
         
            +
                "47": "other-law",
         
     | 
| 62 | 
         
            +
                "48": "other-livingthing",
         
     | 
| 63 | 
         
            +
                "49": "other-medical",
         
     | 
| 64 | 
         
            +
                "50": "person-actor",
         
     | 
| 65 | 
         
            +
                "51": "person-artist/author",
         
     | 
| 66 | 
         
            +
                "52": "person-athlete",
         
     | 
| 67 | 
         
            +
                "53": "person-director",
         
     | 
| 68 | 
         
            +
                "54": "person-other",
         
     | 
| 69 | 
         
            +
                "55": "person-politician",
         
     | 
| 70 | 
         
            +
                "56": "person-scholar",
         
     | 
| 71 | 
         
            +
                "57": "person-soldier",
         
     | 
| 72 | 
         
            +
                "58": "product-airplane",
         
     | 
| 73 | 
         
            +
                "59": "product-car",
         
     | 
| 74 | 
         
            +
                "60": "product-food",
         
     | 
| 75 | 
         
            +
                "61": "product-game",
         
     | 
| 76 | 
         
            +
                "62": "product-other",
         
     | 
| 77 | 
         
            +
                "63": "product-ship",
         
     | 
| 78 | 
         
            +
                "64": "product-software",
         
     | 
| 79 | 
         
            +
                "65": "product-train",
         
     | 
| 80 | 
         
            +
                "66": "product-weapon"
         
     | 
| 81 | 
         
            +
              },
         
     | 
| 82 | 
         
            +
              "initializer_range": 0.02,
         
     | 
| 83 | 
         
            +
              "intermediate_size": 3072,
         
     | 
| 84 | 
         
            +
              "label2id": {
         
     | 
| 85 | 
         
            +
                "O": 0,
         
     | 
| 86 | 
         
            +
                "art-broadcastprogram": 1,
         
     | 
| 87 | 
         
            +
                "art-film": 2,
         
     | 
| 88 | 
         
            +
                "art-music": 3,
         
     | 
| 89 | 
         
            +
                "art-other": 4,
         
     | 
| 90 | 
         
            +
                "art-painting": 5,
         
     | 
| 91 | 
         
            +
                "art-writtenart": 6,
         
     | 
| 92 | 
         
            +
                "building-airport": 7,
         
     | 
| 93 | 
         
            +
                "building-hospital": 8,
         
     | 
| 94 | 
         
            +
                "building-hotel": 9,
         
     | 
| 95 | 
         
            +
                "building-library": 10,
         
     | 
| 96 | 
         
            +
                "building-other": 11,
         
     | 
| 97 | 
         
            +
                "building-restaurant": 12,
         
     | 
| 98 | 
         
            +
                "building-sportsfacility": 13,
         
     | 
| 99 | 
         
            +
                "building-theater": 14,
         
     | 
| 100 | 
         
            +
                "event-attack/battle/war/militaryconflict": 15,
         
     | 
| 101 | 
         
            +
                "event-disaster": 16,
         
     | 
| 102 | 
         
            +
                "event-election": 17,
         
     | 
| 103 | 
         
            +
                "event-other": 18,
         
     | 
| 104 | 
         
            +
                "event-protest": 19,
         
     | 
| 105 | 
         
            +
                "event-sportsevent": 20,
         
     | 
| 106 | 
         
            +
                "location-GPE": 21,
         
     | 
| 107 | 
         
            +
                "location-bodiesofwater": 22,
         
     | 
| 108 | 
         
            +
                "location-island": 23,
         
     | 
| 109 | 
         
            +
                "location-mountain": 24,
         
     | 
| 110 | 
         
            +
                "location-other": 25,
         
     | 
| 111 | 
         
            +
                "location-park": 26,
         
     | 
| 112 | 
         
            +
                "location-road/railway/highway/transit": 27,
         
     | 
| 113 | 
         
            +
                "organization-company": 28,
         
     | 
| 114 | 
         
            +
                "organization-education": 29,
         
     | 
| 115 | 
         
            +
                "organization-government/governmentagency": 30,
         
     | 
| 116 | 
         
            +
                "organization-media/newspaper": 31,
         
     | 
| 117 | 
         
            +
                "organization-other": 32,
         
     | 
| 118 | 
         
            +
                "organization-politicalparty": 33,
         
     | 
| 119 | 
         
            +
                "organization-religion": 34,
         
     | 
| 120 | 
         
            +
                "organization-showorganization": 35,
         
     | 
| 121 | 
         
            +
                "organization-sportsleague": 36,
         
     | 
| 122 | 
         
            +
                "organization-sportsteam": 37,
         
     | 
| 123 | 
         
            +
                "other-astronomything": 38,
         
     | 
| 124 | 
         
            +
                "other-award": 39,
         
     | 
| 125 | 
         
            +
                "other-biologything": 40,
         
     | 
| 126 | 
         
            +
                "other-chemicalthing": 41,
         
     | 
| 127 | 
         
            +
                "other-currency": 42,
         
     | 
| 128 | 
         
            +
                "other-disease": 43,
         
     | 
| 129 | 
         
            +
                "other-educationaldegree": 44,
         
     | 
| 130 | 
         
            +
                "other-god": 45,
         
     | 
| 131 | 
         
            +
                "other-language": 46,
         
     | 
| 132 | 
         
            +
                "other-law": 47,
         
     | 
| 133 | 
         
            +
                "other-livingthing": 48,
         
     | 
| 134 | 
         
            +
                "other-medical": 49,
         
     | 
| 135 | 
         
            +
                "person-actor": 50,
         
     | 
| 136 | 
         
            +
                "person-artist/author": 51,
         
     | 
| 137 | 
         
            +
                "person-athlete": 52,
         
     | 
| 138 | 
         
            +
                "person-director": 53,
         
     | 
| 139 | 
         
            +
                "person-other": 54,
         
     | 
| 140 | 
         
            +
                "person-politician": 55,
         
     | 
| 141 | 
         
            +
                "person-scholar": 56,
         
     | 
| 142 | 
         
            +
                "person-soldier": 57,
         
     | 
| 143 | 
         
            +
                "product-airplane": 58,
         
     | 
| 144 | 
         
            +
                "product-car": 59,
         
     | 
| 145 | 
         
            +
                "product-food": 60,
         
     | 
| 146 | 
         
            +
                "product-game": 61,
         
     | 
| 147 | 
         
            +
                "product-other": 62,
         
     | 
| 148 | 
         
            +
                "product-ship": 63,
         
     | 
| 149 | 
         
            +
                "product-software": 64,
         
     | 
| 150 | 
         
            +
                "product-train": 65,
         
     | 
| 151 | 
         
            +
                "product-weapon": 66
         
     | 
| 152 | 
         
            +
              },
         
     | 
| 153 | 
         
            +
              "layer_norm_eps": 1e-05,
         
     | 
| 154 | 
         
            +
              "max_position_embeddings": 514,
         
     | 
| 155 | 
         
            +
              "model_type": "roberta",
         
     | 
| 156 | 
         
            +
              "num_attention_heads": 12,
         
     | 
| 157 | 
         
            +
              "num_hidden_layers": 12,
         
     | 
| 158 | 
         
            +
              "output_hidden_states": true,
         
     | 
| 159 | 
         
            +
              "pad_token_id": 1,
         
     | 
| 160 | 
         
            +
              "position_embedding_type": "absolute",
         
     | 
| 161 | 
         
            +
              "torch_dtype": "float32",
         
     | 
| 162 | 
         
            +
              "transformers_version": "4.36.0",
         
     | 
| 163 | 
         
            +
              "type_vocab_size": 1,
         
     | 
| 164 | 
         
            +
              "use_cache": true,
         
     | 
| 165 | 
         
            +
              "vocab_size": 50265
         
     | 
| 166 | 
         
            +
            }
         
     | 
    	
        model.safetensors
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:8d3a156f488387b81d786edbcc86bbd1985bb668cb4a487296cfc96307f3d038
         
     | 
| 3 | 
         
            +
            size 496450188
         
     |