blmoistawinde
commited on
Commit
•
3c2e645
1
Parent(s):
d05f6de
fix: bert->roformer
Browse files- config.json +5 -5
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,23 +1,23 @@
|
|
1 |
{
|
2 |
"_name_or_path": "./chinese_roformer-sim-char-ft_L-6_H-384_A-6",
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
-
"classifier_dropout": null,
|
8 |
"directionality": "bidi",
|
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 384,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 1536,
|
14 |
"layer_norm_eps": 1e-12,
|
15 |
-
"max_position_embeddings":
|
16 |
-
"model_type": "
|
17 |
"num_attention_heads": 6,
|
18 |
"num_hidden_layers": 6,
|
19 |
"pad_token_id": 0,
|
20 |
-
"
|
21 |
"torch_dtype": "float32",
|
22 |
"transformers_version": "4.19.3",
|
23 |
"type_vocab_size": 2,
|
|
|
1 |
{
|
2 |
"_name_or_path": "./chinese_roformer-sim-char-ft_L-6_H-384_A-6",
|
3 |
"architectures": [
|
4 |
+
"RoFormerModel"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
|
|
7 |
"directionality": "bidi",
|
8 |
+
"embedding_size": 384,
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 384,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 1536,
|
14 |
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 1536,
|
16 |
+
"model_type": "roformer",
|
17 |
"num_attention_heads": 6,
|
18 |
"num_hidden_layers": 6,
|
19 |
"pad_token_id": 0,
|
20 |
+
"rotary_value": false,
|
21 |
"torch_dtype": "float32",
|
22 |
"transformers_version": "4.19.3",
|
23 |
"type_vocab_size": 2,
|
pytorch_model.bin
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:bfc8038e8a256cd8e9fa2bbc2b8d16e84f3fa28e17ffa188fed933e8d4ab9955
|
3 |
+
size 61449527
|