mcarthuradal
commited on
Commit
•
3800e13
1
Parent(s):
c878d76
Upload T5ForConditionalGeneration
Browse files- config.json +2 -1
- generation_config.json +4 -2
- model.safetensors +1 -1
config.json
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
5 |
],
|
|
|
6 |
"classifier_dropout": 0.0,
|
7 |
"d_ff": 2048,
|
8 |
"d_kv": 64,
|
@@ -55,7 +56,7 @@
|
|
55 |
}
|
56 |
},
|
57 |
"torch_dtype": "float32",
|
58 |
-
"transformers_version": "4.38.
|
59 |
"use_cache": true,
|
60 |
"vocab_size": 32128
|
61 |
}
|
|
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
5 |
],
|
6 |
+
"bos_token_id": 0,
|
7 |
"classifier_dropout": 0.0,
|
8 |
"d_ff": 2048,
|
9 |
"d_kv": 64,
|
|
|
56 |
}
|
57 |
},
|
58 |
"torch_dtype": "float32",
|
59 |
+
"transformers_version": "4.38.2",
|
60 |
"use_cache": true,
|
61 |
"vocab_size": 32128
|
62 |
}
|
generation_config.json
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
"eos_token_id": 1,
|
|
|
|
|
4 |
"pad_token_id": 0,
|
5 |
-
"transformers_version": "4.38.
|
6 |
}
|
|
|
1 |
{
|
2 |
+
"do_sample": true,
|
3 |
"eos_token_id": 1,
|
4 |
+
"max_new_tokens": 128,
|
5 |
+
"num_beams": 4,
|
6 |
"pad_token_id": 0,
|
7 |
+
"transformers_version": "4.38.2"
|
8 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 242041896
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:687a7e0764724fa00b6153184cc4e0a60c7409609b8b6cd6080c4b66586d295c
|
3 |
size 242041896
|