Update README.md
Browse files
README.md
CHANGED
@@ -34,9 +34,9 @@ from peft import PeftModel, PeftConfig
|
|
34 |
from transformers import AutoModelForCausalLM ,AutoTokenizer
|
35 |
|
36 |
config = PeftConfig.from_pretrained("damerajee/Tinyllama-sft-small")
|
37 |
-
model = AutoModelForCausalLM.from_pretrained("unsloth/tinyllama
|
38 |
tokenizer=AutoTokenizer.from_pretrained("damerajee/Tinyllama-sft-small")
|
39 |
-
model = PeftModel.from_pretrained(model, "damerajee/Tinyllama-sft-small")
|
40 |
|
41 |
```
|
42 |
### Inference
|
|
|
34 |
from transformers import AutoModelForCausalLM ,AutoTokenizer
|
35 |
|
36 |
config = PeftConfig.from_pretrained("damerajee/Tinyllama-sft-small")
|
37 |
+
model = AutoModelForCausalLM.from_pretrained("unsloth/tinyllama")
|
38 |
tokenizer=AutoTokenizer.from_pretrained("damerajee/Tinyllama-sft-small")
|
39 |
+
model = PeftModel.from_pretrained(model, "damerajee/Tinyllama-sft-small")l")
|
40 |
|
41 |
```
|
42 |
### Inference
|