Update README.md
Browse files
README.md
CHANGED
|
@@ -5,11 +5,13 @@ license: apache-2.0
|
|
| 5 |
---
|
| 6 |
|
| 7 |
## Usage
|
|
|
|
| 8 |
from peft import PeftModel
|
| 9 |
from transformers import AutoModelForCausalLM
|
| 10 |
|
| 11 |
base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen2.5-3b-instruct-unsloth-bnb-4bit")
|
| 12 |
model = PeftModel.from_pretrained(base_model, "purbeshmitra/MOTIF")
|
|
|
|
| 13 |
|
| 14 |
## Citation
|
| 15 |
If you find our work useful, consider citing it as:
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
## Usage
|
| 8 |
+
```python
|
| 9 |
from peft import PeftModel
|
| 10 |
from transformers import AutoModelForCausalLM
|
| 11 |
|
| 12 |
base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen2.5-3b-instruct-unsloth-bnb-4bit")
|
| 13 |
model = PeftModel.from_pretrained(base_model, "purbeshmitra/MOTIF")
|
| 14 |
+
```
|
| 15 |
|
| 16 |
## Citation
|
| 17 |
If you find our work useful, consider citing it as:
|