CoolFace
Modelpublic

mohammadmostafameb/field_extraction_model-v1_e2

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes9downloads
config.json42 linesDownload Raw Back to root
1{2  "activation_function": "gelu_new",3  "architectures": [4    "GPT2LMHeadModel"5  ],6  "attn_pdrop": 0.1,7  "bos_token_id": 0,8  "embd_pdrop": 0.1,9  "eos_token_id": 2,10  "gradient_checkpointing": false,11  "initializer_range": 0.02,12  "layer_norm_epsilon": 1e-05,13  "model_type": "gpt2",14  "n_ctx": 1024,15  "n_embd": 768,16  "n_head": 12,17  "n_inner": null,18  "n_layer": 12,19  "n_positions": 1024,20  "pad_token_id": 1,21  "reorder_and_upcast_attn": false,22  "resid_pdrop": 0.1,23  "scale_attn_by_inverse_layer_idx": false,24  "scale_attn_weights": true,25  "summary_activation": null,26  "summary_first_dropout": 0.1,27  "summary_proj_to_labels": true,28  "summary_type": "cls_index",29  "summary_use_proj": true,30  "task_specific_params": {31    "text-generation": {32      "do_sample": true,33      "max_length": 50,34      "top_k": 50,35      "top_p": 0.9536    }37  },38  "transformers_version": "4.48.2",39  "use_cache": true,40  "vocab_size": 4200141}42