Upload model
Browse files- config.json +31 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "codesage/codesage-small",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"CodeSageModel"
|
6 |
+
],
|
7 |
+
"attention_dropout_prob": 0.1,
|
8 |
+
"auto_map": {
|
9 |
+
"AutoConfig": "codesage/codesage-small--config_codesage.CodeSageConfig",
|
10 |
+
"AutoModel": "codesage/codesage-small--modeling_codesage.CodeSageModel",
|
11 |
+
"AutoModelForMaskedLM": "codesage/codesage-small--modeling_codesage.CodeSageForMaskedLM",
|
12 |
+
"AutoModelForSequenceClassification": "codesage/codesage-small--modeling_codesage.CodeSageForSequenceClassification"
|
13 |
+
},
|
14 |
+
"bos_token_id": 0,
|
15 |
+
"embedding_dropout_prob": 0.1,
|
16 |
+
"eos_token_id": 0,
|
17 |
+
"hidden_size": 1024,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 4096,
|
20 |
+
"layer_norm_epsilon": 1e-05,
|
21 |
+
"max_position_embeddings": 2048,
|
22 |
+
"model_type": "codesage",
|
23 |
+
"num_attention_heads": 8,
|
24 |
+
"num_hidden_layers": 6,
|
25 |
+
"pad_token_id": 49153,
|
26 |
+
"position_embedding_type": "absolute",
|
27 |
+
"residual_dropout_prob": 0.1,
|
28 |
+
"torch_dtype": "float32",
|
29 |
+
"transformers_version": "4.36.2",
|
30 |
+
"vocab_size": 49154
|
31 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:15363f2a8398bceeecb427041e20560abfae5dda0ebef83a52162a417575b920
|
3 |
+
size 512047808
|