extern "C" { | |
typedef struct Main Main; | |
Main *build_main(char* checkpoint_path, char* tokenizer_path, float temperature, float topp, int steps, | |
char* prompt, unsigned long long rng_seed, char* mode, char* system_prompt); | |
void free_main(Main *m); | |
char *run_main(Main *m); | |
} | |