sapie-model commited on
Commit
6bb8cdf
ยท
verified ยท
1 Parent(s): 876de67

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +26 -0
README.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ language: [ko]
5
+ tags: [lora, peft, adapters]
6
+ task_categories: [text-generation]
7
+ base_model: OpenPipe/gemma-3-27b-it-text-only
8
+ ---
9
+
10
+ # sapie-model/SQL-sft-grpo-5000
11
+
12
+ - ์ด ๋ฆฌํฌ๋Š” **LoRA/์–ด๋Œ‘ํ„ฐ ๊ฐ€์ค‘์น˜**๋งŒ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค. ์ถ”๋ก  ์‹œ์—๋Š” ๋ฒ ์ด์Šค ๋ชจ๋ธ `OpenPipe/gemma-3-27b-it-text-only` ๊ณผ ํ•จ๊ป˜ ๋กœ๋“œํ•˜์„ธ์š”.
13
+
14
+ ## ์‚ฌ์šฉ ์˜ˆ์‹œ
15
+
16
+ ```python
17
+ from transformers import AutoTokenizer, AutoModelForCausalLM
18
+ from peft import PeftModel
19
+
20
+ base = "OpenPipe/gemma-3-27b-it-text-only"
21
+ model_id = "sapie-model/SQL-sft-grpo-5000" # ์ด ์–ด๋Œ‘ํ„ฐ ๋ฆฌํฌ
22
+
23
+ tok = AutoTokenizer.from_pretrained(base)
24
+ model = AutoModelForCausalLM.from_pretrained(base, torch_dtype='auto', device_map='auto')
25
+ model = PeftModel.from_pretrained(model, model_id)
26
+ ```