matiss commited on
Commit
85d1a81
·
verified ·
1 Parent(s): 9c31d9f

Upload 6 files

Browse files
config.json CHANGED
@@ -2,14 +2,24 @@
2
  "architectures": [
3
  "BertForSequenceClassification"
4
  ],
5
- "attention_probs_dropout_prob": 0.1,
6
  "classifier_dropout": null,
7
  "directionality": "bidi",
8
  "hidden_act": "gelu",
9
- "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
 
 
 
 
 
11
  "initializer_range": 0.02,
12
  "intermediate_size": 3072,
 
 
 
 
 
13
  "layer_norm_eps": 1e-12,
14
  "max_position_embeddings": 512,
15
  "model_type": "bert",
@@ -22,19 +32,10 @@
22
  "pooler_size_per_head": 128,
23
  "pooler_type": "first_token_transform",
24
  "position_embedding_type": "absolute",
 
25
  "torch_dtype": "float32",
26
- "transformers_version": "4.15.0",
27
  "type_vocab_size": 2,
28
  "use_cache": true,
29
- "vocab_size": 32004,
30
- "id2label": {
31
- "0": "neutral",
32
- "1": "positive",
33
- "2": "negative"
34
- },
35
- "label2id": {
36
- "neutral": 0,
37
- "positive": 1,
38
- "negative": 2
39
- }
40
  }
 
2
  "architectures": [
3
  "BertForSequenceClassification"
4
  ],
5
+ "attention_probs_dropout_prob": 0.2,
6
  "classifier_dropout": null,
7
  "directionality": "bidi",
8
  "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.2,
10
  "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "neutral",
13
+ "1": "positive",
14
+ "2": "negative"
15
+ },
16
  "initializer_range": 0.02,
17
  "intermediate_size": 3072,
18
+ "label2id": {
19
+ "neutral": 0,
20
+ "positive": 1,
21
+ "negative": 2
22
+ },
23
  "layer_norm_eps": 1e-12,
24
  "max_position_embeddings": 512,
25
  "model_type": "bert",
 
32
  "pooler_size_per_head": 128,
33
  "pooler_type": "first_token_transform",
34
  "position_embedding_type": "absolute",
35
+ "problem_type": "single_label_classification",
36
  "torch_dtype": "float32",
37
+ "transformers_version": "4.50.3",
38
  "type_vocab_size": 2,
39
  "use_cache": true,
40
+ "vocab_size": 32004
 
 
 
 
 
 
 
 
 
 
41
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:017907f57360e3ee6b41fc33484ebb4e7b4c1a85c904b40a6328e018dae4f6db
3
+ size 442514428
special_tokens_map.json CHANGED
@@ -1 +1,7 @@
1
- {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1 +1,58 @@
1
- {"do_lower_case": false, "do_basic_tokenize": true, "never_split": null, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "/Users/arturs/ai/models/lvbert_pytorch", "tokenizer_class": "BertTokenizer"}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }