ybelkada's picture
Upload OPTForCausalLM
a136c1c
raw
history blame
761 Bytes
{
"_name_or_path": "trl-internal-testing/tiny-random-OPTForCausalLM",
"_remove_final_layer_norm": false,
"activation_function": "relu",
"architectures": [
"OPTForCausalLM"
],
"attention_dropout": 0.1,
"bos_token_id": 2,
"do_layer_norm_before": true,
"dropout": 0.1,
"embed_dim": 16,
"enable_bias": true,
"eos_token_id": 2,
"ffn_dim": 4,
"hidden_size": 16,
"init_std": 0.02,
"is_decoder": true,
"layer_norm_elementwise_affine": true,
"layerdrop": 0.0,
"max_position_embeddings": 100,
"model_type": "opt",
"num_attention_heads": 4,
"num_hidden_layers": 5,
"pad_token_id": 1,
"torch_dtype": "float32",
"transformers_version": "4.25.1",
"use_cache": true,
"vocab_size": 50265,
"word_embed_proj_dim": 16
}