-
Notifications
You must be signed in to change notification settings - Fork 91
/
explanation.html
49 lines (49 loc) · 1.91 KB
/
explanation.html
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
<div id="promptgen_explanation_show" >
<a style="font-weight: bold; cursor: pointer" onclick="gradioApp().getElementById('promptgen_explanation').style.display=''; gradioApp().getElementById('promptgen_explanation_show').style.display='none'; return false">
Information
</a>
</div>
<div style="display:none" id="promptgen_explanation">
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>Top K</td>
<td>When appending a word to the prompt, pick out of K most likely candidates.</td>
</tr>
<tr>
<td>Sampling mode</td>
<td>When appending a word to the prompt, pick out of most likely candidates whose total probability is reater than P.</td>
</tr>
<tr>
<td>Number of beams</td>
<td>Track multiple copies of each prompt as it's being generated, and when done pick one with most likelihood.</td>
</tr>
<tr>
<td>Temperature</td>
<td>When appending a word to the prompt, the greater temperature is, the more chance to pick an unlikely candidate. At 0, all generated prompts are the same.</td>
</tr>
<tr>
<td>Repetition penalty</td>
<td>The greater the value is, the less likely repeated tearms are to appear in prompt.</td>
</tr>
<tr>
<td>Length preference</td>
<td>Negative values tend to produce shorter prompt, positive - longer. Only works with Number of beams > 0.</td>
</tr>
<tr>
<td>Min length</td>
<td>Minimum length of generated prompt in tokens.</td>
</tr>
<tr>
<td>Max length</td>
<td>Maximum length of generated prompt in tokens.</td>
</tr>
</tbody>
</table>
</div>