Skip to content

LLamaTokenData

Namespace: LLama.Native

public struct LLamaTokenData

Inheritance ObjectValueTypeLLamaTokenData

Fields

id

token id

public int id;

logit

log-odds of the token

public float logit;

p

probability of the token

public float p;

Constructors

LLamaTokenData(Int32, Single, Single)

LLamaTokenData(int id, float logit, float p)

Parameters

id Int32

logit Single

p Single