pyvene.models.basic_utils.top_vals

Contents

pyvene.models.basic_utils.top_vals#

top_vals(tokenizer, res, n=10, return_results=False)[source]#

Pretty print the top n values of a distribution over the vocabulary