masato12 commited on
Commit
d523982
·
verified ·
1 Parent(s): 4cb21c2

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "llm-book/bert-base-japanese-v3-marc_ja",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "positive",
13
+ "1": "negative"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "label2id": {
18
+ "negative": 1,
19
+ "positive": 0
20
+ },
21
+ "layer_norm_eps": 1e-12,
22
+ "max_position_embeddings": 512,
23
+ "model_type": "bert",
24
+ "num_attention_heads": 12,
25
+ "num_hidden_layers": 12,
26
+ "pad_token_id": 0,
27
+ "position_embedding_type": "absolute",
28
+ "problem_type": "single_label_classification",
29
+ "transformers_version": "4.33.2",
30
+ "type_vocab_size": 2,
31
+ "use_cache": true,
32
+ "vocab_size": 32768
33
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cefb40b2ca124d961c8904c7cf7e3e03050ed3106fc849d581b3d9e8094a7e29
3
+ size 445101592
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afe22116e617849d3787c3de547d0a1dffd5f1d293840832fabcbe46a204c03a
3
+ size 112442166
quantize_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Constant",
8
+ "Gemm",
9
+ "Erf",
10
+ "Mul",
11
+ "Slice",
12
+ "Gather",
13
+ "Add",
14
+ "Transpose",
15
+ "Concat",
16
+ "Reshape",
17
+ "ReduceMean",
18
+ "Sqrt",
19
+ "Cast",
20
+ "Tanh",
21
+ "MatMul",
22
+ "Shape",
23
+ "Softmax",
24
+ "Sub",
25
+ "Div",
26
+ "Pow",
27
+ "Unsqueeze"
28
+ ],
29
+ "weight_type": "QInt8"
30
+ }
31
+ }
32
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": false,
5
+ "do_subword_tokenize": true,
6
+ "do_word_tokenize": true,
7
+ "jumanpp_kwargs": null,
8
+ "mask_token": "[MASK]",
9
+ "mecab_kwargs": {
10
+ "mecab_dic": "unidic_lite"
11
+ },
12
+ "model_max_length": 512,
13
+ "never_split": null,
14
+ "pad_token": "[PAD]",
15
+ "sep_token": "[SEP]",
16
+ "subword_tokenizer_type": "wordpiece",
17
+ "sudachi_kwargs": null,
18
+ "tokenizer_class": "BertJapaneseTokenizer",
19
+ "unk_token": "[UNK]",
20
+ "word_tokenizer_type": "mecab"
21
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff