Skip to content

Commit 142c91f

Browse files
authored
test: fix tests (#508)
1 parent c1f26bf commit 142c91f

File tree

2 files changed

+257
-257
lines changed

2 files changed

+257
-257
lines changed

test/modelDependent/llama3.1/controlledEvaluate.test.ts

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -96,73 +96,73 @@ describe("llama 3.1", () => {
9696
{
9797
"next": {
9898
"probabilities": Map {
99-
35308 => 0.5214539,
100-
27096 => 0.2432189,
101-
11 => 0.0221867,
102-
198 => 0.0119489,
103-
374 => 0.0083635,
104-
863 => 0.0083618,
105-
1131 => 0.0068354,
106-
25 => 0.0062467,
107-
7940 => 0.0054025,
108-
320 => 0.0051706,
99+
35308 => 0.5205752,
100+
27096 => 0.2434221,
101+
11 => 0.0222422,
102+
198 => 0.0119651,
103+
863 => 0.0083929,
104+
374 => 0.0083748,
105+
1131 => 0.0068622,
106+
25 => 0.0062526,
107+
7940 => 0.0053943,
108+
1 => 0.0051856,
109109
},
110110
},
111111
},
112112
{
113113
"next": {
114114
"probabilities": Map {
115-
927 => 0.9811952,
116-
198 => 0.0033833,
117-
6288 => 0.00327,
118-
279 => 0.0006553,
119-
1633 => 0.0003185,
120-
1035 => 0.0003111,
115+
927 => 0.9811716,
116+
198 => 0.003379,
117+
6288 => 0.0032698,
118+
279 => 0.0006585,
119+
1633 => 0.0003187,
120+
1035 => 0.0003126,
121121
13 => 0.0002916,
122-
264 => 0.0002894,
123-
297 => 0.0002833,
122+
264 => 0.0002902,
123+
297 => 0.0002849,
124124
720 => 0.0002489,
125125
},
126126
"token": 927,
127127
},
128128
},
129129
{
130130
"next": {
131-
"confidence": 0.930688,
131+
"confidence": 0.9307394,
132132
"token": 279,
133133
},
134134
},
135135
{
136136
"next": {
137-
"confidence": 0.9597747,
137+
"confidence": 0.9596596,
138138
"probabilities": Map {
139-
16053 => 0.9597747,
140-
1208 => 0.0047502,
141-
198 => 0.0031807,
142-
5679 => 0.0029171,
143-
65536 => 0.0019718,
144-
6435 => 0.0009126,
145-
2697 => 0.0006707,
146-
720 => 0.0005979,
147-
21811 => 0.0005516,
148-
45363 => 0.0005494,
139+
16053 => 0.9596596,
140+
1208 => 0.0047719,
141+
198 => 0.0031805,
142+
5679 => 0.0029246,
143+
65536 => 0.0019735,
144+
6435 => 0.000917,
145+
2697 => 0.0006723,
146+
720 => 0.0005984,
147+
21811 => 0.0005529,
148+
45363 => 0.0005513,
149149
},
150150
},
151151
},
152152
{
153153
"next": {
154-
"confidence": 0.9871562,
154+
"confidence": 0.9871598,
155155
"probabilities": Map {
156-
5679 => 0.9871562,
157-
21811 => 0.0014367,
158-
198 => 0.0009356,
159-
8415 => 0.0007227,
160-
12875 => 0.0003802,
161-
4194 => 0.0003468,
162-
720 => 0.0002813,
163-
14588 => 0.000276,
164-
9522 => 0.0002415,
165-
627 => 0.0002041,
156+
5679 => 0.9871598,
157+
21811 => 0.0014282,
158+
198 => 0.0009355,
159+
8415 => 0.0007248,
160+
12875 => 0.0003796,
161+
4194 => 0.0003463,
162+
720 => 0.0002809,
163+
14588 => 0.0002761,
164+
9522 => 0.0002418,
165+
627 => 0.0002038,
166166
},
167167
"token": 5679,
168168
},

0 commit comments

Comments
 (0)