Download tests/peg-parser/tests.h from OpenTransformer/llama.cpp-prismml: direct link, hf CLI and curl.
- Browser
- Download file 557 Bytes
-
https://huggingface.co/OpenTransformer/llama.cpp-prismml/resolve/main/tests/peg-parser/tests.h
- Command line
-
hf download hf://OpenTransformer/llama.cpp-prismml/tests/peg-parser/tests.h
-
curl -L -o tests.h https://huggingface.co/OpenTransformer/llama.cpp-prismml/resolve/main/tests/peg-parser/tests.h
557 Bytes
| // Common includes for all test files | |
| struct bench_tool_call { | |
| std::string id; | |
| std::string name; | |
| nlohmann::ordered_json args; | |
| }; | |
| // Test function declarations | |
| void test_basic(testing &t); | |
| void test_json_parser(testing &t); | |
| void test_gbnf_generation(testing &t); | |
| void test_unicode(testing &t); | |
| void test_json_serialization(testing &t); | |