Instructions to use jupitercoder/kogpt2-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use jupitercoder/kogpt2-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("skt/kogpt2-base-v2") model = PeftModel.from_pretrained(base_model, "jupitercoder/kogpt2-lora") - Notebooks
- Google Colab
- Kaggle
dan H commited on
Commit ·
4db1ee5
1
Parent(s): 8940064
Upload model
Browse files- adapter_config.json +2 -2
- adapter_model.bin +2 -2
adapter_config.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"auto_mapping": null,
|
| 3 |
-
"base_model_name_or_path":
|
| 4 |
"bias": "none",
|
| 5 |
-
"fan_in_fan_out":
|
| 6 |
"inference_mode": true,
|
| 7 |
"init_lora_weights": true,
|
| 8 |
"layers_pattern": null,
|
|
|
|
| 1 |
{
|
| 2 |
"auto_mapping": null,
|
| 3 |
+
"base_model_name_or_path": null,
|
| 4 |
"bias": "none",
|
| 5 |
+
"fan_in_fan_out": false,
|
| 6 |
"inference_mode": true,
|
| 7 |
"init_lora_weights": true,
|
| 8 |
"layers_pattern": null,
|
adapter_model.bin
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:3d25e7856ececaee735c5c9ebb5f0847f2648f818237404889b627e543d942d0
|
| 3 |
+
size 1188409
|