You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: llama-cpp-2/src/model.rs
+2-2
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ use std::num::NonZeroU16;
4
4
use std::os::raw::c_int;
5
5
use std::path::Path;
6
6
use std::ptr::NonNull;
7
-
use std::str::{FromStr,Utf8Error};
7
+
use std::str::Utf8Error;
8
8
9
9
usecrate::context::params::LlamaContextParams;
10
10
usecrate::context::LlamaContext;
@@ -47,7 +47,7 @@ impl LlamaChatTemplate {
47
47
/// Create a new template from a string. This can either be the name of a llama.cpp [chat template](https://github.com/ggerganov/llama.cpp/blob/8a8c4ceb6050bd9392609114ca56ae6d26f5b8f5/src/llama-chat.cpp#L27-L61)
48
48
/// like "chatml" or "llama3" or an actual Jinja template for llama.cpp to interpret.
0 commit comments