Transformers
PyTorch
code
custom_code
Inference Endpoints
File size: 863 Bytes
67cadad
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
    "_name_or_path": "codesage/codesage-base-v2",
    "architectures": [
        "CodeSage"
    ],
    "auto_map": {
        "AutoConfig": "config_codesage.CodeSageConfig",
        "AutoTokenizer": "tokenization_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
}