gpt2_medium / kf_config.json
IMvision12's picture
Super-squash branch 'main' using huggingface_hub
0a81b20
Raw
History Blame Contribute Delete
527 Bytes
{
"library_name": "kerasformers",
"kerasformers_version": "1.2.1",
"model_module": "kerasformers.models.gpt2",
"model_class": "GPT2Model",
"variant": "gpt2_medium",
"weights": "model.weights.h5",
"schema_version": 2,
"weight_dtype": "float32",
"model_type": "gpt2",
"text_config": {
"vocab_size": 50257,
"embed_dim": 1024,
"mlp_dim": 4096,
"num_layers": 24,
"num_heads": 16,
"max_position_embeddings": 1024,
"norm_eps": 1e-05,
"tie_embeddings": true
}
}