ahmedabdelwahed
commited on
Commit
•
4303b5a
1
Parent(s):
f27ee96
Upload MT5ForConditionalGeneration
Browse files- adapter_config.json +2 -2
- generation_config.json +7 -0
adapter_config.json
CHANGED
@@ -19,8 +19,8 @@
|
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
22 |
-
"
|
23 |
-
"
|
24 |
],
|
25 |
"task_type": "SEQ_2_SEQ_LM"
|
26 |
}
|
|
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
22 |
+
"q",
|
23 |
+
"v"
|
24 |
],
|
25 |
"task_type": "SEQ_2_SEQ_LM"
|
26 |
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"decoder_start_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.36.0"
|
7 |
+
}
|