Commit
·
52a09a5
1
Parent(s):
77f476b
Upload 6 files
Browse files- config.json +14 -2
- pytorch_model.bin +2 -2
- special_tokens_map.json +1 -7
- tokenizer_config.json +1 -22
- training_args.bin +2 -2
config.json
CHANGED
@@ -1,26 +1,38 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
|
|
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 |
"initializer_range": 0.02,
|
12 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
13 |
"layer_norm_eps": 1e-12,
|
|
|
14 |
"max_position_embeddings": 512,
|
15 |
"model_type": "bert",
|
16 |
"num_attention_heads": 12,
|
17 |
"num_hidden_layers": 12,
|
18 |
"pad_token_id": 0,
|
|
|
19 |
"position_embedding_type": "absolute",
|
20 |
"problem_type": "single_label_classification",
|
21 |
"tokenizer_class": "BertJapaneseTokenizer",
|
22 |
"torch_dtype": "float32",
|
23 |
-
"transformers_version": "4.
|
24 |
"type_vocab_size": 2,
|
25 |
"use_cache": true,
|
26 |
"vocab_size": 32768
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "jarvisx17/japanese-sentiment-analysis",
|
3 |
+
"_num_labels": 2,
|
4 |
"architectures": [
|
5 |
"BertForSequenceClassification"
|
6 |
],
|
7 |
"attention_probs_dropout_prob": 0.1,
|
8 |
"classifier_dropout": null,
|
9 |
+
"gradient_checkpointing": false,
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "negative",
|
15 |
+
"1": "positive"
|
16 |
+
},
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"negative": 0,
|
21 |
+
"positive": 1
|
22 |
+
},
|
23 |
"layer_norm_eps": 1e-12,
|
24 |
+
"max_length": 256,
|
25 |
"max_position_embeddings": 512,
|
26 |
"model_type": "bert",
|
27 |
"num_attention_heads": 12,
|
28 |
"num_hidden_layers": 12,
|
29 |
"pad_token_id": 0,
|
30 |
+
"padding": "max_length",
|
31 |
"position_embedding_type": "absolute",
|
32 |
"problem_type": "single_label_classification",
|
33 |
"tokenizer_class": "BertJapaneseTokenizer",
|
34 |
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.17.0",
|
36 |
"type_vocab_size": 2,
|
37 |
"use_cache": true,
|
38 |
"vocab_size": 32768
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c706bf021ba6632f1329485cec0c303bc2ece5e0b12505706761403547fbe3f
|
3 |
+
size 444921653
|
special_tokens_map.json
CHANGED
@@ -1,7 +1 @@
|
|
1 |
-
{
|
2 |
-
"cls_token": "[CLS]",
|
3 |
-
"mask_token": "[MASK]",
|
4 |
-
"pad_token": "[PAD]",
|
5 |
-
"sep_token": "[SEP]",
|
6 |
-
"unk_token": "[UNK]"
|
7 |
-
}
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
|
|
|
|
|
|
|
|
|
|
|
tokenizer_config.json
CHANGED
@@ -1,22 +1 @@
|
|
1 |
-
{
|
2 |
-
"cls_token": "[CLS]",
|
3 |
-
"do_lower_case": false,
|
4 |
-
"do_subword_tokenize": true,
|
5 |
-
"do_word_tokenize": true,
|
6 |
-
"jumanpp_kwargs": null,
|
7 |
-
"mask_token": "[MASK]",
|
8 |
-
"mecab_kwargs": {
|
9 |
-
"mecab_dic": "unidic_lite"
|
10 |
-
},
|
11 |
-
"model_max_length": 1000000000000000019884624838656,
|
12 |
-
"never_split": null,
|
13 |
-
"pad_token": "[PAD]",
|
14 |
-
"sep_token": "[SEP]",
|
15 |
-
"special_tokens_map_file": null,
|
16 |
-
"subword_tokenizer_type": "wordpiece",
|
17 |
-
"sudachi_kwargs": null,
|
18 |
-
"tokenizer_class": "BertJapaneseTokenizer",
|
19 |
-
"tokenizer_file": null,
|
20 |
-
"unk_token": "[UNK]",
|
21 |
-
"word_tokenizer_type": "mecab"
|
22 |
-
}
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "do_lower_case": false, "do_word_tokenize": true, "do_subword_tokenize": true, "word_tokenizer_type": "mecab", "subword_tokenizer_type": "wordpiece", "never_split": null, "mecab_kwargs": {"mecab_dic": "unidic_lite"}, "jumanpp_kwargs": null, "name_or_path": "jarvisx17/japanese-sentiment-analysis", "special_tokens_map_file": null, "sudachi_kwargs": null, "tokenizer_file": null, "tokenizer_class": "BertJapaneseTokenizer"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eabe94c3c597954deedede8a20dc70b111e50a159b5e451b57be86ccd803fd2f
|
3 |
+
size 3003
|