Spaces:
Runtime error
Runtime error
Download config.json from hao007/Image-Caption: direct link, hf CLI and curl.
- Browser
- Download file 577 Bytes
-
https://huggingface.co/spaces/hao007/Image-Caption/resolve/main/config.json
- Command line
-
hf download hf://spaces/hao007/Image-Caption/config.json
-
curl -L -o config.json https://huggingface.co/spaces/hao007/Image-Caption/resolve/main/config.json
577 Bytes
| { | |
| "activation_function": "gelu_new", | |
| "architectures": [ | |
| "GPT2LMHeadModel" | |
| ], | |
| "attn_pdrop": 0.1, | |
| "embd_pdrop": 0.1, | |
| "gradient_checkpointing": false, | |
| "initializer_range": 0.02, | |
| "layer_norm_epsilon": 1e-05, | |
| "model_type": "gpt2", | |
| "n_ctx": 1024, | |
| "n_embd": 768, | |
| "n_head": 12, | |
| "n_inner": null, | |
| "n_layer": 12, | |
| "n_positions": 1024, | |
| "output_past": true, | |
| "resid_pdrop": 0.1, | |
| "task_specific_params": { | |
| "text-generation": { | |
| "do_sample": true, | |
| "max_length": 320 | |
| } | |
| }, | |
| "tokenizer_class": "BertTokenizer", | |
| "vocab_size": 21128 | |
| } | |