Spaces:
Running
Running
Commit
•
eb15bc1
1
Parent(s):
3e0cc3d
Upload 7 files
Browse files- config.json +36 -0
- model_config.json +46 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"BertForMaskedLM"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"finetuning_task": null,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.1,
|
9 |
+
"hidden_size": 768,
|
10 |
+
"id2label": {
|
11 |
+
"0": "LABEL_0",
|
12 |
+
"1": "LABEL_1"
|
13 |
+
},
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 3072,
|
16 |
+
"is_decoder": false,
|
17 |
+
"label2id": {
|
18 |
+
"LABEL_0": 0,
|
19 |
+
"LABEL_1": 1
|
20 |
+
},
|
21 |
+
"layer_norm_eps": 1e-12,
|
22 |
+
"max_position_embeddings": 512,
|
23 |
+
"model_type": "bert",
|
24 |
+
"num_attention_heads": 12,
|
25 |
+
"num_hidden_layers": 12,
|
26 |
+
"num_labels": 35,
|
27 |
+
"output_attentions": false,
|
28 |
+
"output_hidden_states": false,
|
29 |
+
"output_past": true,
|
30 |
+
"pad_token_id": 0,
|
31 |
+
"pruned_heads": {},
|
32 |
+
"torchscript": false,
|
33 |
+
"type_vocab_size": 2,
|
34 |
+
"use_bfloat16": false,
|
35 |
+
"vocab_size": 28996
|
36 |
+
}
|
model_config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bert_model": "bert-base-cased",
|
3 |
+
"do_lower": false,
|
4 |
+
"max_seq_length": 128,
|
5 |
+
"num_labels": 36,
|
6 |
+
"label_map":
|
7 |
+
{
|
8 |
+
"0" :"O",
|
9 |
+
"1" :"B-ORG",
|
10 |
+
"2" :"I-ORG",
|
11 |
+
"3" :"B-ART",
|
12 |
+
"4" :"I-ART",
|
13 |
+
"5" :"B-CARDINAL",
|
14 |
+
"6" :"I-CARDINAL",
|
15 |
+
"7" :"B-ORDINAL",
|
16 |
+
"8" :"I_ORDINAL",
|
17 |
+
"9" :"B-QUANTITY",
|
18 |
+
"10" :"I-QUANTITY",
|
19 |
+
"11" :"B-PER",
|
20 |
+
"12" :"I-PER",
|
21 |
+
"13" :"B-LOC",
|
22 |
+
"14" :"I-LOC",
|
23 |
+
"15" :"B-TIME",
|
24 |
+
"16" :"I-TIME",
|
25 |
+
"17" :"B-DATE",
|
26 |
+
"18" :"I-DATE",
|
27 |
+
"19" :"B-FAC",
|
28 |
+
"20" :"I-FAC",
|
29 |
+
"21" :"B-EVENT",
|
30 |
+
"22" :"I-EVENT",
|
31 |
+
"23" :"B-NORP",
|
32 |
+
"24" :"I-NORP",
|
33 |
+
"25" :"B-LANGUAGE",
|
34 |
+
"26" :"I-LANGUAGE",
|
35 |
+
"27" :"B-MONEY",
|
36 |
+
"28" :"I-MONEY",
|
37 |
+
"29" :"B-PERCENT",
|
38 |
+
"30" :"I-PERCENT",
|
39 |
+
"31" :"B-PRODUCT",
|
40 |
+
"32" :"I-PRODUCT ",
|
41 |
+
"33" :"B-LAW",
|
42 |
+
"34" :"I-LAW",
|
43 |
+
"35" :"[CLS]",
|
44 |
+
"36" :"[SEP]"
|
45 |
+
}
|
46 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0dacd0c63a903a2f84b7da6008b2b8cc72f9b4eb16ecf97a3d46dc4ec79e3484
|
3 |
+
size 433396973
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": false, "max_len": 512, "init_inputs": []}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91f423adc1e15ce060ad0958db21a713ef41d0b1f4a74736d7a30e5355652f90
|
3 |
+
size 1254
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|