mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-30 20:19:21 +00:00
node: make WordPiece.fromFiles
async
This commit is contained in:
@ -136,7 +136,7 @@ export class Encoding {
|
||||
}
|
||||
|
||||
/**
|
||||
* Truncate the current Encoding at the given max_length
|
||||
* Truncate the current Encoding at the given max length
|
||||
*
|
||||
* @param length The maximum length to be kept
|
||||
* @param [stride=0] The length of the previous first sequence
|
||||
|
Reference in New Issue
Block a user