Download llama.cpp/include/llama-cpp.h from Mat17892/iris: direct link, hf CLI and curl.
- Browser
- Download file 676 Bytes
-
https://huggingface.co/spaces/Mat17892/iris/resolve/main/llama.cpp/include/llama-cpp.h
- Command line
-
hf download hf://spaces/Mat17892/iris/llama.cpp/include/llama-cpp.h
-
curl -L -o llama-cpp.h https://huggingface.co/spaces/Mat17892/iris/resolve/main/llama.cpp/include/llama-cpp.h
676 Bytes
| struct llama_model_deleter { | |
| void operator()(llama_model * model) { llama_free_model(model); } | |
| }; | |
| struct llama_context_deleter { | |
| void operator()(llama_context * context) { llama_free(context); } | |
| }; | |
| struct llama_sampler_deleter { | |
| void operator()(llama_sampler * sampler) { llama_sampler_free(sampler); } | |
| }; | |
| typedef std::unique_ptr<llama_model, llama_model_deleter> llama_model_ptr; | |
| typedef std::unique_ptr<llama_context, llama_context_deleter> llama_context_ptr; | |
| typedef std::unique_ptr<llama_sampler, llama_sampler_deleter> llama_sampler_ptr; | |