Den4ikAI commited on
Commit
816741b
·
verified ·
1 Parent(s): e25d169

Upload folder using huggingface_hub

Browse files
.ipynb_checkpoints/config-checkpoint.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForTokenClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "dtype": "float32",
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": "PLAIN",
15
+ "1": "VERBATIM",
16
+ "2": "CARDINAL",
17
+ "3": "TIME",
18
+ "4": "FRACTION",
19
+ "5": "LETTERS",
20
+ "6": "DIGIT",
21
+ "7": "MONEY",
22
+ "8": "TELEPHONE",
23
+ "9": "ORDINAL",
24
+ "10": "ELECTRONIC",
25
+ "11": "DECIMAL",
26
+ "12": "MEASURE",
27
+ "13": "DATE",
28
+ "14": "ABBREVIATION",
29
+ "15": "ADRESS"
30
+ },
31
+ "initializer_range": 0.02,
32
+ "intermediate_size": 600,
33
+ "label2id": {
34
+ "ABBREVIATION": 14,
35
+ "ADRESS": 15,
36
+ "CARDINAL": 2,
37
+ "DATE": 13,
38
+ "DECIMAL": 11,
39
+ "DIGIT": 6,
40
+ "ELECTRONIC": 10,
41
+ "FRACTION": 4,
42
+ "LETTERS": 5,
43
+ "MEASURE": 12,
44
+ "MONEY": 7,
45
+ "ORDINAL": 9,
46
+ "PLAIN": 0,
47
+ "TELEPHONE": 8,
48
+ "TIME": 3,
49
+ "VERBATIM": 1
50
+ },
51
+ "layer_norm_eps": 1e-12,
52
+ "max_position_embeddings": 512,
53
+ "model_type": "bert",
54
+ "num_attention_heads": 12,
55
+ "num_hidden_layers": 3,
56
+ "pad_token_id": 0,
57
+ "position_embedding_type": "absolute",
58
+ "transformers_version": "4.57.3",
59
+ "type_vocab_size": 2,
60
+ "use_cache": true,
61
+ "vocab_size": 29564
62
+ }
config.json CHANGED
@@ -1,10 +1,10 @@
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",
@@ -55,8 +55,7 @@
55
  "num_hidden_layers": 3,
56
  "pad_token_id": 0,
57
  "position_embedding_type": "absolute",
58
- "torch_dtype": "float32",
59
- "transformers_version": "4.28.1",
60
  "type_vocab_size": 2,
61
  "use_cache": true,
62
  "vocab_size": 29564
 
1
  {
 
2
  "architectures": [
3
  "BertForTokenClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "classifier_dropout": null,
7
+ "dtype": "float32",
8
  "emb_size": 312,
9
  "gradient_checkpointing": false,
10
  "hidden_act": "gelu",
 
55
  "num_hidden_layers": 3,
56
  "pad_token_id": 0,
57
  "position_embedding_type": "absolute",
58
+ "transformers_version": "4.57.3",
 
59
  "type_vocab_size": 2,
60
  "use_cache": true,
61
  "vocab_size": 29564
model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:777e5f2750c6e675c186d5b56fd11eac566e8e1a2a5be339d6b4c04f53cab535
3
+ size 46781081
ort_config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "one_external_file": true,
3
+ "opset": null,
4
+ "optimization": {
5
+ "disable_attention_fusion": false,
6
+ "disable_bias_add_fusion": false,
7
+ "disable_bias_gelu_fusion": false,
8
+ "disable_bias_skip_layer_norm_fusion": false,
9
+ "disable_bias_splitgelu_fusion": false,
10
+ "disable_embed_layer_norm_fusion": true,
11
+ "disable_gelu_fusion": false,
12
+ "disable_group_norm_fusion": true,
13
+ "disable_layer_norm_fusion": false,
14
+ "disable_nhwc_conv": false,
15
+ "disable_packed_kv": true,
16
+ "disable_packed_qkv": false,
17
+ "disable_rotary_embeddings": false,
18
+ "disable_shape_inference": true,
19
+ "disable_skip_group_norm_fusion": false,
20
+ "disable_skip_layer_norm_fusion": false,
21
+ "enable_gelu_approximation": false,
22
+ "enable_gemm_fast_gelu_fusion": false,
23
+ "enable_transformers_specific_optimizations": true,
24
+ "fp16": false,
25
+ "no_attention_mask": false,
26
+ "optimization_level": 2,
27
+ "optimize_for_gpu": false,
28
+ "use_group_norm_channels_first": false,
29
+ "use_mask_index": false,
30
+ "use_multi_head_attention": false,
31
+ "use_raw_attention_mask": false
32
+ },
33
+ "quantization": {},
34
+ "use_external_data_format": false
35
+ }
special_tokens_map.json CHANGED
@@ -1,7 +1,37 @@
1
  {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
 
1
  {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
  }
tokenizer_config.json CHANGED
@@ -1,15 +1,62 @@
1
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  "clean_up_tokenization_spaces": true,
3
  "cls_token": "[CLS]",
4
  "do_basic_tokenize": true,
5
  "do_lower_case": false,
 
6
  "mask_token": "[MASK]",
 
7
  "model_max_length": 512,
8
  "never_split": null,
9
  "pad_token": "[PAD]",
10
  "sep_token": "[SEP]",
 
11
  "strip_accents": null,
12
  "tokenize_chinese_chars": true,
13
  "tokenizer_class": "BertTokenizer",
 
 
14
  "unk_token": "[UNK]"
15
  }
 
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
+ "max_length": 512,
51
  "model_max_length": 512,
52
  "never_split": null,
53
  "pad_token": "[PAD]",
54
  "sep_token": "[SEP]",
55
+ "stride": 0,
56
  "strip_accents": null,
57
  "tokenize_chinese_chars": true,
58
  "tokenizer_class": "BertTokenizer",
59
+ "truncation_side": "right",
60
+ "truncation_strategy": "longest_first",
61
  "unk_token": "[UNK]"
62
  }