wannaphong
commited on
Commit
•
395fb46
1
Parent(s):
f3edfb6
Upload CamembertForTokenClassification
Browse files- config.json +105 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "airesearch/wangchanberta-base-att-spm-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"CamembertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "B-PERSON",
|
16 |
+
"1": "I-PERSON",
|
17 |
+
"2": "O",
|
18 |
+
"3": "B-ORGANIZATION",
|
19 |
+
"4": "B-LOCATION",
|
20 |
+
"5": "I-ORGANIZATION",
|
21 |
+
"6": "I-LOCATION",
|
22 |
+
"7": "B-DATE",
|
23 |
+
"8": "I-DATE",
|
24 |
+
"9": "B-TIME",
|
25 |
+
"10": "I-TIME",
|
26 |
+
"11": "B-MONEY",
|
27 |
+
"12": "I-MONEY",
|
28 |
+
"13": "B-FACILITY",
|
29 |
+
"14": "I-FACILITY",
|
30 |
+
"15": "B-URL",
|
31 |
+
"16": "I-URL",
|
32 |
+
"17": "B-PERCENT",
|
33 |
+
"18": "I-PERCENT",
|
34 |
+
"19": "B-LEN",
|
35 |
+
"20": "I-LEN",
|
36 |
+
"21": "B-AGO",
|
37 |
+
"22": "I-AGO",
|
38 |
+
"23": "B-LAW",
|
39 |
+
"24": "I-LAW",
|
40 |
+
"25": "B-PHONE",
|
41 |
+
"26": "I-PHONE",
|
42 |
+
"27": "B-EMAIL",
|
43 |
+
"28": "I-EMAIL",
|
44 |
+
"29": "B-ZIP",
|
45 |
+
"30": "B-TEMPERATURE",
|
46 |
+
"31": "I-TEMPERATURE",
|
47 |
+
"32": "B-DTAE",
|
48 |
+
"33": "I-DTAE",
|
49 |
+
"34": "B-DATA",
|
50 |
+
"35": "I-DATA"
|
51 |
+
},
|
52 |
+
"initializer_range": 0.02,
|
53 |
+
"intermediate_size": 3072,
|
54 |
+
"label2id": {
|
55 |
+
"B-AGO": 21,
|
56 |
+
"B-DATA": 34,
|
57 |
+
"B-DATE": 7,
|
58 |
+
"B-DTAE": 32,
|
59 |
+
"B-EMAIL": 27,
|
60 |
+
"B-FACILITY": 13,
|
61 |
+
"B-LAW": 23,
|
62 |
+
"B-LEN": 19,
|
63 |
+
"B-LOCATION": 4,
|
64 |
+
"B-MONEY": 11,
|
65 |
+
"B-ORGANIZATION": 3,
|
66 |
+
"B-PERCENT": 17,
|
67 |
+
"B-PERSON": 0,
|
68 |
+
"B-PHONE": 25,
|
69 |
+
"B-TEMPERATURE": 30,
|
70 |
+
"B-TIME": 9,
|
71 |
+
"B-URL": 15,
|
72 |
+
"B-ZIP": 29,
|
73 |
+
"I-AGO": 22,
|
74 |
+
"I-DATA": 35,
|
75 |
+
"I-DATE": 8,
|
76 |
+
"I-DTAE": 33,
|
77 |
+
"I-EMAIL": 28,
|
78 |
+
"I-FACILITY": 14,
|
79 |
+
"I-LAW": 24,
|
80 |
+
"I-LEN": 20,
|
81 |
+
"I-LOCATION": 6,
|
82 |
+
"I-MONEY": 12,
|
83 |
+
"I-ORGANIZATION": 5,
|
84 |
+
"I-PERCENT": 18,
|
85 |
+
"I-PERSON": 1,
|
86 |
+
"I-PHONE": 26,
|
87 |
+
"I-TEMPERATURE": 31,
|
88 |
+
"I-TIME": 10,
|
89 |
+
"I-URL": 16,
|
90 |
+
"O": 2
|
91 |
+
},
|
92 |
+
"layer_norm_eps": 1e-12,
|
93 |
+
"max_position_embeddings": 512,
|
94 |
+
"model_type": "camembert",
|
95 |
+
"num_attention_head": 12,
|
96 |
+
"num_attention_heads": 12,
|
97 |
+
"num_hidden_layers": 12,
|
98 |
+
"pad_token_id": 1,
|
99 |
+
"position_embedding_type": "absolute",
|
100 |
+
"torch_dtype": "float32",
|
101 |
+
"transformers_version": "4.27.1",
|
102 |
+
"type_vocab_size": 1,
|
103 |
+
"use_cache": true,
|
104 |
+
"vocab_size": 25005
|
105 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a9471ce65ce8721497d899e4c8a0e8e54579a310084b0e80ac6d5252539f23c
|
3 |
+
size 418798765
|