mma commited on
Commit
72450c6
1 Parent(s): 91631ef

fine tunned on parsbert

Browse files
Files changed (6) hide show
  1. .gitignore +1 -0
  2. config.json +54 -0
  3. special_tokens_map.json +1 -0
  4. tf_model.h5 +3 -0
  5. tokenizer_config.json +1 -0
  6. vocab.txt +0 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
1
+ .DS_Store
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "HooshvareLab/bert-base-parsbert-uncased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "gradient_checkpointing": false,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "B-EVE",
13
+ "1": "B-LOC",
14
+ "2": "B-NAT",
15
+ "3": "B-ORG",
16
+ "4": "B-PER",
17
+ "5": "B-POG",
18
+ "6": "I-EVE",
19
+ "7": "I-LOC",
20
+ "8": "I-NAT",
21
+ "9": "I-ORG",
22
+ "10": "I-PER",
23
+ "11": "I-POG",
24
+ "12": "O"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "label2id": {
29
+ "B-EVE": 0,
30
+ "B-LOC": 1,
31
+ "B-NAT": 2,
32
+ "B-ORG": 3,
33
+ "B-PER": 4,
34
+ "B-POG": 5,
35
+ "I-EVE": 6,
36
+ "I-LOC": 7,
37
+ "I-NAT": 8,
38
+ "I-ORG": 9,
39
+ "I-PER": 10,
40
+ "I-POG": 11,
41
+ "O": 12
42
+ },
43
+ "layer_norm_eps": 1e-12,
44
+ "max_position_embeddings": 512,
45
+ "model_type": "bert",
46
+ "num_attention_heads": 12,
47
+ "num_hidden_layers": 12,
48
+ "pad_token_id": 0,
49
+ "position_embedding_type": "absolute",
50
+ "transformers_version": "4.6.0.dev0",
51
+ "type_vocab_size": 2,
52
+ "use_cache": true,
53
+ "vocab_size": 100000
54
+ }
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19547d8277bf481fed35f04f9f867146b549694498a1130ed07eaa1e3f5da205
3
+ size 649311328
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
1
+ {"do_lower_case": true, "do_basic_tokenize": true, "never_split": null, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "HooshvareLab/bert-base-parsbert-uncased"}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff