--- ### 2. config.json This file defines your model’s architecture and hyperparameters. (Below is an example based on GPT‑2.) ```json { "architectures": [ "GPT2LMHeadModel" ], "activation_function": "gelu_new", "attn_pdrop": 0.1, "bos_token_id": 50256, "eos_token_id": 50256, "hidden_dropout": 0.1, "initializer_range": 0.02, "model_type": "gpt2", "n_ctx": 1024, "n_embd": 768, "n_head": 12, "n_layer": 12, "n_positions": 1024, "resid_pdrop": 0.1 }