Download windows-x86_64/needle.h from Ank0X0/needle2: direct link, hf CLI and curl.
- Browser
- Download file 562 Bytes
-
https://huggingface.co/Ank0X0/needle2/resolve/main/windows-x86_64/needle.h
- Command line
-
hf download hf://Ank0X0/needle2/windows-x86_64/needle.h
-
curl -L -o needle.h https://huggingface.co/Ank0X0/needle2/resolve/main/windows-x86_64/needle.h
562 Bytes
| extern "C" { | |
| NEEDLE_API int needle_init( | |
| const char* system_prompt, | |
| const char* tools_json, | |
| const char* tool_index_path | |
| ); | |
| NEEDLE_API int needle_complete( | |
| const char* input, | |
| int max_new_tokens, | |
| char* out, | |
| int out_capacity | |
| ); | |
| NEEDLE_API void needle_reset(void); | |
| NEEDLE_API int needle_load( | |
| const unsigned char* cact, | |
| unsigned long long n | |
| ); | |
| } | |