Instructions to use Maikobi/t5_self_correction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Maikobi/t5_self_correction with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Maikobi/t5_self_correction", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- adapter_config.json +4 -2
- adapter_model.safetensors +2 -2
adapter_config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
-
"base_model_name_or_path": "t5-base",
|
| 5 |
"bias": "none",
|
| 6 |
"corda_config": null,
|
| 7 |
"eva_config": null,
|
|
@@ -26,7 +26,9 @@
|
|
| 26 |
"revision": null,
|
| 27 |
"target_modules": [
|
| 28 |
"q",
|
| 29 |
-
"v"
|
|
|
|
|
|
|
| 30 |
],
|
| 31 |
"task_type": "SEQ_2_SEQ_LM",
|
| 32 |
"trainable_token_indices": null,
|
|
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "google/flan-t5-base",
|
| 5 |
"bias": "none",
|
| 6 |
"corda_config": null,
|
| 7 |
"eva_config": null,
|
|
|
|
| 26 |
"revision": null,
|
| 27 |
"target_modules": [
|
| 28 |
"q",
|
| 29 |
+
"v",
|
| 30 |
+
"k",
|
| 31 |
+
"o"
|
| 32 |
],
|
| 33 |
"task_type": "SEQ_2_SEQ_LM",
|
| 34 |
"trainable_token_indices": null,
|
adapter_model.safetensors
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:980ac7e77af45d665bf7ad96043304d1a286ef40f427ced687772d412a938b2f
|
| 3 |
+
size 14196208
|