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

Function sample_probs

python/sampling.py:18–52  ·  view source on GitHub ↗
(probs: np.ndarray, 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 1

sample_logitsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected