edchengg
commited on
Commit
โข
d668bf2
1
Parent(s):
5e5fda0
First model version
Browse files- config.json +65 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +9 -0
- tf_model.h5 +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +15 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "arabic-ner-ace-gigabert/",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
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": "B-PER",
|
15 |
+
"2": "I-PER",
|
16 |
+
"3": "B-VEH",
|
17 |
+
"4": "I-VEH",
|
18 |
+
"5": "B-GPE",
|
19 |
+
"6": "I-GPE",
|
20 |
+
"7": "B-WEA",
|
21 |
+
"8": "I-WEA",
|
22 |
+
"9": "B-ORG",
|
23 |
+
"10": "I-ORG",
|
24 |
+
"11": "B-LOC",
|
25 |
+
"12": "I-LOC",
|
26 |
+
"13": "B-FAC",
|
27 |
+
"14": "I-FAC"
|
28 |
+
},
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"intermediate_size": 3072,
|
31 |
+
"label2id": {
|
32 |
+
"B-FAC": 13,
|
33 |
+
"B-GPE": 5,
|
34 |
+
"B-LOC": 11,
|
35 |
+
"B-ORG": 9,
|
36 |
+
"B-PER": 1,
|
37 |
+
"B-VEH": 3,
|
38 |
+
"B-WEA": 7,
|
39 |
+
"I-FAC": 14,
|
40 |
+
"I-GPE": 6,
|
41 |
+
"I-LOC": 12,
|
42 |
+
"I-ORG": 10,
|
43 |
+
"I-PER": 2,
|
44 |
+
"I-VEH": 4,
|
45 |
+
"I-WEA": 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.20.0.dev0",
|
62 |
+
"type_vocab_size": 2,
|
63 |
+
"use_cache": true,
|
64 |
+
"vocab_size": 50000
|
65 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c4ac9cf454cd16e5cb43698cd1c6e7d0cc101a2c6bd8098cb8a73ce2ab102ad9
|
3 |
+
size 495519537
|
special_tokens_map.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"eos_token": "[SEP]",
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"pad_token": "[PAD]",
|
7 |
+
"sep_token": "[SEP]",
|
8 |
+
"unk_token": "[UNK]"
|
9 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb6893c16bc620c4e698e08dd0b47a114ec9cca96ca63c378ee114824ea7bbee
|
3 |
+
size 498082204
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"do_basic_tokenize": true,
|
4 |
+
"do_lower_case": true,
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"name_or_path": "lanwuwei/GigaBERT-v4-Arabic-and-English",
|
7 |
+
"never_split": null,
|
8 |
+
"pad_token": "[PAD]",
|
9 |
+
"sep_token": "[SEP]",
|
10 |
+
"special_tokens_map_file": "/srv/share5/ychen3411/huggingface_cache/c8a919731ad7551df88a744a8399190ea80a9961eaf96b8a59f86ef617e5144f.6a644b330fad284f98393c5832f71bce43df6855fa6ac7c9e44ed6271b708170",
|
11 |
+
"strip_accents": null,
|
12 |
+
"tokenize_chinese_chars": true,
|
13 |
+
"tokenizer_class": "BertTokenizer",
|
14 |
+
"unk_token": "[UNK]"
|
15 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|