l3cube-pune
commited on
Commit
•
64d2bfd
1
Parent(s):
ea809df
Update model files
Browse files- config.json +65 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +17 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "l3cube-pune/ner-iob",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"directionality": "bidi",
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "BNETI",
|
15 |
+
"2": "BNEM",
|
16 |
+
"3": "BNEP",
|
17 |
+
"4": "BNEL",
|
18 |
+
"5": "BNED",
|
19 |
+
"6": "BNEO",
|
20 |
+
"7": "BED",
|
21 |
+
"8": "INETI",
|
22 |
+
"9": "INEM",
|
23 |
+
"10": "INEP",
|
24 |
+
"11": "INEL",
|
25 |
+
"12": "INED",
|
26 |
+
"13": "INEO",
|
27 |
+
"14": "IED"
|
28 |
+
},
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"intermediate_size": 3072,
|
31 |
+
"label2id": {
|
32 |
+
"BED": 7,
|
33 |
+
"BNED": 5,
|
34 |
+
"BNEL": 4,
|
35 |
+
"BNEM": 2,
|
36 |
+
"BNEO": 6,
|
37 |
+
"BNEP": 3,
|
38 |
+
"BNETI": 1,
|
39 |
+
"IED": 14,
|
40 |
+
"INED": 12,
|
41 |
+
"INEL": 11,
|
42 |
+
"INEM": 9,
|
43 |
+
"INEO": 13,
|
44 |
+
"INEP": 10,
|
45 |
+
"INETI": 8,
|
46 |
+
"O": 0
|
47 |
+
},
|
48 |
+
"layer_norm_eps": 1e-12,
|
49 |
+
"max_position_embeddings": 512,
|
50 |
+
"model_type": "bert",
|
51 |
+
"num_attention_heads": 12,
|
52 |
+
"num_hidden_layers": 12,
|
53 |
+
"pad_token_id": 0,
|
54 |
+
"pooler_fc_size": 768,
|
55 |
+
"pooler_num_attention_heads": 12,
|
56 |
+
"pooler_num_fc_layers": 3,
|
57 |
+
"pooler_size_per_head": 128,
|
58 |
+
"pooler_type": "first_token_transform",
|
59 |
+
"position_embedding_type": "absolute",
|
60 |
+
"torch_dtype": "float32",
|
61 |
+
"transformers_version": "4.22.0",
|
62 |
+
"type_vocab_size": 2,
|
63 |
+
"use_cache": true,
|
64 |
+
"vocab_size": 119547
|
65 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4376b590ebc948fec77e0c323f0d6491899d97aaf1d36cc7df8f5db17dd0e04
|
3 |
+
size 709166893
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_basic_tokenize": true,
|
5 |
+
"do_lower_case": false,
|
6 |
+
"mask_token": "[MASK]",
|
7 |
+
"model_max_length": 1000000000000000019884624838656,
|
8 |
+
"name_or_path": "l3cube-pune/ner-iob",
|
9 |
+
"never_split": null,
|
10 |
+
"pad_token": "[PAD]",
|
11 |
+
"sep_token": "[SEP]",
|
12 |
+
"special_tokens_map_file": "l3cube-pune/ner-iob/special_tokens_map.json",
|
13 |
+
"strip_accents": null,
|
14 |
+
"tokenize_chinese_chars": true,
|
15 |
+
"tokenizer_class": "BertTokenizer",
|
16 |
+
"unk_token": "[UNK]"
|
17 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|