Upload BertForTokenClassification
Browse files- config.json +63 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "cl-tohoku/bert-base-japanese-v3",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"hidden_act": "gelu",
|
| 9 |
+
"hidden_dropout_prob": 0.1,
|
| 10 |
+
"hidden_size": 768,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "O",
|
| 13 |
+
"1": "B-\u305d\u306e\u4ed6\u306e\u7d44\u7e54\u540d",
|
| 14 |
+
"2": "I-\u305d\u306e\u4ed6\u306e\u7d44\u7e54\u540d",
|
| 15 |
+
"3": "B-\u30a4\u30d9\u30f3\u30c8\u540d",
|
| 16 |
+
"4": "I-\u30a4\u30d9\u30f3\u30c8\u540d",
|
| 17 |
+
"5": "B-\u4eba\u540d",
|
| 18 |
+
"6": "I-\u4eba\u540d",
|
| 19 |
+
"7": "B-\u5730\u540d",
|
| 20 |
+
"8": "I-\u5730\u540d",
|
| 21 |
+
"9": "B-\u653f\u6cbb\u7684\u7d44\u7e54\u540d",
|
| 22 |
+
"10": "I-\u653f\u6cbb\u7684\u7d44\u7e54\u540d",
|
| 23 |
+
"11": "B-\u65bd\u8a2d\u540d",
|
| 24 |
+
"12": "I-\u65bd\u8a2d\u540d",
|
| 25 |
+
"13": "B-\u6cd5\u4eba\u540d",
|
| 26 |
+
"14": "I-\u6cd5\u4eba\u540d",
|
| 27 |
+
"15": "B-\u88fd\u54c1\u540d",
|
| 28 |
+
"16": "I-\u88fd\u54c1\u540d"
|
| 29 |
+
},
|
| 30 |
+
"initializer_range": 0.02,
|
| 31 |
+
"intermediate_size": 3072,
|
| 32 |
+
"label2id": {
|
| 33 |
+
"B-\u305d\u306e\u4ed6\u306e\u7d44\u7e54\u540d": 1,
|
| 34 |
+
"B-\u30a4\u30d9\u30f3\u30c8\u540d": 3,
|
| 35 |
+
"B-\u4eba\u540d": 5,
|
| 36 |
+
"B-\u5730\u540d": 7,
|
| 37 |
+
"B-\u653f\u6cbb\u7684\u7d44\u7e54\u540d": 9,
|
| 38 |
+
"B-\u65bd\u8a2d\u540d": 11,
|
| 39 |
+
"B-\u6cd5\u4eba\u540d": 13,
|
| 40 |
+
"B-\u88fd\u54c1\u540d": 15,
|
| 41 |
+
"I-\u305d\u306e\u4ed6\u306e\u7d44\u7e54\u540d": 2,
|
| 42 |
+
"I-\u30a4\u30d9\u30f3\u30c8\u540d": 4,
|
| 43 |
+
"I-\u4eba\u540d": 6,
|
| 44 |
+
"I-\u5730\u540d": 8,
|
| 45 |
+
"I-\u653f\u6cbb\u7684\u7d44\u7e54\u540d": 10,
|
| 46 |
+
"I-\u65bd\u8a2d\u540d": 12,
|
| 47 |
+
"I-\u6cd5\u4eba\u540d": 14,
|
| 48 |
+
"I-\u88fd\u54c1\u540d": 16,
|
| 49 |
+
"O": 0
|
| 50 |
+
},
|
| 51 |
+
"layer_norm_eps": 1e-12,
|
| 52 |
+
"max_position_embeddings": 512,
|
| 53 |
+
"model_type": "bert",
|
| 54 |
+
"num_attention_heads": 12,
|
| 55 |
+
"num_hidden_layers": 12,
|
| 56 |
+
"pad_token_id": 0,
|
| 57 |
+
"position_embedding_type": "absolute",
|
| 58 |
+
"torch_dtype": "float32",
|
| 59 |
+
"transformers_version": "4.45.1",
|
| 60 |
+
"type_vocab_size": 2,
|
| 61 |
+
"use_cache": true,
|
| 62 |
+
"vocab_size": 32768
|
| 63 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed0f0dea55917aa423d2b0074c986f42737ac8dc36233fbb51835940f77727cb
|
| 3 |
+
size 442541956
|