Text Generation
Transformers
PyTorch
Safetensors
Swedish
ctrl
Inference Endpoints
SweCTRL-Mini / config.json
dkalpakchi's picture
Uploaded model, tokenizer and the minimally necessary code
59392d8
{
"architectures": [
"CTRLLMHeadModel"
],
"attn_pdrop": 0.1,
"dff": 4096,
"embd_pdrop": 0.1,
"initializer_range": 0.02,
"layer_norm_epsilon": 1e-06,
"model_type": "ctrl",
"n_embd": 640,
"n_head": 16,
"n_layer": 48,
"n_positions": 256,
"resid_pdrop": 0.1,
"summary_activation": null,
"summary_first_dropout": 0.1,
"summary_proj_to_labels": true,
"summary_type": "cls_index",
"summary_use_proj": true,
"torch_dtype": "float32",
"transformers_version": "4.20.1",
"use_cache": true,
"vocab_size": 256000
}