Instructions to use HopitAI/hopper with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use HopitAI/hopper with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-4B") model = PeftModel.from_pretrained(base_model, "HopitAI/hopper") - Notebooks
- Google Colab
- Kaggle
Set task_type to CAUSAL_LM so the Hub parses the adapter config
Browse files- adapter_config.json +2 -2
adapter_config.json
CHANGED
|
@@ -49,11 +49,11 @@
|
|
| 49 |
"in_proj_qkv"
|
| 50 |
],
|
| 51 |
"target_parameters": null,
|
| 52 |
-
"task_type":
|
| 53 |
"trainable_token_indices": null,
|
| 54 |
"use_bdlora": null,
|
| 55 |
"use_dora": false,
|
| 56 |
"use_qalora": false,
|
| 57 |
"use_rslora": false,
|
| 58 |
"velora_config": null
|
| 59 |
-
}
|
|
|
|
| 49 |
"in_proj_qkv"
|
| 50 |
],
|
| 51 |
"target_parameters": null,
|
| 52 |
+
"task_type": "CAUSAL_LM",
|
| 53 |
"trainable_token_indices": null,
|
| 54 |
"use_bdlora": null,
|
| 55 |
"use_dora": false,
|
| 56 |
"use_qalora": false,
|
| 57 |
"use_rslora": false,
|
| 58 |
"velora_config": null
|
| 59 |
+
}
|