Instructions to use debiao29/task-17-google-gemma-2-2b-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use debiao29/task-17-google-gemma-2-2b-it with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2-2b-it") model = PeftModel.from_pretrained(base_model, "debiao29/task-17-google-gemma-2-2b-it") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- adapter_config.json +2 -2
- adapter_model.safetensors +1 -1
- training_args.bin +1 -1
adapter_config.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
"layers_to_transform": null,
|
| 12 |
"loftq_config": {},
|
| 13 |
"lora_alpha": 256,
|
| 14 |
-
"lora_dropout": 0.
|
| 15 |
"megatron_config": null,
|
| 16 |
"megatron_core": "megatron.core",
|
| 17 |
"modules_to_save": null,
|
|
@@ -20,8 +20,8 @@
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
-
"k_proj",
|
| 24 |
"v_proj",
|
|
|
|
| 25 |
"q_proj",
|
| 26 |
"o_proj"
|
| 27 |
],
|
|
|
|
| 11 |
"layers_to_transform": null,
|
| 12 |
"loftq_config": {},
|
| 13 |
"lora_alpha": 256,
|
| 14 |
+
"lora_dropout": 0.2,
|
| 15 |
"megatron_config": null,
|
| 16 |
"megatron_core": "megatron.core",
|
| 17 |
"modules_to_save": null,
|
|
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
|
|
|
| 23 |
"v_proj",
|
| 24 |
+
"k_proj",
|
| 25 |
"q_proj",
|
| 26 |
"o_proj"
|
| 27 |
],
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 204500760
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a4a7ee2780de13b64a083415d322e58e0bd11736e810e44d7958e31bc3786de
|
| 3 |
size 204500760
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5368
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a796f0215375b4455189b514723b046d9ec6d7daf9a9bdd74a5368ba4a90714
|
| 3 |
size 5368
|