3 # Any copyright is dedicated to the Public Domain.
4 # https://creativecommons.org/publicdomain/zero/1.0/
6 # Written by Francois Fleuret <francois@fleuret.org>
10 def nb_token_values(self):
13 # returns two tensors nb x D and nb x D'
14 def generate_prompts_and_answers(self, nb):
17 # save a file to vizualize quizzes, you can save a txt or png file
24 predicted_prompt=None,
25 predicted_answers=None,