gotheartem commited on
Commit
4b3a1ba
·
verified ·
1 Parent(s): 528028e

Upload BertForSequenceClassification

Browse files
config.json CHANGED
@@ -1,41 +1,41 @@
1
- {
2
- "_name_or_path": "unthinkable/RuFinBERT_turbo_multitarget",
3
- "architectures": [
4
- "BertForSequenceClassification"
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": "POSITIVE",
15
- "1": "NEGATIVE",
16
- "2": "NEUTRAL",
17
- "3": "NOT_RELATED_TO_RUSSIAN_ECONOMY",
18
- "4": "RELATED_TO_RUSSIAN_ECONOMY"
19
- },
20
- "initializer_range": 0.02,
21
- "intermediate_size": 600,
22
- "label2id": {
23
- "POSITIVE": 0,
24
- "NEGATIVE": 1,
25
- "NEUTRAL": 2,
26
- "NOT_RELATED_TO_RUSSIAN_ECONOMY": 3,
27
- "RELATED_TO_RUSSIAN_ECONOMY": 4
28
- },
29
- "layer_norm_eps": 1e-12,
30
- "max_position_embeddings": 2048,
31
- "model_type": "bert",
32
- "num_attention_heads": 12,
33
- "num_hidden_layers": 3,
34
- "pad_token_id": 0,
35
- "position_embedding_type": "absolute",
36
- "torch_dtype": "float16",
37
- "transformers_version": "4.42.3",
38
- "type_vocab_size": 2,
39
- "use_cache": true,
40
- "vocab_size": 83828
41
- }
 
1
+ {
2
+ "_name_or_path": "../checkpoints/rufinbert_4_turbo_2_target",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
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": "POSITIVE",
15
+ "1": "NEGATIVE",
16
+ "2": "NEUTRAL",
17
+ "3": "NOT_RELATED_TO_RUSSIAN_ECONOMY",
18
+ "4": "RELATED_TO_RUSSIAN_ECONOMY"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 600,
22
+ "label2id": {
23
+ "NEGATIVE": 1,
24
+ "NEUTRAL": 2,
25
+ "NOT_RELATED_TO_RUSSIAN_ECONOMY": 3,
26
+ "POSITIVE": 0,
27
+ "RELATED_TO_RUSSIAN_ECONOMY": 4
28
+ },
29
+ "layer_norm_eps": 1e-12,
30
+ "max_position_embeddings": 2048,
31
+ "model_type": "bert",
32
+ "num_attention_heads": 12,
33
+ "num_hidden_layers": 3,
34
+ "pad_token_id": 0,
35
+ "position_embedding_type": "absolute",
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.42.3",
38
+ "type_vocab_size": 2,
39
+ "use_cache": true,
40
+ "vocab_size": 83828
41
+ }
model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0b42632b276b7ca58e714c9eb26bd2478986ee56b077c2060fd3ac24d7fd884
3
+ size 104617496
model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27208f9c6a0f4baa087582233dde9699b54dea48771deacc732382697cc06d9c
3
+ size 12170244
model.safetensors.index.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 116781332
4
+ },
5
+ "weight_map": {
6
+ "bert.embeddings.LayerNorm.bias": "model-00002-of-00002.safetensors",
7
+ "bert.embeddings.LayerNorm.weight": "model-00002-of-00002.safetensors",
8
+ "bert.embeddings.position_embeddings.weight": "model-00002-of-00002.safetensors",
9
+ "bert.embeddings.token_type_embeddings.weight": "model-00002-of-00002.safetensors",
10
+ "bert.embeddings.word_embeddings.weight": "model-00001-of-00002.safetensors",
11
+ "bert.encoder.layer.0.attention.output.LayerNorm.bias": "model-00002-of-00002.safetensors",
12
+ "bert.encoder.layer.0.attention.output.LayerNorm.weight": "model-00002-of-00002.safetensors",
13
+ "bert.encoder.layer.0.attention.output.dense.bias": "model-00002-of-00002.safetensors",
14
+ "bert.encoder.layer.0.attention.output.dense.weight": "model-00002-of-00002.safetensors",
15
+ "bert.encoder.layer.0.attention.self.key.bias": "model-00002-of-00002.safetensors",
16
+ "bert.encoder.layer.0.attention.self.key.weight": "model-00002-of-00002.safetensors",
17
+ "bert.encoder.layer.0.attention.self.query.bias": "model-00002-of-00002.safetensors",
18
+ "bert.encoder.layer.0.attention.self.query.weight": "model-00002-of-00002.safetensors",
19
+ "bert.encoder.layer.0.attention.self.value.bias": "model-00002-of-00002.safetensors",
20
+ "bert.encoder.layer.0.attention.self.value.weight": "model-00002-of-00002.safetensors",
21
+ "bert.encoder.layer.0.intermediate.dense.bias": "model-00002-of-00002.safetensors",
22
+ "bert.encoder.layer.0.intermediate.dense.weight": "model-00002-of-00002.safetensors",
23
+ "bert.encoder.layer.0.output.LayerNorm.bias": "model-00002-of-00002.safetensors",
24
+ "bert.encoder.layer.0.output.LayerNorm.weight": "model-00002-of-00002.safetensors",
25
+ "bert.encoder.layer.0.output.dense.bias": "model-00002-of-00002.safetensors",
26
+ "bert.encoder.layer.0.output.dense.weight": "model-00002-of-00002.safetensors",
27
+ "bert.encoder.layer.1.attention.output.LayerNorm.bias": "model-00002-of-00002.safetensors",
28
+ "bert.encoder.layer.1.attention.output.LayerNorm.weight": "model-00002-of-00002.safetensors",
29
+ "bert.encoder.layer.1.attention.output.dense.bias": "model-00002-of-00002.safetensors",
30
+ "bert.encoder.layer.1.attention.output.dense.weight": "model-00002-of-00002.safetensors",
31
+ "bert.encoder.layer.1.attention.self.key.bias": "model-00002-of-00002.safetensors",
32
+ "bert.encoder.layer.1.attention.self.key.weight": "model-00002-of-00002.safetensors",
33
+ "bert.encoder.layer.1.attention.self.query.bias": "model-00002-of-00002.safetensors",
34
+ "bert.encoder.layer.1.attention.self.query.weight": "model-00002-of-00002.safetensors",
35
+ "bert.encoder.layer.1.attention.self.value.bias": "model-00002-of-00002.safetensors",
36
+ "bert.encoder.layer.1.attention.self.value.weight": "model-00002-of-00002.safetensors",
37
+ "bert.encoder.layer.1.intermediate.dense.bias": "model-00002-of-00002.safetensors",
38
+ "bert.encoder.layer.1.intermediate.dense.weight": "model-00002-of-00002.safetensors",
39
+ "bert.encoder.layer.1.output.LayerNorm.bias": "model-00002-of-00002.safetensors",
40
+ "bert.encoder.layer.1.output.LayerNorm.weight": "model-00002-of-00002.safetensors",
41
+ "bert.encoder.layer.1.output.dense.bias": "model-00002-of-00002.safetensors",
42
+ "bert.encoder.layer.1.output.dense.weight": "model-00002-of-00002.safetensors",
43
+ "bert.encoder.layer.2.attention.output.LayerNorm.bias": "model-00002-of-00002.safetensors",
44
+ "bert.encoder.layer.2.attention.output.LayerNorm.weight": "model-00002-of-00002.safetensors",
45
+ "bert.encoder.layer.2.attention.output.dense.bias": "model-00002-of-00002.safetensors",
46
+ "bert.encoder.layer.2.attention.output.dense.weight": "model-00002-of-00002.safetensors",
47
+ "bert.encoder.layer.2.attention.self.key.bias": "model-00002-of-00002.safetensors",
48
+ "bert.encoder.layer.2.attention.self.key.weight": "model-00002-of-00002.safetensors",
49
+ "bert.encoder.layer.2.attention.self.query.bias": "model-00002-of-00002.safetensors",
50
+ "bert.encoder.layer.2.attention.self.query.weight": "model-00002-of-00002.safetensors",
51
+ "bert.encoder.layer.2.attention.self.value.bias": "model-00002-of-00002.safetensors",
52
+ "bert.encoder.layer.2.attention.self.value.weight": "model-00002-of-00002.safetensors",
53
+ "bert.encoder.layer.2.intermediate.dense.bias": "model-00002-of-00002.safetensors",
54
+ "bert.encoder.layer.2.intermediate.dense.weight": "model-00002-of-00002.safetensors",
55
+ "bert.encoder.layer.2.output.LayerNorm.bias": "model-00002-of-00002.safetensors",
56
+ "bert.encoder.layer.2.output.LayerNorm.weight": "model-00002-of-00002.safetensors",
57
+ "bert.encoder.layer.2.output.dense.bias": "model-00002-of-00002.safetensors",
58
+ "bert.encoder.layer.2.output.dense.weight": "model-00002-of-00002.safetensors",
59
+ "bert.pooler.dense.bias": "model-00002-of-00002.safetensors",
60
+ "bert.pooler.dense.weight": "model-00002-of-00002.safetensors",
61
+ "classifier.bias": "model-00002-of-00002.safetensors",
62
+ "classifier.weight": "model-00002-of-00002.safetensors"
63
+ }
64
+ }