jungiebeen
commited on
Commit
•
d96ddc6
1
Parent(s):
bac1fa6
Upload RobertaForCausalLM
Browse files- config.json +17 -17
- generation_config.json +2 -1
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,27 +1,27 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/workspace/new/pretraining/local-models/training
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"
|
7 |
-
"bos_token_id":
|
8 |
-
"
|
9 |
-
"
|
|
|
|
|
10 |
"hidden_size": 768,
|
11 |
"initializer_range": 0.02,
|
12 |
"intermediate_size": 3072,
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
|
|
16 |
"num_hidden_layers": 12,
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"rms_norm_eps": 1e-05,
|
20 |
-
"rope_scaling": null,
|
21 |
-
"rope_theta": 10000.0,
|
22 |
-
"tie_word_embeddings": false,
|
23 |
"torch_dtype": "float32",
|
24 |
"transformers_version": "4.34.1",
|
25 |
-
"
|
26 |
-
"
|
|
|
27 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/workspace/new/pretraining/local-models/training/2024-02-11_05-09-18",
|
3 |
"architectures": [
|
4 |
+
"RobertaForCausalLM"
|
5 |
],
|
6 |
+
"attention_probs_dropout_prob": 0,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 50256,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0,
|
12 |
"hidden_size": 768,
|
13 |
"initializer_range": 0.02,
|
14 |
"intermediate_size": 3072,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 1026,
|
17 |
+
"model_type": "roberta",
|
18 |
+
"num_attention_heads": 12,
|
19 |
"num_hidden_layers": 12,
|
20 |
+
"pad_token_id": 1,
|
21 |
+
"position_embedding_type": "absolute",
|
|
|
|
|
|
|
|
|
22 |
"torch_dtype": "float32",
|
23 |
"transformers_version": "4.34.1",
|
24 |
+
"type_vocab_size": 1,
|
25 |
+
"use_cache": false,
|
26 |
+
"vocab_size": 50265
|
27 |
}
|
generation_config.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
-
"bos_token_id":
|
4 |
"eos_token_id": 2,
|
|
|
5 |
"transformers_version": "4.34.1"
|
6 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 1,
|
6 |
"transformers_version": "4.34.1"
|
7 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c6cf33bce3ccb7b13daa654965c384c5c9208b117325d15ba8253b7268cb71b
|
3 |
+
size 500386812
|