Skip to content

Commit 7685a3b

Browse files
authored
[Workers AI] More updates to model docs (#23167)
1 parent d13bd68 commit 7685a3b

33 files changed

+260
-256
lines changed

src/content/workers-ai-models/deepseek-coder-6.7b-base-awq.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@
7878
},
7979
"top_p": {
8080
"type": "number",
81-
"minimum": 0,
82-
"maximum": 2,
81+
"minimum": 0.001,
82+
"maximum": 1,
8383
"description": "Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses."
8484
},
8585
"top_k": {
@@ -102,13 +102,13 @@
102102
},
103103
"frequency_penalty": {
104104
"type": "number",
105-
"minimum": 0,
105+
"minimum": -2,
106106
"maximum": 2,
107107
"description": "Decreases the likelihood of the model repeating the same lines verbatim."
108108
},
109109
"presence_penalty": {
110110
"type": "number",
111-
"minimum": 0,
111+
"minimum": -2,
112112
"maximum": 2,
113113
"description": "Increases the likelihood of the model introducing new topics."
114114
}
@@ -338,8 +338,8 @@
338338
},
339339
"top_p": {
340340
"type": "number",
341-
"minimum": 0,
342-
"maximum": 2,
341+
"minimum": 0.001,
342+
"maximum": 1,
343343
"description": "Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses."
344344
},
345345
"top_k": {
@@ -362,13 +362,13 @@
362362
},
363363
"frequency_penalty": {
364364
"type": "number",
365-
"minimum": 0,
365+
"minimum": -2,
366366
"maximum": 2,
367367
"description": "Decreases the likelihood of the model repeating the same lines verbatim."
368368
},
369369
"presence_penalty": {
370370
"type": "number",
371-
"minimum": 0,
371+
"minimum": -2,
372372
"maximum": 2,
373373
"description": "Increases the likelihood of the model introducing new topics."
374374
}

src/content/workers-ai-models/deepseek-coder-6.7b-instruct-awq.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@
7878
},
7979
"top_p": {
8080
"type": "number",
81-
"minimum": 0,
82-
"maximum": 2,
81+
"minimum": 0.001,
82+
"maximum": 1,
8383
"description": "Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses."
8484
},
8585
"top_k": {
@@ -102,13 +102,13 @@
102102
},
103103
"frequency_penalty": {
104104
"type": "number",
105-
"minimum": 0,
105+
"minimum": -2,
106106
"maximum": 2,
107107
"description": "Decreases the likelihood of the model repeating the same lines verbatim."
108108
},
109109
"presence_penalty": {
110110
"type": "number",
111-
"minimum": 0,
111+
"minimum": -2,
112112
"maximum": 2,
113113
"description": "Increases the likelihood of the model introducing new topics."
114114
}
@@ -338,8 +338,8 @@
338338
},
339339
"top_p": {
340340
"type": "number",
341-
"minimum": 0,
342-
"maximum": 2,
341+
"minimum": 0.001,
342+
"maximum": 1,
343343
"description": "Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses."
344344
},
345345
"top_k": {
@@ -362,13 +362,13 @@
362362
},
363363
"frequency_penalty": {
364364
"type": "number",
365-
"minimum": 0,
365+
"minimum": -2,
366366
"maximum": 2,
367367
"description": "Decreases the likelihood of the model repeating the same lines verbatim."
368368
},
369369
"presence_penalty": {
370370
"type": "number",
371-
"minimum": 0,
371+
"minimum": -2,
372372
"maximum": 2,
373373
"description": "Increases the likelihood of the model introducing new topics."
374374
}

src/content/workers-ai-models/deepseek-math-7b-instruct.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
},
8383
"top_p": {
8484
"type": "number",
85-
"minimum": 0,
86-
"maximum": 2,
85+
"minimum": 0.001,
86+
"maximum": 1,
8787
"description": "Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses."
8888
},
8989
"top_k": {
@@ -106,13 +106,13 @@
106106
},
107107
"frequency_penalty": {
108108
"type": "number",
109-
"minimum": 0,
109+
"minimum": -2,
110110
"maximum": 2,
111111
"description": "Decreases the likelihood of the model repeating the same lines verbatim."
112112
},
113113
"presence_penalty": {
114114
"type": "number",
115-
"minimum": 0,
115+
"minimum": -2,
116116
"maximum": 2,
117117
"description": "Increases the likelihood of the model introducing new topics."
118118
}
@@ -342,8 +342,8 @@
342342
},
343343
"top_p": {
344344
"type": "number",
345-
"minimum": 0,
346-
"maximum": 2,
345+
"minimum": 0.001,
346+
"maximum": 1,
347347
"description": "Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses."
348348
},
349349
"top_k": {
@@ -366,13 +366,13 @@
366366
},
367367
"frequency_penalty": {
368368
"type": "number",
369-
"minimum": 0,
369+
"minimum": -2,
370370
"maximum": 2,
371371
"description": "Decreases the likelihood of the model repeating the same lines verbatim."
372372
},
373373
"presence_penalty": {
374374
"type": "number",
375-
"minimum": 0,
375+
"minimum": -2,
376376
"maximum": 2,
377377
"description": "Increases the likelihood of the model introducing new topics."
378378
}

src/content/workers-ai-models/deepseek-r1-distill-qwen-32b.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@
8989
},
9090
"top_p": {
9191
"type": "number",
92-
"minimum": 0,
93-
"maximum": 2,
92+
"minimum": 0.001,
93+
"maximum": 1,
9494
"description": "Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses."
9595
},
9696
"top_k": {
@@ -113,13 +113,13 @@
113113
},
114114
"frequency_penalty": {
115115
"type": "number",
116-
"minimum": 0,
116+
"minimum": -2,
117117
"maximum": 2,
118118
"description": "Decreases the likelihood of the model repeating the same lines verbatim."
119119
},
120120
"presence_penalty": {
121121
"type": "number",
122-
"minimum": 0,
122+
"minimum": -2,
123123
"maximum": 2,
124124
"description": "Increases the likelihood of the model introducing new topics."
125125
}
@@ -349,8 +349,8 @@
349349
},
350350
"top_p": {
351351
"type": "number",
352-
"minimum": 0,
353-
"maximum": 2,
352+
"minimum": 0.001,
353+
"maximum": 1,
354354
"description": "Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses."
355355
},
356356
"top_k": {
@@ -373,13 +373,13 @@
373373
},
374374
"frequency_penalty": {
375375
"type": "number",
376-
"minimum": 0,
376+
"minimum": -2,
377377
"maximum": 2,
378378
"description": "Decreases the likelihood of the model repeating the same lines verbatim."
379379
},
380380
"presence_penalty": {
381381
"type": "number",
382-
"minimum": 0,
382+
"minimum": -2,
383383
"maximum": 2,
384384
"description": "Increases the likelihood of the model introducing new topics."
385385
}

src/content/workers-ai-models/discolm-german-7b-v1-awq.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@
7878
},
7979
"top_p": {
8080
"type": "number",
81-
"minimum": 0,
82-
"maximum": 2,
81+
"minimum": 0.001,
82+
"maximum": 1,
8383
"description": "Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses."
8484
},
8585
"top_k": {
@@ -102,13 +102,13 @@
102102
},
103103
"frequency_penalty": {
104104
"type": "number",
105-
"minimum": 0,
105+
"minimum": -2,
106106
"maximum": 2,
107107
"description": "Decreases the likelihood of the model repeating the same lines verbatim."
108108
},
109109
"presence_penalty": {
110110
"type": "number",
111-
"minimum": 0,
111+
"minimum": -2,
112112
"maximum": 2,
113113
"description": "Increases the likelihood of the model introducing new topics."
114114
}
@@ -338,8 +338,8 @@
338338
},
339339
"top_p": {
340340
"type": "number",
341-
"minimum": 0,
342-
"maximum": 2,
341+
"minimum": 0.001,
342+
"maximum": 1,
343343
"description": "Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses."
344344
},
345345
"top_k": {
@@ -362,13 +362,13 @@
362362
},
363363
"frequency_penalty": {
364364
"type": "number",
365-
"minimum": 0,
365+
"minimum": -2,
366366
"maximum": 2,
367367
"description": "Decreases the likelihood of the model repeating the same lines verbatim."
368368
},
369369
"presence_penalty": {
370370
"type": "number",
371-
"minimum": 0,
371+
"minimum": -2,
372372
"maximum": 2,
373373
"description": "Increases the likelihood of the model introducing new topics."
374374
}

src/content/workers-ai-models/gemma-2b-it-lora.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@
7878
},
7979
"top_p": {
8080
"type": "number",
81-
"minimum": 0,
82-
"maximum": 2,
81+
"minimum": 0.001,
82+
"maximum": 1,
8383
"description": "Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses."
8484
},
8585
"top_k": {
@@ -102,13 +102,13 @@
102102
},
103103
"frequency_penalty": {
104104
"type": "number",
105-
"minimum": 0,
105+
"minimum": -2,
106106
"maximum": 2,
107107
"description": "Decreases the likelihood of the model repeating the same lines verbatim."
108108
},
109109
"presence_penalty": {
110110
"type": "number",
111-
"minimum": 0,
111+
"minimum": -2,
112112
"maximum": 2,
113113
"description": "Increases the likelihood of the model introducing new topics."
114114
}
@@ -338,8 +338,8 @@
338338
},
339339
"top_p": {
340340
"type": "number",
341-
"minimum": 0,
342-
"maximum": 2,
341+
"minimum": 0.001,
342+
"maximum": 1,
343343
"description": "Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses."
344344
},
345345
"top_k": {
@@ -362,13 +362,13 @@
362362
},
363363
"frequency_penalty": {
364364
"type": "number",
365-
"minimum": 0,
365+
"minimum": -2,
366366
"maximum": 2,
367367
"description": "Decreases the likelihood of the model repeating the same lines verbatim."
368368
},
369369
"presence_penalty": {
370370
"type": "number",
371-
"minimum": 0,
371+
"minimum": -2,
372372
"maximum": 2,
373373
"description": "Increases the likelihood of the model introducing new topics."
374374
}

src/content/workers-ai-models/gemma-7b-it.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@
8686
},
8787
"top_p": {
8888
"type": "number",
89-
"minimum": 0,
90-
"maximum": 2,
89+
"minimum": 0.001,
90+
"maximum": 1,
9191
"description": "Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses."
9292
},
9393
"top_k": {
@@ -110,13 +110,13 @@
110110
},
111111
"frequency_penalty": {
112112
"type": "number",
113-
"minimum": 0,
113+
"minimum": -2,
114114
"maximum": 2,
115115
"description": "Decreases the likelihood of the model repeating the same lines verbatim."
116116
},
117117
"presence_penalty": {
118118
"type": "number",
119-
"minimum": 0,
119+
"minimum": -2,
120120
"maximum": 2,
121121
"description": "Increases the likelihood of the model introducing new topics."
122122
}
@@ -346,8 +346,8 @@
346346
},
347347
"top_p": {
348348
"type": "number",
349-
"minimum": 0,
350-
"maximum": 2,
349+
"minimum": 0.001,
350+
"maximum": 1,
351351
"description": "Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses."
352352
},
353353
"top_k": {
@@ -370,13 +370,13 @@
370370
},
371371
"frequency_penalty": {
372372
"type": "number",
373-
"minimum": 0,
373+
"minimum": -2,
374374
"maximum": 2,
375375
"description": "Decreases the likelihood of the model repeating the same lines verbatim."
376376
},
377377
"presence_penalty": {
378378
"type": "number",
379-
"minimum": 0,
379+
"minimum": -2,
380380
"maximum": 2,
381381
"description": "Increases the likelihood of the model introducing new topics."
382382
}

0 commit comments

Comments
 (0)