Commit 61715d5
llama : Add IBM granite template (#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 07028f9 commit 61715d5
2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21706 | 21706 | | |
21707 | 21707 | | |
21708 | 21708 | | |
| 21709 | + | |
| 21710 | + | |
| 21711 | + | |
| 21712 | + | |
| 21713 | + | |
| 21714 | + | |
| 21715 | + | |
| 21716 | + | |
| 21717 | + | |
| 21718 | + | |
21709 | 21719 | | |
21710 | 21720 | | |
21711 | 21721 | | |
| |||
| 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