Commit
•
5f53fe8
1
Parent(s):
74cf519
Add model in pytorch
Browse files- config.json +3 -1
- tf_model.h5 → pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"BertForSequenceClassification"
|
4 |
],
|
@@ -27,7 +28,8 @@
|
|
27 |
"num_hidden_layers": 12,
|
28 |
"pad_token_id": 0,
|
29 |
"position_embedding_type": "absolute",
|
30 |
-
"
|
|
|
31 |
"type_vocab_size": 2,
|
32 |
"use_cache": true,
|
33 |
"vocab_size": 30522
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "EhsanAghazadeh/bert-base-uncased-random-weights-S42",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
|
|
28 |
"num_hidden_layers": 12,
|
29 |
"pad_token_id": 0,
|
30 |
"position_embedding_type": "absolute",
|
31 |
+
"torch_dtype": "float32",
|
32 |
+
"transformers_version": "4.19.1",
|
33 |
"type_vocab_size": 2,
|
34 |
"use_cache": true,
|
35 |
"vocab_size": 30522
|
tf_model.h5 → pytorch_model.bin
RENAMED
@@ -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:797573fd7190434248497d59ae14750de38c966bc9b8c3275b1ff81991d4292a
|
3 |
+
size 438006381
|