Skip to content
The Chat Archive
gemini-pro· Google Arena Human Preference 55K

print with a fixed number of decimals, in one row of code, without iterations, using…

  1. User

    print with a fixed number of decimals, in one row of code, without iterations, using pytorch builtins print(f'{F.softmax(logits/0.1, dim = -1)}') # valori one hot --> meno valori tra cui scegliere

  2. Assistant
    print(f'{F.softmax(logits/0.1, dim = -1).view(-1)[::logits.shape[-1]].tolist()}')
    

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.