Instructions to use mark-22/LoRA_dataclean_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mark-22/LoRA_dataclean_2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen3-4b-instruct-2507-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "mark-22/LoRA_dataclean_2") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -59,6 +59,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
| 59 |
device_map="auto",
|
| 60 |
)
|
| 61 |
model = PeftModel.from_pretrained(model, adapter_name)
|
|
|
|
| 62 |
|
| 63 |
# Inference Example
|
| 64 |
messages = [
|
|
|
|
| 59 |
device_map="auto",
|
| 60 |
)
|
| 61 |
model = PeftModel.from_pretrained(model, adapter_name)
|
| 62 |
+
```
|
| 63 |
|
| 64 |
# Inference Example
|
| 65 |
messages = [
|