darekpe79 commited on
Commit
e0f904d
·
verified ·
1 Parent(s): 82ea073

Upload 7 files

Browse files
Files changed (7) hide show
  1. best_model.pt +3 -0
  2. config.json +50 -0
  3. merges.txt +0 -0
  4. special_tokens_map.json +8 -0
  5. tag2id.json +1 -0
  6. tokenizer.json +0 -0
  7. vocab.json +0 -0
best_model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5cbb6c7bfe75d1088625ec32980ffa4789dceac590c364792873aacbda84e338
3
+ size 1416342917
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "C:/Users/dariu/model_ner_3/",
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": 1024,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-PLAY",
15
+ "2": "I-PLAY",
16
+ "3": "B-EVENT",
17
+ "4": "I-EVENT",
18
+ "5": "B-BOOK",
19
+ "6": "I-BOOK"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 4096,
23
+ "label2id": {
24
+ "B-BOOK": 5,
25
+ "B-EVENT": 3,
26
+ "B-PLAY": 1,
27
+ "I-BOOK": 6,
28
+ "I-EVENT": 4,
29
+ "I-PLAY": 2,
30
+ "O": 0
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "max_position_embeddings": 514,
34
+ "model_type": "bert",
35
+ "num_attention_heads": 16,
36
+ "num_hidden_layers": 24,
37
+ "pad_token_id": 1,
38
+ "pooler_fc_size": 768,
39
+ "pooler_num_attention_heads": 12,
40
+ "pooler_num_fc_layers": 3,
41
+ "pooler_size_per_head": 128,
42
+ "pooler_type": "first_token_transform",
43
+ "position_embedding_type": "absolute",
44
+ "tokenizer_class": "HerbertTokenizerFast",
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.36.0",
47
+ "type_vocab_size": 2,
48
+ "use_cache": true,
49
+ "vocab_size": 50000
50
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "mask_token": "<mask>",
5
+ "pad_token": "<pad>",
6
+ "sep_token": "</s>",
7
+ "unk_token": "<unk>"
8
+ }
tag2id.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"O": 0, "B-PLAY": 1, "I-PLAY": 2, "B-EVENT": 3, "I-EVENT": 4, "B-BOOK": 5, "I-BOOK": 6}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
vocab.json ADDED
The diff for this file is too large to render. See raw diff