ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

QaAnswer.Pos

public static class QaAnswer.Pos

Position information of the answer relative to context. It is sortable in descending order based on logit.

Fields

public int end
public float logit
public int start

Public Constructors

Pos(int start, int end, float logit)

Public Methods

int

Inherited Methods

Fields

public int end

public float logit

public int start

Public Constructors

public Pos (int start, int end, float logit)

Parameters
start
end
logit

Public Methods

public int compareTo (QaAnswer.Pos other)

Parameters
other