Update README.md
Browse files
README.md
CHANGED
|
@@ -63,16 +63,15 @@ This model is fine-tuned for instruction-following in the domain of personal fin
|
|
| 63 |
Use the code below to get started with the model.
|
| 64 |
|
| 65 |
```python
|
| 66 |
-
from huggingface_hub import login
|
| 67 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 68 |
from peft import PeftModel
|
| 69 |
|
| 70 |
-
|
| 71 |
|
| 72 |
tokenizer = AutoTokenizer.from_pretrained("unsloth/Qwen3-1.7B",)
|
| 73 |
base_model = AutoModelForCausalLM.from_pretrained(
|
| 74 |
"unsloth/Qwen3-1.7B",
|
| 75 |
-
device_map={"": 0}
|
| 76 |
)
|
| 77 |
|
| 78 |
model = PeftModel.from_pretrained(base_model,"khazarai/Personal-Finance-R1")
|
|
|
|
| 63 |
Use the code below to get started with the model.
|
| 64 |
|
| 65 |
```python
|
|
|
|
| 66 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 67 |
from peft import PeftModel
|
| 68 |
|
| 69 |
+
|
| 70 |
|
| 71 |
tokenizer = AutoTokenizer.from_pretrained("unsloth/Qwen3-1.7B",)
|
| 72 |
base_model = AutoModelForCausalLM.from_pretrained(
|
| 73 |
"unsloth/Qwen3-1.7B",
|
| 74 |
+
device_map={"": 0}
|
| 75 |
)
|
| 76 |
|
| 77 |
model = PeftModel.from_pretrained(base_model,"khazarai/Personal-Finance-R1")
|