| 1250 | } |
| 1251 | |
| 1252 | size_t CactusGraph::sample(size_t logits, float temperature, float top_p, size_t top_k, |
| 1253 | const std::unordered_map<uint32_t, float>& logit_bias) { |
| 1254 | return this->sample_with_options(logits, temperature, top_p, 0.15f, 1.1f, top_k, logit_bias); |
| 1255 | } |
| 1256 | |
| 1257 | size_t CactusGraph::sample_with_options(size_t logits, float temperature, float top_p, |
| 1258 | float min_p, float repetition_penalty, size_t top_k, |
no test coverage detected