damerajee commited on
Commit
69a4b0d
1 Parent(s): c06c2bd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -7
README.md CHANGED
@@ -30,14 +30,10 @@ alpaca_prompt = """Below is an instruction that describes a task, paired with an
30
  ### load the model
31
 
32
  ```python
33
- 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")l")
40
 
 
 
41
  ```
42
  ### Inference
43
 
 
30
  ### load the model
31
 
32
  ```python
33
+ from transformers import AutoTokenizer, AutoModelForCausalLM
 
 
 
 
 
 
34
 
35
+ tokenizer = AutoTokenizer.from_pretrained("damerajee/tinyllama-sft-small-v2")
36
+ model = AutoModelForCausalLM.from_pretrained("damerajee/tinyllama-sft-small-v2")
37
  ```
38
  ### Inference
39