Skip to content

< Back


LLamaLogitBias

Namespace: LLama.Native

A bias to apply directly to a logit

1
public struct LLamaLogitBias

Inheritance ObjectValueTypeLLamaLogitBias
Implements IEquatable<LLamaLogitBias>

Fields

Token

The token to apply the bias to

1
public LLamaToken Token;

Bias

The bias to add

1
public float Bias;

Methods

ToString()

1
string ToString()

Returns

String

GetHashCode()

1
int GetHashCode()

Returns

Int32

Equals(Object)

1
bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

Equals(LLamaLogitBias)

1
bool Equals(LLamaLogitBias other)

Parameters

other LLamaLogitBias

Returns

Boolean


< Back