MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / gpt_random_prompt

Function gpt_random_prompt

common/common.cpp:878–894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

876}
877
878std::string gpt_random_prompt(std::mt19937 & rng) {
879 const int r = rng() % 10;
880 switch (r) {
881 case 0: return "So";
882 case 1: return "Once upon a time";
883 case 2: return "When";
884 case 3: return "The";
885 case 4: return "After";
886 case 5: return "If";
887 case 6: return "import";
888 case 7: return "He";
889 case 8: return "She";
890 case 9: return "They";
891 }
892
893 GGML_UNREACHABLE();
894}
895
896//
897// Model utils

Callers 3

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected