rain1024 commited on
Commit
cc390d8
1 Parent(s): c014135

Upload BertForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +55 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "vietnamese-ner-v1.4.0a2",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "BertForTokenClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "directionality": "bidi",
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "B-LOC",
15
+ "1": "B-MISC",
16
+ "2": "B-ORG",
17
+ "3": "B-PER",
18
+ "4": "I-LOC",
19
+ "5": "I-MISC",
20
+ "6": "I-ORG",
21
+ "7": "I-PER",
22
+ "8": "O"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "B-LOC": "0",
28
+ "B-MISC": "1",
29
+ "B-ORG": "2",
30
+ "B-PER": "3",
31
+ "I-LOC": "4",
32
+ "I-MISC": "5",
33
+ "I-ORG": "6",
34
+ "I-PER": "7",
35
+ "O": "8"
36
+ },
37
+ "layer_norm_eps": 1e-12,
38
+ "max_position_embeddings": 512,
39
+ "model_type": "bert",
40
+ "num_attention_heads": 12,
41
+ "num_hidden_layers": 12,
42
+ "output_past": true,
43
+ "pad_token_id": 0,
44
+ "pooler_fc_size": 768,
45
+ "pooler_num_attention_heads": 12,
46
+ "pooler_num_fc_layers": 3,
47
+ "pooler_size_per_head": 128,
48
+ "pooler_type": "first_token_transform",
49
+ "position_embedding_type": "absolute",
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.24.0",
52
+ "type_vocab_size": 2,
53
+ "use_cache": true,
54
+ "vocab_size": 38168
55
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f17a2fb5400ee654d11f254c3adf25a6b4a67513f3d9ca568722375ea930c68
3
+ size 459150385