Weizhe Yuan
commited on
Commit
•
e08c2bb
1
Parent(s):
fb27cd3
add model
Browse files- config.json +7 -1
- pytorch_model.bin +3 -0
config.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
-
"
|
4 |
],
|
5 |
"d_ff": 65536,
|
6 |
"d_kv": 128,
|
@@ -8,11 +9,13 @@
|
|
8 |
"decoder_start_token_id": 0,
|
9 |
"dropout_rate": 0.1,
|
10 |
"eos_token_id": 1,
|
|
|
11 |
"initializer_factor": 1.0,
|
12 |
"is_encoder_decoder": true,
|
13 |
"layer_norm_epsilon": 1e-06,
|
14 |
"model_type": "t5",
|
15 |
"n_positions": 512,
|
|
|
16 |
"num_heads": 128,
|
17 |
"num_layers": 24,
|
18 |
"output_past": true,
|
@@ -47,5 +50,8 @@
|
|
47 |
"prefix": "translate English to Romanian: "
|
48 |
}
|
49 |
},
|
|
|
|
|
|
|
50 |
"vocab_size": 32128
|
51 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "sentiment_classification/pytorch_model.bin",
|
3 |
"architectures": [
|
4 |
+
"T5ForConditionalGeneration"
|
5 |
],
|
6 |
"d_ff": 65536,
|
7 |
"d_kv": 128,
|
|
|
9 |
"decoder_start_token_id": 0,
|
10 |
"dropout_rate": 0.1,
|
11 |
"eos_token_id": 1,
|
12 |
+
"feed_forward_proj": "relu",
|
13 |
"initializer_factor": 1.0,
|
14 |
"is_encoder_decoder": true,
|
15 |
"layer_norm_epsilon": 1e-06,
|
16 |
"model_type": "t5",
|
17 |
"n_positions": 512,
|
18 |
+
"num_decoder_layers": 24,
|
19 |
"num_heads": 128,
|
20 |
"num_layers": 24,
|
21 |
"output_past": true,
|
|
|
50 |
"prefix": "translate English to Romanian: "
|
51 |
}
|
52 |
},
|
53 |
+
"torch_dtype": "float32",
|
54 |
+
"transformers_version": "4.16.2",
|
55 |
+
"use_cache": true,
|
56 |
"vocab_size": 32128
|
57 |
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9bce9ff26eac9f9de72896ff36cc13f242bd11a5014119c4415f290143c7464a
|
3 |
+
size 45229516979
|