test123 / config.json
mapama247's picture
Upload config.json
dff1d81
raw
history blame contribute delete
888 Bytes
{
"_name_or_path": "../models/gpt2-bne-large-es",
"activation_function": "gelu_new",
"architectures": [
"GPT2LMHeadModel"
],
"attn_pdrop": 0.0,
"bos_token_id": 2,
"embd_pdrop": 0.0,
"eos_token_id": 2,
"gradient_checkpointing": false,
"initializer_range": 0.02,
"layer_norm_epsilon": 1e-06,
"model_type": "gpt2",
"n_ctx": 512,
"n_embd": 1280,
"n_head": 20,
"n_inner": null,
"n_layer": 36,
"n_positions": 512,
"pad_token_id": 1,
"prefix": "</s>",
"resid_pdrop": 0.0,
"scale_attn_weights": true,
"summary_activation": null,
"summary_first_dropout": 0.0,
"summary_proj_to_labels": true,
"summary_type": "cls_index",
"summary_use_proj": true,
"task_specific_params": {
"text-generation": {
"do_sample": true,
"max_length": 50
}
},
"transformers_version": "4.6.1",
"use_cache": true,
"vocab_size": 50269
}