@fugood/bricks-project 2.21.0-beta.19 → 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.
@@ -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
- tfsZ: 'GENERATOR_LLM_TFS_Z',
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.19",
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": "0d8535614551b74553cb3d09801dbfe1c14a78fc"
16
+ "gitHead": "129ece680c77c677a3b643a1102d056533e5792c"
17
17
  }
@@ -83,7 +83,7 @@ export interface AnimationComposeDef {
83
83
  description?: string
84
84
  runType?: 'once' | 'loop'
85
85
  composeType: 'parallel' | 'sequence'
86
- items: Array<() => AnimationDef>
86
+ items: Array<() => Animation>
87
87
  }
88
88
 
89
89
  export type Animation = AnimationDef | AnimationComposeDef
@@ -6217,7 +6217,12 @@ export type GeneratorLLMActionCompletion = ActionWithParams & {
6217
6217
  mapping?: string
6218
6218
  }
6219
6219
  | {
6220
- input: 'tfsZ'
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
  }
@@ -6343,7 +6348,6 @@ Default property:
6343
6348
  "completionTopK": 40,
6344
6349
  "completionTopP": 0.5,
6345
6350
  "completionMinP": 0.05,
6346
- "completionTfsZ": 1,
6347
6351
  "completionMirostat": 0,
6348
6352
  "completionMirostatTau": 5,
6349
6353
  "completionMirostatEta": 0.1,
@@ -6403,7 +6407,7 @@ Default property:
6403
6407
  accelVariant?: 'default' | 'vulkan' | DataLink
6404
6408
  /* Main GPU index */
6405
6409
  mainGpu?: number | DataLink
6406
- /* Number of GPU layers (iOS: > 0 to use GPU) */
6410
+ /* Number of GPU layers (NOTE: Currently not supported for Android) */
6407
6411
  gpuLayers?: number | DataLink
6408
6412
  /* Use memory lock */
6409
6413
  useMlock?: boolean | DataLink
@@ -6463,8 +6467,10 @@ Default property:
6463
6467
  completionTopP?: number | DataLink
6464
6468
  /* Min P sampling */
6465
6469
  completionMinP?: number | DataLink
6466
- /* Tail free sampling, parameter z */
6467
- completionTfsZ?: 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
6468
6474
  /* Use Mirostat sampling. Top K, Nucleus, Tail Free and Locally Typical samplers are ignored if used. */
6469
6475
  completionMirostat?: number | DataLink
6470
6476
  /* Mirostat target entropy, parameter tau */
@@ -6578,6 +6584,8 @@ Default property:
6578
6584
  outlets?: {
6579
6585
  /* Context state */
6580
6586
  contextState?: () => Data
6587
+ /* Context load progress (0-100) */
6588
+ contextLoadProgress?: () => Data
6581
6589
  /* Context details */
6582
6590
  contextDetails?: () => Data
6583
6591
  /* Session details */
@@ -6622,6 +6630,7 @@ export type GeneratorLLM = Generator &
6622
6630
  __typename: 'SwitchCondInnerStateOutlet'
6623
6631
  outlet:
6624
6632
  | 'contextState'
6633
+ | 'contextLoadProgress'
6625
6634
  | 'contextDetails'
6626
6635
  | 'sessions'
6627
6636
  | 'isEvaluating'