Instructions to use Rupper02/LaMini_Text-Eval_LaMini-T5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Rupper02/LaMini_Text-Eval_LaMini-T5 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("MBZUAI/LaMini-Flan-T5-248M") model = PeftModel.from_pretrained(base_model, "Rupper02/LaMini_Text-Eval_LaMini-T5") - Notebooks
- Google Colab
- Kaggle
First Training
Browse files- adapter_config.json +3 -3
- 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":
|
| 5 |
"bias": "none",
|
| 6 |
"fan_in_fan_out": false,
|
| 7 |
"inference_mode": true,
|
|
@@ -16,8 +16,8 @@
|
|
| 16 |
"rank_pattern": {},
|
| 17 |
"revision": null,
|
| 18 |
"target_modules": [
|
| 19 |
-
"
|
| 20 |
-
"
|
| 21 |
],
|
| 22 |
"task_type": "CAUSAL_LM"
|
| 23 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "MBZUAI/LaMini-Flan-T5-248M",
|
| 5 |
"bias": "none",
|
| 6 |
"fan_in_fan_out": false,
|
| 7 |
"inference_mode": true,
|
|
|
|
| 16 |
"rank_pattern": {},
|
| 17 |
"revision": null,
|
| 18 |
"target_modules": [
|
| 19 |
+
"q",
|
| 20 |
+
"v"
|
| 21 |
],
|
| 22 |
"task_type": "CAUSAL_LM"
|
| 23 |
}
|
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:e95ba366a07a172264feff596f07c00de0bff58f295aa8c5722c0b1d0817e15d
|
| 3 |
+
size 7098016
|