Commit b20b8bf
llama : Add IBM granite template (ggml-org#10013)
* Add granite template to llama.cpp
* Add granite template to test-chat-template.cpp
* Update src/llama.cpp
Co-authored-by: Xuan Son Nguyen <[email protected]>
* Update tests/test-chat-template.cpp
Co-authored-by: Xuan Son Nguyen <[email protected]>
* Added proper template and expected output
* Small change to \n
Small change to \n
* Add code space &
Co-authored-by: Xuan Son Nguyen <[email protected]>
* Fix spacing
* Apply suggestions from code review
* Update src/llama.cpp
---------
Co-authored-by: Xuan Son Nguyen <[email protected]>1 parent 0e06717 commit b20b8bf
2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21712 | 21712 | | |
21713 | 21713 | | |
21714 | 21714 | | |
| 21715 | + | |
| 21716 | + | |
| 21717 | + | |
| 21718 | + | |
| 21719 | + | |
| 21720 | + | |
| 21721 | + | |
| 21722 | + | |
| 21723 | + | |
| 21724 | + | |
21715 | 21725 | | |
21716 | 21726 | | |
21717 | 21727 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| 114 | + | |
| 115 | + | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
| |||
0 commit comments