fixed config typo
This commit is contained in:
parent
e81a062832
commit
a25a3cca1c
25
.ipynb_checkpoints/config-checkpoint.json
Normal file
25
.ipynb_checkpoints/config-checkpoint.json
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"_name_or_path": "codesage/codesage-large-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": 16,
|
||||||
|
"num_hidden_layers": 24,
|
||||||
|
"intermediate_size": 8192,
|
||||||
|
"max_position_embeddings": 2048,
|
||||||
|
"residual_dropout_prob": 0.1,
|
||||||
|
"vocab_size": 49154
|
||||||
|
}
|
||||||
@ -15,7 +15,7 @@
|
|||||||
"embedding_dropout_prob": 0.1,
|
"embedding_dropout_prob": 0.1,
|
||||||
"initializer_range": 0.02,
|
"initializer_range": 0.02,
|
||||||
"layer_norm_epsilon": 1e-05,
|
"layer_norm_epsilon": 1e-05,
|
||||||
"hidden_size": 1024,
|
"hidden_size": 2048,
|
||||||
"num_attention_heads": 16,
|
"num_attention_heads": 16,
|
||||||
"num_hidden_layers": 24,
|
"num_hidden_layers": 24,
|
||||||
"intermediate_size": 8192,
|
"intermediate_size": 8192,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user