whatthexue
commited on
Commit
·
0f9d995
1
Parent(s):
51dd231
Update model for bert-base-uncased-ner
Browse files- .DS_Store +0 -0
- config.json +5 -3
- model.onnx +3 -0
- tokenizer_config.json +4 -0
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
config.json
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
-
"architectures": [
|
|
|
|
|
4 |
"attention_probs_dropout_prob": 0.1,
|
5 |
"classifier_dropout": null,
|
6 |
"gradient_checkpointing": false,
|
@@ -38,7 +40,7 @@
|
|
38 |
"num_hidden_layers": 12,
|
39 |
"pad_token_id": 0,
|
40 |
"position_embedding_type": "absolute",
|
41 |
-
"transformers_version": "4.
|
42 |
"type_vocab_size": 2,
|
43 |
"use_cache": true,
|
44 |
"vocab_size": 30522
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "joshuaphua/bert-base-uncased-conll2003",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"classifier_dropout": null,
|
8 |
"gradient_checkpointing": false,
|
|
|
40 |
"num_hidden_layers": 12,
|
41 |
"pad_token_id": 0,
|
42 |
"position_embedding_type": "absolute",
|
43 |
+
"transformers_version": "4.33.2",
|
44 |
"type_vocab_size": 2,
|
45 |
"use_cache": true,
|
46 |
"vocab_size": 30522
|
model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:216c828c2006ecfec87a2650c50c606524f0043c2c16a98c5a8c0c62e9424573
|
3 |
+
size 435860493
|
tokenizer_config.json
CHANGED
@@ -3,11 +3,15 @@
|
|
3 |
"cls_token": "[CLS]",
|
4 |
"do_lower_case": true,
|
5 |
"mask_token": "[MASK]",
|
|
|
6 |
"model_max_length": 512,
|
7 |
"pad_token": "[PAD]",
|
8 |
"sep_token": "[SEP]",
|
|
|
9 |
"strip_accents": null,
|
10 |
"tokenize_chinese_chars": true,
|
11 |
"tokenizer_class": "BertTokenizer",
|
|
|
|
|
12 |
"unk_token": "[UNK]"
|
13 |
}
|
|
|
3 |
"cls_token": "[CLS]",
|
4 |
"do_lower_case": true,
|
5 |
"mask_token": "[MASK]",
|
6 |
+
"max_length": 512,
|
7 |
"model_max_length": 512,
|
8 |
"pad_token": "[PAD]",
|
9 |
"sep_token": "[SEP]",
|
10 |
+
"stride": 0,
|
11 |
"strip_accents": null,
|
12 |
"tokenize_chinese_chars": true,
|
13 |
"tokenizer_class": "BertTokenizer",
|
14 |
+
"truncation_side": "right",
|
15 |
+
"truncation_strategy": "longest_first",
|
16 |
"unk_token": "[UNK]"
|
17 |
}
|