Download config.json from HarryTrivedi/weddingPlanner: direct link, hf CLI and curl.
- Browser
- Download file 491 Bytes
-
https://huggingface.co/HarryTrivedi/weddingPlanner/resolve/main/config.json
- Command line
-
hf download hf://HarryTrivedi/weddingPlanner/config.json
-
curl -L -o config.json https://huggingface.co/HarryTrivedi/weddingPlanner/resolve/main/config.json
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 | |
| } | |