From 0f213bc3c838e4db76b2a45691e111a15da8bbbc Mon Sep 17 00:00:00 2001 From: Jai Date: Sat, 10 Feb 2024 22:01:31 -0800 Subject: [PATCH] addressing assorted nits --- notebooks/vis_demo.ipynb | 16 +++---- src/delphi/eval/compare_models.py | 42 ++++++------------- src/delphi/eval/utils.py | 24 ++++++++--- tests/eval/test_compare_models.py | 70 +++++++++---------------------- 4 files changed, 57 insertions(+), 95 deletions(-) diff --git a/notebooks/vis_demo.ipynb b/notebooks/vis_demo.ipynb index 927584a2..842804d0 100644 --- a/notebooks/vis_demo.ipynb +++ b/notebooks/vis_demo.ipynb @@ -40,12 +40,12 @@ "data": { "text/html": [ "\n", - " \n", - "
<|endoftext|>
Once
 upon
 a
 time
,
 there
 was
 a
 kind
 girl
 named
 Lily
.
 Lily
 loved
 to
 mix
 things
.
 One
 day
,
 she
 found
 a
 big
 box
 full
 of
 colors
.
 Lily
 was
 very
 happy
.
\\n

L
ily
 took
 out
 a
 strip
 of
 red
 and
 a
 strip
 of
 blue
.
 She
 mixed
 them
 together
 and
 made
 a
 new
 color
,
 purple
!
 Lily
 was
 so
 excited
.
 She
 wanted
 to
 mix
 more
 colors
.
\\n

Next
,
 Lily
 took
 a
 strip
 of
 yellow
 and
 a
 strip
 of
 green
.
 She
 mixed
 them
 together
 and
 made
 a
 new
 color
,
 orange
!
 Lily
 was
 very
 proud
 of
 herself
.
 She
 showed
 her
 new
 colors
 to
 her
 mom
 and
 dad
,
 and
 they
 were
 proud
 of
 her
 too
.
 They
 all
 lived
 happily
 ever
 after
.
\n", + " \n", + "
<|endoftext|>
Once
 upon
 a
 time
,
 there
 was
 a
 kind
 girl
 named
 Lily
.
 Lily
 loved
 to
 mix
 things
.
 One
 day
,
 she
 found
 a
 big
 box
 full
 of
 colors
.
 Lily
 was
 very
 happy
.
\\n

L
ily
 took
 out
 a
 strip
 of
 red
 and
 a
 strip
 of
 blue
.
 She
 mixed
 them
 together
 and
 made
 a
 new
 color
,
 purple
!
 Lily
 was
 so
 excited
.
 She
 wanted
 to
 mix
 more
 colors
.
\\n

Next
,
 Lily
 took
 a
 strip
 of
 yellow
 and
 a
 strip
 of
 green
.
 She
 mixed
 them
 together
 and
 made
 a
 new
 color
,
 orange
!
 Lily
 was
 very
 proud
 of
 herself
.
 She
 showed
 her
 new
 colors
 to
 her
 mom
 and
 dad
,
 and
 they
 were
 proud
 of
 her
 too
.
 They
 all
 lived
 happily
 ever
 after
.
\n", "