SpecialTokensSet class
Convenient and type-safe way to represent and manipulate BPE special tokens.
See Tiktoken.encode for more details on usage of special tokens.
Constructors
- SpecialTokensSet.all()
-
const
-
SpecialTokensSet.custom(Set<
String> tokens) - SpecialTokensSet.empty()
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited