8000 Releases · simonw/ttok · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: simonw/ttok

0.3

02 May 23:37
Compare
Choose a tag to compare
  • New --allow-special option for allowing special tokens: ttok '<|endoftext|>' --encode --allow-special #13

0.2

10 Jul 23:37
Compare
Choose a tag to compare
0.2
  • --encode now encodes text to integer tokens and displays them. This has been renamed from --tokens.
  • --decode against a sequence of integer tokens now turns those back into text. #7
  • --tokens for either of those options outputs the raw tokens in a format that helps show if they have a leading space or similar. #4

0.1

18 May 19:53
Compare
Choose a tag to compare
0.1
  • Initial release. echo input.txt | ttok to count tokens, use -t 100 to truncate to 100 tokens, or --tokens to see what those integer tokens would be. #1
0