asahi417's picture
Upload OPTForCausalLM
bf3c8b3
raw
history blame
1.1 kB
{
"_name_or_path": "analogy_models/opt-350m-analogy-epoch15-p/model",
"_remove_final_layer_norm": false,
"activation_dropout": 0.0,
"activation_function": "relu",
"architectures": [
"OPTForCausalLM"
],
"attention_dropout": 0.0,
"bos_token_id": 2,
"do_layer_norm_before": false,
"dropout": 0.1,
"enable_bias": true,
"eos_token_id": 2,
"ffn_dim": 4096,
"finetuing_config": {
"batch_size": 32,
"data": "relbert/semeval2012_relational_similarity",
"epoch": 15,
"gradient_accumulation_steps": 1,
"learning_rate": 0.0001,
"model": "facebook/opt-350m",
"random_seed": 42,
"template": "<subj-a> is to <obj-a> what <subj-b> is to <obj-b>"
},
"hidden_size": 1024,
"init_std": 0.02,
"layer_norm_elementwise_affine": true,
"layerdrop": 0.0,
"max_position_embeddings": 2048,
"model_type": "opt",
"num_attention_heads": 16,
"num_hidden_layers": 24,
"pad_token_id": 1,
"prefix": "</s>",
"torch_dtype": "float32",
"transformers_version": "4.26.1",
"use_cache": true,
"vocab_size": 50272,
"word_embed_proj_dim": 512
}