Update README.md
Browse files
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 |
|