weddingPlanner / config.json
HarryTrivedi's picture
Create config.json
ff017bf verified
Raw History Blame Contribute Delete
491 Bytes
Invalid JSON:No number after minus sign in JSONat line 2, column 2
---
### 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
}