Logo GenPRES

Options Type

Constructors

Constructor Description

Options()

Full Usage: Options()

Returns: Options
Returns: Options

Instance members

Instance member Description

this.f16_kv

Full Usage: this.f16_kv

Returns: Nullable<bool>
Returns: Nullable<bool>

this.frequency_penalty

Full Usage: this.frequency_penalty

Returns: Nullable<float>
Returns: Nullable<float>

this.low_vram

Full Usage: this.low_vram

Returns: Nullable<bool>
Returns: Nullable<bool>

this.main_gpu

Full Usage: this.main_gpu

Returns: Nullable<int>
Returns: Nullable<int>

this.mirostat

Full Usage: this.mirostat

Returns: Nullable<int>
Returns: Nullable<int>

this.mirostat_eta

Full Usage: this.mirostat_eta

Returns: Nullable<float>
Returns: Nullable<float>

this.mirostat_tau

Full Usage: this.mirostat_tau

Returns: Nullable<float>
Returns: Nullable<float>

this.num_batch

Full Usage: this.num_batch

Returns: Nullable<int>
Returns: Nullable<int>

this.num_ctx

Full Usage: this.num_ctx

Returns: Nullable<int>
Returns: Nullable<int>

this.num_gpu

Full Usage: this.num_gpu

Returns: Nullable<int>
Returns: Nullable<int>

this.num_gqa

Full Usage: this.num_gqa

Returns: Nullable<int>
Returns: Nullable<int>

this.num_keep

Full Usage: this.num_keep

Returns: Nullable<int>
Returns: Nullable<int>

this.num_predict

Full Usage: this.num_predict

Returns: Nullable<int>
Returns: Nullable<int>

this.num_thread

Full Usage: this.num_thread

Returns: Nullable<int>
Returns: Nullable<int>

this.numa

Full Usage: this.numa

Returns: Nullable<bool>
Returns: Nullable<bool>

this.penalize_newline

Full Usage: this.penalize_newline

Returns: Nullable<bool>
Returns: Nullable<bool>

this.presence_penalty

Full Usage: this.presence_penalty

Returns: Nullable<float>
Returns: Nullable<float>

this.repeat_last_n

Full Usage: this.repeat_last_n

Returns: Nullable<int>
Returns: Nullable<int>

this.repeat_penalty

Full Usage: this.repeat_penalty

Returns: Nullable<float>
Returns: Nullable<float>

this.rope_frequency_base

Full Usage: this.rope_frequency_base

Returns: Nullable<float>
Returns: Nullable<float>

this.rope_frequency_scale

Full Usage: this.rope_frequency_scale

Returns: Nullable<float>
Returns: Nullable<float>

this.seed

Full Usage: this.seed

Returns: Nullable<int>
Returns: Nullable<int>

this.stop

Full Usage: this.stop

Returns: string[]
Returns: string[]

this.temperature

Full Usage: this.temperature

Returns: Nullable<float>
Returns: Nullable<float>

this.tfs_z

Full Usage: this.tfs_z

Returns: Nullable<float>
Returns: Nullable<float>

this.top_k

Full Usage: this.top_k

Returns: Nullable<int>
Returns: Nullable<int>

this.top_p

Full Usage: this.top_p

Returns: Nullable<float>
Returns: Nullable<float>

this.typical_p

Full Usage: this.typical_p

Returns: Nullable<float>
Returns: Nullable<float>

this.use_mlock

Full Usage: this.use_mlock

Returns: Nullable<bool>
Returns: Nullable<bool>

this.use_mmap

Full Usage: this.use_mmap

Returns: Nullable<bool>
Returns: Nullable<bool>

this.vocab_only

Full Usage: this.vocab_only

Returns: Nullable<bool>
Returns: Nullable<bool>

Type something to start searching.