skwh54 commited on
Commit
7d19d2c
Β·
verified Β·
1 Parent(s): 15fcce6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -12
README.md CHANGED
@@ -7,11 +7,11 @@ base_model:
7
  # Gemma-2-2b μ΄ˆλ“±ν•™μƒ κΈ€ λ³€ν™˜κΈ°
8
 
9
 
10
- ## :computer: Model Description
11
  - Gemma2-2b ν•œκ΅­ μ΄ˆλ“±ν•™μƒ κΈ€ λ³€ν™˜κΈ°λŠ” μž…λ ₯ν•œ 글을 μ΄ˆλ“±ν•™μƒμ΄ μ“΄ 것 같은 κΈ€λ‘œ λ³€ν™˜ν•΄ μ£ΌλŠ” λͺ¨λΈμž…λ‹ˆλ‹€.
12
  - Gemma2-2b-it λͺ¨λΈμ„ base model둜 μ‚¬μš©ν•˜μ˜€κ³  LoRA기법을 μ‚¬μš©ν•˜μ—¬ 효율적으둜 fine-tuning ν•˜μ˜€μŠ΅λ‹ˆλ‹€.
13
 
14
- ## :vertical_traffic_light: Usage
15
  ```
16
  import transformers
17
  import torch
@@ -25,18 +25,13 @@ model = AutoModelForCausalLM.from_pretrained(BASE_MODEL, device_map={"":0})
25
  tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL)
26
  ```
27
 
28
- ## :file_folder: Examples
29
- | Input | Output |
30
- |-------||-------|
31
- | μ•ˆλ…•ν•˜μ„Έμš”. μ €λŠ” μΉœκ΅¬μ™€ κ³΅μ›μ—μ„œ λ§Œλ‚˜μ„œ λ†€μ•˜μ–΄μš”. 날씨가 μ’‹μ•„μ„œ 놀기 μ’‹μ•˜μ–΄μš”. λ§›μžˆλŠ” μŒμ‹λ“€λ„ 많이 λ¨Ήμ—ˆμ–΄μš”. 내일도 놀고 μ‹Άλ‹€! |γ…Žγ…‡ λ‚œ μΉœκ΅¬λž‘ κ³΅μ›μ—μ„œ λ§Œλ‚˜μ„œ λ†€μ•˜λŠ”λ° 날씨가 μ’‹μ•„μ„œ 더 μ’‹μ•˜κ³  λ§›μžˆλŠ” μŒμ‹λ„ 많이 λ¨Ήμ—ˆμŒ 내일도 놀고 μ‹Άλ‹€ |
32
 
33
 
34
- ![image/png](https://cdn-uploads.huggingface.co/production/uploads/66d6e6660429a62c38689745/aOqgziWrguVydH0_Y4L3j.png)
35
-
36
- :file_folder:
37
-
38
- ## :page_with_curl: Training data
39
  - [korean_smile_style_dataset](https://github.com/smilegate-ai/korean_smile_style_dataset)을 μ‚¬μš©ν•˜μ˜€μŠ΅λ‹ˆλ‹€.
40
  - λ³Έ λ°μ΄ν„°λŠ” Smilegate AIμ—μ„œ κ³΅κ°œν•˜λŠ” ν•œκ΅­μ–΄ 문체 μŠ€νƒ€μΌ λ³€ν™˜ "SmileStyle" λ°μ΄ν„°μ…‹μž…λ‹ˆλ‹€.
41
  - μ—¬λŸ¬ μŠ€νƒ€μΌμ˜ 문체가 μ‘΄μž¬ν•˜λ©° 이 μ€‘μ—μ„œ formalκ³Ό choding μŠ€νƒ€μΌμ˜ λ°μ΄ν„°λ§Œμ„ μΆ”μΆœν•˜μ—¬ μ‚¬μš©ν•˜μ˜€μŠ΅λ‹ˆλ‹€.
42
- data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==
 
7
  # Gemma-2-2b μ΄ˆλ“±ν•™μƒ κΈ€ λ³€ν™˜κΈ°
8
 
9
 
10
+ ## πŸ’» Model Description
11
  - Gemma2-2b ν•œκ΅­ μ΄ˆλ“±ν•™μƒ κΈ€ λ³€ν™˜κΈ°λŠ” μž…λ ₯ν•œ 글을 μ΄ˆλ“±ν•™μƒμ΄ μ“΄ 것 같은 κΈ€λ‘œ λ³€ν™˜ν•΄ μ£ΌλŠ” λͺ¨λΈμž…λ‹ˆλ‹€.
12
  - Gemma2-2b-it λͺ¨λΈμ„ base model둜 μ‚¬μš©ν•˜μ˜€κ³  LoRA기법을 μ‚¬μš©ν•˜μ—¬ 효율적으둜 fine-tuning ν•˜μ˜€μŠ΅λ‹ˆλ‹€.
13
 
14
+ ## 🚦Usage
15
  ```
16
  import transformers
17
  import torch
 
25
  tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL)
26
  ```
27
 
28
+ ## πŸ“‚ Examples
29
+ | Input | Output |
30
+ |---------|----------|
31
+ | μ•ˆλ…•ν•˜μ„Έμš”. μ €λŠ” μΉœκ΅¬μ™€ κ³΅μ›μ—μ„œ λ§Œλ‚˜μ„œ λ†€μ•˜μ–΄μš”. 날씨가 μ’‹μ•„μ„œ 놀기 μ’‹μ•˜μ–΄μš”. λ§›μžˆλŠ” μŒμ‹λ“€λ„ 많이 λ¨Ήμ—ˆμ–΄μš”. 내일도 놀고 μ‹Άλ‹€! | γ…Žγ…‡ λ‚œ μΉœκ΅¬λž‘ κ³΅μ›μ—μ„œ λ§Œλ‚˜μ„œ λ†€μ•˜λŠ”λ° 날씨가 μ’‹μ•„μ„œ 더 μ’‹μ•˜κ³  λ§›μžˆλŠ” μŒμ‹λ„ 많이 λ¨Ήμ—ˆμŒ 내일도 놀고 μ‹Άλ‹€ |
32
 
33
 
34
+ ## πŸ“ƒ Training data
 
 
 
 
35
  - [korean_smile_style_dataset](https://github.com/smilegate-ai/korean_smile_style_dataset)을 μ‚¬μš©ν•˜μ˜€μŠ΅λ‹ˆλ‹€.
36
  - λ³Έ λ°μ΄ν„°λŠ” Smilegate AIμ—μ„œ κ³΅κ°œν•˜λŠ” ν•œκ΅­μ–΄ 문체 μŠ€νƒ€μΌ λ³€ν™˜ "SmileStyle" λ°μ΄ν„°μ…‹μž…λ‹ˆλ‹€.
37
  - μ—¬λŸ¬ μŠ€νƒ€μΌμ˜ 문체가 μ‘΄μž¬ν•˜λ©° 이 μ€‘μ—μ„œ formalκ³Ό choding μŠ€νƒ€μΌμ˜ λ°μ΄ν„°λ§Œμ„ μΆ”μΆœν•˜μ—¬ μ‚¬μš©ν•˜μ˜€μŠ΅λ‹ˆλ‹€.