mirror of
https://github.com/mii443/tokenizers.git
synced 2025-12-16 17:18:43 +00:00
node: fix encodinggetSpecialTokensMask type
This commit is contained in:
2
bindings/node/lib/bindings/encoding.d.ts
vendored
2
bindings/node/lib/bindings/encoding.d.ts
vendored
@@ -25,7 +25,7 @@ export interface Encoding {
|
|||||||
/**
|
/**
|
||||||
* Returns the special tokens mask
|
* Returns the special tokens mask
|
||||||
*/
|
*/
|
||||||
getSpecialTokensMask(): number;
|
getSpecialTokensMask(): number[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the tokenized string
|
* Returns the tokenized string
|
||||||
|
|||||||
Reference in New Issue
Block a user