Text GenerationTransformersPyTorchTensorFlowJAXLiteRTRustONNXSafetensorsEnglishdoi:10.57967/hf/0039gpt2exberttext-generation-inferenceLicense:mit
History665 Bytes
| 1 | { |
| 2 | "activation_function": "gelu_new", |
| 3 | "architectures": [ |
| 4 | "GPT2LMHeadModel" |
| 5 | ], |
| 6 | "attn_pdrop": 0.1, |
| 7 | "bos_token_id": 50256, |
| 8 | "eos_token_id": 50256, |
| 9 | "initializer_range": 0.02, |
| 10 | "layer_norm_epsilon": 1e-05, |
| 11 | "model_type": "gpt2", |
| 12 | "n_ctx": 1024, |
| 13 | "n_embd": 768, |
| 14 | "n_head": 12, |
| 15 | "n_layer": 12, |
| 16 | "n_positions": 1024, |
| 17 | "resid_pdrop": 0.1, |
| 18 | "summary_activation": null, |
| 19 | "summary_first_dropout": 0.1, |
| 20 | "summary_proj_to_labels": true, |
| 21 | "summary_type": "cls_index", |
| 22 | "summary_use_proj": true, |
| 23 | "task_specific_params": { |
| 24 | "text-generation": { |
| 25 | "do_sample": true, |
| 26 | "max_length": 50 |
| 27 | } |
| 28 | }, |
| 29 | "transformers_version": "4.36.0", |
| 30 | "vocab_size": 50257 |
| 31 | } |