Upload BertForTokenClassification
Browse files- config.json +100 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "/mnt/storage/expts-archived/queryner/augment-train-aug-plus-orig/51/all_transformations/checkpoint-9720",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"gradient_checkpointing": false,
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "O",
|
| 14 |
+
"1": "B-UoM",
|
| 15 |
+
"2": "I-UoM",
|
| 16 |
+
"3": "B-color",
|
| 17 |
+
"4": "I-color",
|
| 18 |
+
"5": "B-condition",
|
| 19 |
+
"6": "I-condition",
|
| 20 |
+
"7": "B-content",
|
| 21 |
+
"8": "I-content",
|
| 22 |
+
"9": "B-core_product_type",
|
| 23 |
+
"10": "I-core_product_type",
|
| 24 |
+
"11": "B-creator",
|
| 25 |
+
"12": "I-creator",
|
| 26 |
+
"13": "B-department",
|
| 27 |
+
"14": "I-department",
|
| 28 |
+
"15": "B-material",
|
| 29 |
+
"16": "I-material",
|
| 30 |
+
"17": "B-modifier",
|
| 31 |
+
"18": "I-modifier",
|
| 32 |
+
"19": "B-occasion",
|
| 33 |
+
"20": "I-occasion",
|
| 34 |
+
"21": "B-origin",
|
| 35 |
+
"22": "I-origin",
|
| 36 |
+
"23": "B-price",
|
| 37 |
+
"24": "I-price",
|
| 38 |
+
"25": "B-product_name",
|
| 39 |
+
"26": "I-product_name",
|
| 40 |
+
"27": "B-product_number",
|
| 41 |
+
"28": "I-product_number",
|
| 42 |
+
"29": "B-quantity",
|
| 43 |
+
"30": "I-quantity",
|
| 44 |
+
"31": "B-shape",
|
| 45 |
+
"32": "I-shape",
|
| 46 |
+
"33": "B-time",
|
| 47 |
+
"34": "I-time"
|
| 48 |
+
},
|
| 49 |
+
"initializer_range": 0.02,
|
| 50 |
+
"intermediate_size": 3072,
|
| 51 |
+
"label2id": {
|
| 52 |
+
"B-UoM": 1,
|
| 53 |
+
"B-color": 3,
|
| 54 |
+
"B-condition": 5,
|
| 55 |
+
"B-content": 7,
|
| 56 |
+
"B-core_product_type": 9,
|
| 57 |
+
"B-creator": 11,
|
| 58 |
+
"B-department": 13,
|
| 59 |
+
"B-material": 15,
|
| 60 |
+
"B-modifier": 17,
|
| 61 |
+
"B-occasion": 19,
|
| 62 |
+
"B-origin": 21,
|
| 63 |
+
"B-price": 23,
|
| 64 |
+
"B-product_name": 25,
|
| 65 |
+
"B-product_number": 27,
|
| 66 |
+
"B-quantity": 29,
|
| 67 |
+
"B-shape": 31,
|
| 68 |
+
"B-time": 33,
|
| 69 |
+
"I-UoM": 2,
|
| 70 |
+
"I-color": 4,
|
| 71 |
+
"I-condition": 6,
|
| 72 |
+
"I-content": 8,
|
| 73 |
+
"I-core_product_type": 10,
|
| 74 |
+
"I-creator": 12,
|
| 75 |
+
"I-department": 14,
|
| 76 |
+
"I-material": 16,
|
| 77 |
+
"I-modifier": 18,
|
| 78 |
+
"I-occasion": 20,
|
| 79 |
+
"I-origin": 22,
|
| 80 |
+
"I-price": 24,
|
| 81 |
+
"I-product_name": 26,
|
| 82 |
+
"I-product_number": 28,
|
| 83 |
+
"I-quantity": 30,
|
| 84 |
+
"I-shape": 32,
|
| 85 |
+
"I-time": 34,
|
| 86 |
+
"O": 0
|
| 87 |
+
},
|
| 88 |
+
"layer_norm_eps": 1e-12,
|
| 89 |
+
"max_position_embeddings": 512,
|
| 90 |
+
"model_type": "bert",
|
| 91 |
+
"num_attention_heads": 12,
|
| 92 |
+
"num_hidden_layers": 12,
|
| 93 |
+
"pad_token_id": 0,
|
| 94 |
+
"position_embedding_type": "absolute",
|
| 95 |
+
"torch_dtype": "float32",
|
| 96 |
+
"transformers_version": "4.33.2",
|
| 97 |
+
"type_vocab_size": 2,
|
| 98 |
+
"use_cache": true,
|
| 99 |
+
"vocab_size": 30523
|
| 100 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0018e990d6533095688b7b24543ac60e9a7956f69fe46b9b73a81e19640cb8b1
|
| 3 |
+
size 435742249
|