Download tools/perplexity/CMakeLists.txt from OpenTransformer/llama.cpp-prismml: direct link, hf CLI and curl.
- Browser
- Download file 276 Bytes
-
https://huggingface.co/OpenTransformer/llama.cpp-prismml/resolve/main/tools/perplexity/CMakeLists.txt
- Command line
-
hf download hf://OpenTransformer/llama.cpp-prismml/tools/perplexity/CMakeLists.txt
-
curl -L -o CMakeLists.txt https://huggingface.co/OpenTransformer/llama.cpp-prismml/resolve/main/tools/perplexity/CMakeLists.txt
276 Bytes
| set(TARGET llama-perplexity) | |
| add_executable(${TARGET} perplexity.cpp) | |
| target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT}) | |
| target_compile_features(${TARGET} PRIVATE cxx_std_17) | |
| if(LLAMA_TOOLS_INSTALL) | |
| install(TARGETS ${TARGET} RUNTIME) | |
| endif() | |