lilaspourpre
commited on
Commit
•
56f736a
1
Parent(s):
a0af118
Upload BertForTokenClassification
Browse files- config.json +49 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "cointegrated/rubert-tiny",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"emb_size": 312,
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 312,
|
13 |
+
"id2label": {
|
14 |
+
"0": "I-Aspect",
|
15 |
+
"1": "B-Aspect",
|
16 |
+
"2": "I-Object2",
|
17 |
+
"3": "B-Object1",
|
18 |
+
"4": "I-Object1",
|
19 |
+
"5": "B-Object2",
|
20 |
+
"6": "B-CommonObj",
|
21 |
+
"7": "I-CommonObj",
|
22 |
+
"8": "O"
|
23 |
+
},
|
24 |
+
"initializer_range": 0.02,
|
25 |
+
"intermediate_size": 600,
|
26 |
+
"label2id": {
|
27 |
+
"B-Aspect": 1,
|
28 |
+
"B-CommonObj": 6,
|
29 |
+
"B-Object1": 3,
|
30 |
+
"B-Object2": 5,
|
31 |
+
"I-Aspect": 0,
|
32 |
+
"I-CommonObj": 7,
|
33 |
+
"I-Object1": 4,
|
34 |
+
"I-Object2": 2,
|
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": 3,
|
42 |
+
"pad_token_id": 0,
|
43 |
+
"position_embedding_type": "absolute",
|
44 |
+
"torch_dtype": "float32",
|
45 |
+
"transformers_version": "4.28.0.dev0",
|
46 |
+
"type_vocab_size": 2,
|
47 |
+
"use_cache": true,
|
48 |
+
"vocab_size": 29564
|
49 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc5413b52d139ca836cc1347e189cdbc6248894ec2ea6232a4fecb392657bed5
|
3 |
+
size 46779033
|