hiroshi-matsuda-rit commited on
Commit
3de9ba6
1 Parent(s): 1b72ad3

Upload 4 files

Browse files
Files changed (4) hide show
  1. config.json +30 -0
  2. special_tokens_map.json +1 -0
  3. tokenizer_config.json +20 -0
  4. vocab.txt +0 -0
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "megagonlabs/transformers-ud-japanese-electra-base-ginza-520",
3
+ "architectures": [
4
+ "ElectraModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "embedding_size": 768,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 0.0,
15
+ "max_position_embeddings": 512,
16
+ "model_name": "base",
17
+ "model_type": "electra",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "pad_token_id": 0,
21
+ "position_embedding_type": "absolute",
22
+ "summary_activation": "gelu",
23
+ "summary_last_dropout": 0.1,
24
+ "summary_type": "first",
25
+ "summary_use_proj": true,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.11.3",
28
+ "type_vocab_size": 2,
29
+ "vocab_size": 30112
30
+ }
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_lower_case": false,
3
+ "do_nfkc": false,
4
+ "do_word_tokenize": true,
5
+ "do_subword_tokenize": true,
6
+ "word_tokenizer_type": "sudachi",
7
+ "subword_tokenizer_type": "wordpiece",
8
+ "unk_token": "[UNK]",
9
+ "sep_token": "[SEP]",
10
+ "pad_token": "[PAD]",
11
+ "cls_token": "[CLS]",
12
+ "mask_token": "[MASK]",
13
+ "word_form_type": "dictionary_and_surface",
14
+ "sudachi_kwargs": {
15
+ "sudachi_split_mode": "A",
16
+ "sudachi_dict_type": "core"
17
+ },
18
+ "use_fast": false,
19
+ "tokenizer_class": "BertJapaneseTokenizer"
20
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff