File size: 7,176 Bytes
048f66f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
{
  "model_id": "m10",
  "checkpoint": "results/m10/final.pt",
  "trained_step": 15258,
  "total_params": 63506944,
  "active_params": 63506944,
  "flops_per_forward": 127013888.0,
  "val_loss": 3.4209525883197784,
  "val_perplexity": 30.598548962864992,
  "bits_per_token": 4.9353913342852085,
  "ppl_tokens_evaluated": 655360,
  "prefill_tok_per_sec": 109491.2993204541,
  "inference_tok_per_sec": 152.2073420703021,
  "inference_tok_per_sec_kvcache": 155.98999215794748,
  "kvcache_speedup": 1.0248519554720181,
  "gen_tokens": 128,
  "peak_infer_vram_gb": 0.395,
  "peak_train_vram_gb": 4.349,
  "closeness_answer_ppl": 18.576,
  "closeness_hit_rate": 0.5,
  "closeness_token_f1": 0.029,
  "closeness_n": 20,
  "closeness_items": [
    {
      "prompt": "The capital of France is",
      "answer": " Paris",
      "generated": " the capital of France.\n",
      "answer_nll": 2.2782,
      "answer_ppl": 9.759,
      "hit": false,
      "token_f1": 0.0
    },
    {
      "prompt": "The capital of Japan is",
      "answer": " Tokyo",
      "generated": " Tokyo.\nThe capital of",
      "answer_nll": 1.7208,
      "answer_ppl": 5.589,
      "hit": true,
      "token_f1": 0.0
    },
    {
      "prompt": "The largest planet in the solar system is",
      "answer": " Jupiter",
      "generated": " the Earth, and it is",
      "answer_nll": 4.065,
      "answer_ppl": 58.264,
      "hit": false,
      "token_f1": 0.0
    },
    {
      "prompt": "Water is made of hydrogen and",
      "answer": " oxygen",
      "generated": " oxygen.\nThe water is",
      "answer_nll": 0.974,
      "answer_ppl": 2.649,
      "hit": true,
      "token_f1": 0.0
    },
    {
      "prompt": "The opposite of hot is",
      "answer": " cold",
      "generated": " the same as cold.\n",
      "answer_nll": 3.1888,
      "answer_ppl": 24.26,
      "hit": true,
      "token_f1": 0.0
    },
    {
      "prompt": "The opposite of up is",
      "answer": " down",
      "generated": " the same as the opposite of",
      "answer_nll": 4.905,
      "answer_ppl": 134.97,
      "hit": false,
      "token_f1": 0.0
    },
    {
      "prompt": "Two plus two equals",
      "answer": " four",
      "generated": " the number of the two plus",
      "answer_nll": 4.4649,
      "answer_ppl": 86.916,
      "hit": false,
      "token_f1": 0.0
    },
    {
      "prompt": "The sun rises in the",
      "answer": " east",
      "generated": " sky, and the sun is",
      "answer_nll": 3.5569,
      "answer_ppl": 35.056,
      "hit": false,
      "token_f1": 0.0
    },
    {
      "prompt": "The first president of the United States was George",
      "answer": " Washington",
      "generated": " Washington.\nThe first president",
      "answer_nll": 0.2007,
      "answer_ppl": 1.222,
      "hit": true,
      "token_f1": 0.0
    },
    {
      "prompt": "The speed of light is approximately 300,000 kilometers per",
      "answer": " second",
      "generated": " second.\nThe speed of",
      "answer_nll": 0.0685,
      "answer_ppl": 1.071,
      "hit": true,
      "token_f1": 0.0
    },
    {
      "prompt": "A triangle has three",
      "answer": " sides",
      "generated": " sides and a triangle has two",
      "answer_nll": 1.2856,
      "answer_ppl": 3.617,
      "hit": true,
      "token_f1": 0.286
    },
    {
      "prompt": "The chemical symbol for gold is",
      "answer": " Au",
      "generated": " the gold-bearing alloy.",
      "answer_nll": 7.3148,
      "answer_ppl": 1502.34,
      "hit": false,
      "token_f1": 0.0
    },
    {
      "prompt": "The freezing point of water in Celsius is",
      "answer": " zero",
      "generated": " about 1.5 degrees Celsius",
      "answer_nll": 5.8678,
      "answer_ppl": 353.476,
      "hit": false,
      "token_f1": 0.0
    },
    {
      "prompt": "The author of Romeo and Juliet is William",
      "answer": " Shakespeare",
      "generated": " Shakespeare.\nThe author of",
      "answer_nll": 0.4141,
      "answer_ppl": 1.513,
      "hit": true,
      "token_f1": 0.0
    },
    {
      "prompt": "The Earth revolves around the",
      "answer": " Sun",
      "generated": " sun.\nThe Earth is",
      "answer_nll": 1.3002,
      "answer_ppl": 3.67,
      "hit": true,
      "token_f1": 0.0
    },
    {
      "prompt": "The plural of mouse is",
      "answer": " mice",
      "generated": " \u201cmouse\u201d.",
      "answer_nll": 5.491,
      "answer_ppl": 242.511,
      "hit": false,
      "token_f1": 0.0
    },
    {
      "prompt": "Photosynthesis occurs in the",
      "answer": " leaves",
      "generated": " cells of the plant.\n",
      "answer_nll": 3.3958,
      "answer_ppl": 29.84,
      "hit": false,
      "token_f1": 0.0
    },
    {
      "prompt": "The human heart pumps",
      "answer": " blood",
      "generated": " blood and oxygen to the heart",
      "answer_nll": 2.1475,
      "answer_ppl": 8.564,
      "hit": true,
      "token_f1": 0.286
    },
    {
      "prompt": "The currency used in the United States is the",
      "answer": " dollar",
      "generated": " US dollar.\nThe US",
      "answer_nll": 3.521,
      "answer_ppl": 33.817,
      "hit": true,
      "token_f1": 0.0
    },
    {
      "prompt": "The tallest animal in the world is the",
      "answer": " giraffe",
      "generated": " giant elephant.\nThe elephant",
      "answer_nll": 2.2768,
      "answer_ppl": 9.745,
      "hit": false,
      "token_f1": 0.0
    }
  ],
  "generation_samples": {
    "The most important thing about sleep is": "The most important thing about sleep is knowing the reason your body doesn\u2019t produce that sleep. According to the National Sleep Foundation, we all know that there is a good reason for sleep. In fact, there are many causes of sleep and what we can learn from them.\nSleep is the best thing to do for you,",
    "Scientists have discovered that": "Scientists have discovered that a large number of stars have their own solar systems. This means they can be seen as part of a \u2018planet\u2019, without any additional matter that can be put to a great use. This is one of the reasons why scientists are calling for the creation of planets.\nHowever this is",
    "In the history of mathematics,": "In the history of mathematics, the term arithmetic means the work of the arithmetic units\u2014the sum of the whole number and the whole number\u2014that are not in the world of human arithmetic. The word arithmetic, however, can refer to a number of different elements in different ways: from simple arithmetic to more complex arithmetic.\nThe",
    "Python code for prime number": "Python code for prime number of integers.\nEach integer is a string. So for example, \u201c2\u201d or \u201c1\u201d, the first integer is \u201c1\u201d.\nNote that the integer can be defined as a string.\nSince the integer\n= = (1,2,",
    "The best way to learn a new language is": "The best way to learn a new language is to learn about it. So if you have an idea of a new language, or feel like you have to learn a new language, you can start.\nThere are a lot of ways to learn the new language, and that is the first place you have to look to learn new language. Here"
  }
}