@fugood/bricks-project 2.21.0-beta.20 → 2.21.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compile/action-name-map.ts +2 -1
- package/package.json +2 -2
- package/types/generators.ts +10 -1
|
@@ -483,7 +483,8 @@ export const templateActionNameMap = {
|
|
|
483
483
|
probs: 'GENERATOR_LLM_PROBS',
|
|
484
484
|
topK: 'GENERATOR_LLM_TOP_K',
|
|
485
485
|
topP: 'GENERATOR_LLM_TOP_P',
|
|
486
|
-
|
|
486
|
+
xtcThreshold: 'GENERATOR_LLM_XTC_THRESHOLD',
|
|
487
|
+
xtcProbability: 'GENERATOR_LLM_XTC_PROBABILITY',
|
|
487
488
|
mirostat: 'GENERATOR_LLM_MIROSTAT',
|
|
488
489
|
mirostatTau: 'GENERATOR_LLM_MIROSTAT_TAU',
|
|
489
490
|
mirostatEta: 'GENERATOR_LLM_MIROSTAT_ETA',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fugood/bricks-project",
|
|
3
|
-
"version": "2.21.0-beta.
|
|
3
|
+
"version": "2.21.0-beta.21",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node scripts/build.js"
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
"lodash": "^4.17.4",
|
|
14
14
|
"uuid": "^8.3.1"
|
|
15
15
|
},
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "129ece680c77c677a3b643a1102d056533e5792c"
|
|
17
17
|
}
|
package/types/generators.ts
CHANGED
|
@@ -6217,7 +6217,12 @@ export type GeneratorLLMActionCompletion = ActionWithParams & {
|
|
|
6217
6217
|
mapping?: string
|
|
6218
6218
|
}
|
|
6219
6219
|
| {
|
|
6220
|
-
input: '
|
|
6220
|
+
input: 'xtcThreshold'
|
|
6221
|
+
value?: number | DataLink
|
|
6222
|
+
mapping?: string
|
|
6223
|
+
}
|
|
6224
|
+
| {
|
|
6225
|
+
input: 'xtcProbability'
|
|
6221
6226
|
value?: number | DataLink
|
|
6222
6227
|
mapping?: string
|
|
6223
6228
|
}
|
|
@@ -6462,6 +6467,10 @@ Default property:
|
|
|
6462
6467
|
completionTopP?: number | DataLink
|
|
6463
6468
|
/* Min P sampling */
|
|
6464
6469
|
completionMinP?: number | DataLink
|
|
6470
|
+
/* Sets a minimum probability threshold for tokens to be removed */
|
|
6471
|
+
completionXtcThreshold?: number | DataLink
|
|
6472
|
+
/* Sets the chance for token removal (checked once on sampler start) */
|
|
6473
|
+
completionXtcProbability?: number | DataLink
|
|
6465
6474
|
/* Use Mirostat sampling. Top K, Nucleus, Tail Free and Locally Typical samplers are ignored if used. */
|
|
6466
6475
|
completionMirostat?: number | DataLink
|
|
6467
6476
|
/* Mirostat target entropy, parameter tau */
|