gpt2-small-ja / config.json
noriyukipy's picture
Upload new model with the latest data on Aug20, 2021
e1850c2
{
"_name_or_path": "models/gpt2-small",
"activation_function": "gelu_new",
"architectures": [
"GPT2LMHeadModel"
],
"attn_pdrop": 0.1,
"bos_token_id": 2,
"cls_token_id": 4,
"embd_pdrop": 0.1,
"eos_token_id": 3,
"gradient_checkpointing": false,
"initializer_range": 0.02,
"layer_norm_epsilon": 1e-05,
"model_type": "gpt2",
"n_ctx": 1024,
"n_embd": 768,
"n_head": 12,
"n_inner": null,
"n_layer": 12,
"n_positions": 1024,
"pad_token_id": 0,
"resid_pdrop": 0.1,
"scale_attn_weights": true,
"sep_token_id": 5,
"summary_activation": null,
"summary_first_dropout": 0.1,
"summary_proj_to_labels": true,
"summary_type": "cls_index",
"summary_use_proj": true,
"tokenizer_class": "BertGenerationTokenizer",
"torch_dtype": "float32",
"transformers_version": "4.10.0",
"unk_token_id": 1,
"use_cache": true,
"vocab_size": 32000,
"top_k": 50,
"top_p": 0.95,
"do_sample": true
}