MCPcopy Create free account
hub / github.com/RWKV/rwkv.cpp / sample_logits

Function sample_logits

python/sampling.py:10–16  ·  view source on GitHub ↗
(out, temperature: float = 1.0, top_p: float = 0.8, logit_bias: Dict[int, float] = None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

softmaxFunction · 0.85
sample_probsFunction · 0.85

Tested by

no test coverage detected