NeuroWhAI commited on
Commit
1584156
β€’
1 Parent(s): 234ce04

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +68 -2
README.md CHANGED
@@ -12,8 +12,74 @@ tags:
12
  # ko-gemma-2-9b-it-fn-merged
13
 
14
  ko-gemma-2-9b-it-fn-merged is a merge of the following models using [mergekit](https://github.com/arcee-ai/mergekit):
15
- * [rtzr/ko-gemma-2-9b-it](https://huggingface.co/rtzr/ko-gemma-2-9b-it)
16
- * [NeuroWhAI/ko-gemma-2-9b-it-fn](https://huggingface.co/NeuroWhAI/ko-gemma-2-9b-it-fn)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
 
18
  ## 🧩 Configuration
19
 
 
12
  # ko-gemma-2-9b-it-fn-merged
13
 
14
  ko-gemma-2-9b-it-fn-merged is a merge of the following models using [mergekit](https://github.com/arcee-ai/mergekit):
15
+ * [rtzr/ko-gemma-2-9b-it](https://huggingface.co/rtzr/ko-gemma-2-9b-it) : korean base.
16
+ * [NeuroWhAI/ko-gemma-2-9b-it-fn](https://huggingface.co/NeuroWhAI/ko-gemma-2-9b-it-fn) : fine-tuned with a function call dataset.
17
+
18
+ ## Chat template
19
+
20
+ ```
21
+ <start_of_turn>user
22
+ You are a helpful assistant with access to the following functions. Use them if required -
23
+ {
24
+ "name": "search_books",
25
+ "description": "Search for books based on title, author, or genre",
26
+ "parameters": {
27
+ "type": "object",
28
+ "properties": {
29
+ "title": {
30
+ "type": "string",
31
+ "description": "The title of the book"
32
+ },
33
+ "author": {
34
+ "type": "string",
35
+ "description": "The author of the book"
36
+ },
37
+ "genre": {
38
+ "type": "string",
39
+ "description": "The genre of the book"
40
+ }
41
+ },
42
+ "required": []
43
+ }
44
+ }
45
+
46
+ To use these functions respond with:
47
+ <functioncall> {"name": "function_name", "arguments": {"arg_1": "value_1", "arg_1": "value_1", ...}} </functioncall>
48
+
49
+ Edge cases you must handle:
50
+ - If there are no functions that match the user request, you will respond politely that you cannot help.
51
+
52
+ User Question:
53
+ 책을 μ°Ύκ³  μžˆλŠ”λ° 제λͺ©μ„ κΈ°μ–΅ν•˜μ§€ λͺ»ν•˜λ„€μš”. μ €μžμ˜ 이름은 쑰지 μ˜€μ›°μž…λ‹ˆλ‹€.<end_of_turn>
54
+ <start_of_turn>model
55
+ <functioncall> {"name": "search_books", "arguments": {"author": "George Orwell"}} </functioncall> <end_of_turn>
56
+ <start_of_turn>user
57
+ {"books": [{"title": "1984", "author": "George Orwell", "genre": "λ””μŠ€ν† ν”Όμ•„"}, {"title": "동물농μž₯", "author": "George Orwell", "genre": "μ •μΉ˜ ν’μž"}]} <end_of_turn>
58
+ <start_of_turn>model
59
+ 쑰지 μ˜€μ›°μ˜ 책을 두 ꢌ μ°Ύμ•˜μ–΄μš”. 첫 λ²ˆμ§ΈλŠ” "1984"λΌλŠ” λ””μŠ€ν† ν”Όμ•„ μ†Œμ„€μ΄μ—μš”. 두 λ²ˆμ§ΈλŠ” μ •μΉ˜ ν’μžμΈ "동물농μž₯"μž…λ‹ˆλ‹€. <end_of_turn>
60
+ <start_of_turn>user
61
+ 였, λ§žμ•„μš”, "동물농μž₯"을 μ°Ύκ³  μžˆμ—ˆμ–΄μš”. 같은 μž₯λ₯΄μ˜ 책도 찾아쀄 수 μžˆμ„κΉŒμš”?<end_of_turn>
62
+ <start_of_turn>model
63
+ <functioncall> {"name": "search_books", "arguments": {"genre": "μ •μΉ˜ ν’μž"}} </functioncall> <end_of_turn>
64
+ <start_of_turn>user
65
+ {"books": [{"title": "Catch-22", "author": "Joseph Heller", "genre": "μ •μΉ˜ ν’μž"}, {"title": "Slaughterhouse-Five", "author": "Kurt Vonnegut", "genre": "μ •μΉ˜ ν’μž"}]} <end_of_turn>
66
+ <start_of_turn>model
67
+ λ‹Ήμ—°νžˆμš”, μ •μΉ˜ ν’μž μž₯λ₯΄μ— ν•΄λ‹Ήν•˜λŠ” μ±… 두 ꢌ 더 μ•Œλ €λ“œλ¦΄κ²Œμš”. Joseph Heller의 "Catch-22"와 Kurt Vonnegut의 "Slaughterhouse-Five"μž…λ‹ˆλ‹€. <end_of_turn>
68
+ ```
69
+
70
+ ```
71
+ <start_of_turn>user
72
+ You are a helpful assistant, with no access to external functions.
73
+
74
+ User Question:
75
+ 주어진 숫자 μ‹œν€€μŠ€λŠ” λ‹€μŒκ³Ό κ°™μŠ΅λ‹ˆλ‹€: 2, 4, 6, 8, 10. 각 μˆ«μžλŠ” λ°”λ‹€μ˜ νŒŒλ™κ³Ό λ§ˆμ°¬κ°€μ§€λ‘œ μ‹œκ°„μ˜ μˆœκ°„μ„ λ‚˜νƒ€λƒ…λ‹ˆλ‹€. μ‹œν€€μŠ€λ₯Ό κ³„μ†ν•˜λ©΄ 각 숫자 μ‚¬μ΄μ˜ 차이가 λ™μΌν•˜λ‹€λŠ” 것을 μ•Œ 수 μžˆμŠ΅λ‹ˆλ‹€. 마치 λ°”λžŒκ³Ό ν•΄λ₯˜κ°€ λ°”λ‹€μ˜ νŒŒλ™μ„ ν˜•μ„±ν•˜λŠ” κ²ƒμ²˜λŸΌ, 무언가가 숫자 μ‹œν€€μŠ€λ₯Ό ν˜•μ„±ν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€. μ‹œν€€μŠ€μ—μ„œ λ‹€μŒ μˆ«μžλŠ” 무엇이며, μ‹œκ°„κ³Όμ˜ κ΄€κ³„μ—μ„œ μ–΄λ–€ 의미λ₯Ό κ°€μ§€λŠ”μ§€ μ•Œλ €μ£Όμ„Έμš”.<end_of_turn>
76
+ <start_of_turn>model
77
+ 기술된 νŒ¨ν„΄μ— 따라, μ‹œν€€μŠ€μ—μ„œ λ‹€μŒ μˆ«μžλŠ” 12μž…λ‹ˆλ‹€. μ΄λŠ” 숫자 10으둜 ν‘œν˜„λœ 이전 μ‹œκ°„μ΄ 2개의 μ‹œκ°„ λ‹¨μœ„ λ’€λ₯Ό λ‚˜νƒ€λƒ…λ‹ˆλ‹€. νŒ¨ν„΄μ€ μ‹œν€€μŠ€μ—μ„œ 각 후속 μˆ«μžκ°€ 이전 숫자 λ‹€μŒμ— 2개의 μ‹œκ°„ λ‹¨μœ„μΈ 것을 μ‹œμ‚¬ν•©λ‹ˆλ‹€. λ”°λΌμ„œ 12 λ‹€μŒ μˆ«μžλŠ” 14이며, κ·Έ λ‹€μŒμ€ 16이 λ©λ‹ˆλ‹€. μ΄λŸ¬ν•œ νŒ¨ν„΄μ€ μΌμ •ν•œ 차이가 μžˆλŠ” λ“±μ°¨ μˆ˜μ—΄λ‘œ μ•Œλ €μ Έ μžˆμŠ΅λ‹ˆλ‹€. <end_of_turn>
78
+ <start_of_turn>user
79
+ νŒ¨ν„΄μ— κ΄€ν•΄ μ΄μ•ΌκΈ°ν•˜μžλ©΄, ν”Όλ³΄λ‚˜μΉ˜ μˆ˜μ—΄μ— λŒ€ν•΄ κΆκΈˆν•©λ‹ˆλ‹€. 이것은 무엇이고 μ–΄λ–»κ²Œ μž‘λ™ν•˜λ‚˜μš”?<end_of_turn>
80
+ <start_of_turn>model
81
+ ν”Όλ³΄λ‚˜μΉ˜ μˆ˜μ—΄μ€ 각 μˆ«μžκ°€ 이전 두 숫자의 ν•©μœΌλ‘œ 이루어진 μˆ˜μ—΄μž…λ‹ˆλ‹€. μ‹œμž‘μ€ 0κ³Ό 1λ‘œλΆ€ν„° μ‹œμž‘ν•˜μ—¬ 이전 두 숫자λ₯Ό 더해 λ‹€μŒ 숫자λ₯Ό μ–»λŠ” λ°©μ‹μœΌλ‘œ κ³„μ†λ©λ‹ˆλ‹€. λ”°λΌμ„œ μˆ˜μ—΄μ€ 0, 1, 1, 2, 3, 5, 8, 13, 21 λ“±μœΌλ‘œ μ΄μ–΄μ§‘λ‹ˆλ‹€. 이전 두 숫자λ₯Ό λ”ν•˜λ©΄μ„œ λ‹€μŒ 숫자λ₯Ό κ΅¬ν•˜λŠ” νŒ¨ν„΄μ€ λ¬΄ν•œνžˆ μ΄μ–΄μ§€κ²Œ λ©λ‹ˆλ‹€. ν”Όλ³΄λ‚˜μΉ˜ μˆ˜μ—΄μ€ μ΄νƒˆλ¦¬μ•„ μˆ˜ν•™μžμΈ λ ˆμ˜€λ‚˜λ₯΄λ„ ν”Όλ³΄λ‚˜μΉ˜κ°€ μ„œμ–‘μ— μ†Œκ°œν•œ κ²ƒμ—μ„œ 이름을 λ”°μ™”μŠ΅λ‹ˆλ‹€. ν”Όλ³΄λ‚˜μΉ˜ μˆ˜μ—΄μ€ λ‚˜λ¬΄μ˜ 가지 치기, 쀄기에 잎이 λ°°μ—΄λ˜λŠ” ν˜•νƒœ, λ‹¬νŒ½μ΄ 껍질의 λͺ¨μ–‘κ³Ό 같이 μžμ—°μ—μ„œ 많이 λ‚˜νƒ€λ‚©λ‹ˆλ‹€. <end_of_turn>
82
+ ```
83
 
84
  ## 🧩 Configuration
85