Text Generation
Transformers
Safetensors
English
purbeshmitra commited on
Commit
dd57814
·
verified ·
1 Parent(s): 786a2f0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -0
README.md CHANGED
@@ -4,6 +4,13 @@ library_name: peft
4
  license: apache-2.0
5
  ---
6
 
 
 
 
 
 
 
 
7
  ## Citation
8
  If you find our work useful, consider citing it as:
9
  ```bibtex
 
4
  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:
16
  ```bibtex