QEMTokenVector class
One pruned-vocabulary token's static embedding row.
Constructors
-
QEMTokenVector(List<
int> bytes) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- IDF → double
-
Inverse document frequency weight for this token.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- SCALE → double
-
Per-row dequantization scale: original value ~= VECTOR_INT8
i* SCALE. Unused when ENCODING is FLOAT32.no setter - TOKEN → String?
-
WordPiece token text, verbatim including any ## continuation marker.
no setter
- TOKEN_ID → int
-
Vocabulary row index. Row order in TOKENS is not guaranteed stable
across MODEL_VERSION; look up by TOKEN_ID, not array position.
no setter
- tokenId → int
-
no setter
-
VECTOR_FLOAT32
→ List<
double> ? -
Row values when the parent QEM.ENCODING is FLOAT32. Length equals
QEM.DIMENSIONS.
no setter
-
VECTOR_INT8
→ List<
int> ? -
Row values when the parent QEM.ENCODING is INT8. Length equals
QEM.DIMENSIONS.
no setter
-
vectorFloat32
→ List<
double> ? -
no setter
-
vectorInt8
→ List<
int> ? -
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
reader
→ const Reader<
QEMTokenVector>