damerajee commited on
Commit
4251a6c
1 Parent(s): 644c753

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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-bnb-4bit")
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