Eliminate tokenizes post, add option "special" to tokenize
Eliminate tab compression from modified files.
This commit is contained in:
parent
5872e4f4da
commit
4150e74d04
2 changed files with 1762 additions and 1776 deletions
|
@ -222,18 +222,12 @@ node index.js
|
|||
|
||||
*Options:*
|
||||
|
||||
`special`: Boolean indicating if special tokens should be tokenized (default false)
|
||||
|
||||
`content`: Set the text to tokenize.
|
||||
|
||||
Note that the special `BOS` token is not added in front of the text and also a space character is not inserted automatically as it is for `/completion`.
|
||||
|
||||
- **POST** `/tokenizes`: Tokenize a given text with special tokens.
|
||||
|
||||
*Options:*
|
||||
|
||||
`content`: Set the text to tokenize with special tokens.
|
||||
|
||||
Note that the special `BOS` token is not added in front of the text and also a space character is not inserted automatically as it is for `/completion`.
|
||||
|
||||
- **POST** `/detokenize`: Convert tokens to text.
|
||||
|
||||
*Options:*
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue