Transformers
PyTorch
code
custom_code
Inference Endpoints
codesage-base / config.json
codesage's picture
Enable "add_eos_token"
afcf376 verified
raw
history blame
857 Bytes
{
"_name_or_path": "codesage/codesage-base",
"architectures": [
"CodeSage"
],
"auto_map": {
"AutoConfig": "config_codesage.CodeSageConfig",
"AutoTokenizer": "tokenizer_codesage.CodeSageTokenizer",
"AutoModel": "modeling_codesage.CodeSageModel",
"AutoModelForMaskedLM": "modeling_codesage.CodeSageForMaskedLM",
"AutoModelForSequenceClassification": "modeling_codesage.CodeSageForSequenceClassification"
},
"activation_function": "gelu_new",
"attention_dropout_prob": 0.1,
"embedding_dropout_prob": 0.1,
"initializer_range": 0.02,
"layer_norm_epsilon": 1e-05,
"hidden_size": 1024,
"num_attention_heads": 8,
"num_hidden_layers": 24,
"intermediate_size": 4096,
"max_position_embeddings": 2048,
"residual_dropout_prob": 0.1,
"vocab_size": 49154
}