Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save freedomtowin/515f1bff1b7be274b6bfef26a35a5f51 to your computer and use it in GitHub Desktop.
Save freedomtowin/515f1bff1b7be274b6bfef26a35a5f51 to your computer and use it in GitHub Desktop.
Example of creating a Gist using Python
BertConfig {
"_attn_implementation_autoset": true,
"architectures": [
"BertForMaskedLM"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"transformers_version": "4.46.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 28996
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment