Instructions to use thejaminator/qwen-hook-layer-9 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use thejaminator/qwen-hook-layer-9 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-8B") model = PeftModel.from_pretrained(base_model, "thejaminator/qwen-hook-layer-9") - Notebooks
- Google Colab
- Kaggle
Add README with base model metadata
Browse files
README.md
CHANGED
|
@@ -23,7 +23,7 @@ base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-8B")
|
|
| 23 |
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-8B")
|
| 24 |
|
| 25 |
# Load LoRA adapter
|
| 26 |
-
model = PeftModel.from_pretrained(base_model, "thejaminator/qwen-hook-layer-
|
| 27 |
```
|
| 28 |
|
| 29 |
## Training Details
|
|
|
|
| 23 |
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-8B")
|
| 24 |
|
| 25 |
# Load LoRA adapter
|
| 26 |
+
model = PeftModel.from_pretrained(base_model, "thejaminator/qwen-hook-layer-9")
|
| 27 |
```
|
| 28 |
|
| 29 |
## Training Details
|