Skip to content

Class: LlamaModelTokens

Accessors

infill

ts
get infill(): LlamaModelInfillTokens

Returns

LlamaModelInfillTokens

infill tokens

Defined in

evaluator/LlamaModel/LlamaModel.ts:771


bos

ts
get bos(): null | Token

Returns

null | Token

The BOS (Beginning Of Sequence) token.

Defined in

evaluator/LlamaModel/LlamaModel.ts:783


eos

ts
get eos(): null | Token

Returns

null | Token

The EOS (End Of Sequence) token.

Defined in

evaluator/LlamaModel/LlamaModel.ts:798


eot

ts
get eot(): null | Token

Returns

null | Token

The EOT (End Of Turn) token.

Defined in

evaluator/LlamaModel/LlamaModel.ts:813


nl

ts
get nl(): null | Token

Returns

null | Token

The NL (New Line) token.

Defined in

evaluator/LlamaModel/LlamaModel.ts:828


bosString

ts
get bosString(): null | string

Returns

null | string

The BOS (Beginning Of Sequence) token text representation.

Defined in

evaluator/LlamaModel/LlamaModel.ts:843


eosString

ts
get eosString(): null | string

Returns

null | string

The EOS (End Of Sequence) token text representation.

Defined in

evaluator/LlamaModel/LlamaModel.ts:860


eotString

ts
get eotString(): null | string

Returns

null | string

The EOT (End Of Turn) token text representation.

Defined in

evaluator/LlamaModel/LlamaModel.ts:877


nlString

ts
get nlString(): null | string

Returns

null | string

The NL (New Line) token text representation.

Defined in

evaluator/LlamaModel/LlamaModel.ts:894


shouldPrependBosToken

ts
get shouldPrependBosToken(): boolean

Returns

boolean

Whether we should prepend a BOS (Beginning Of Sequence) token for evaluations with this model.

Defined in

evaluator/LlamaModel/LlamaModel.ts:911