llama-tokenizer-js
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "llama-tokenizer-js", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "JS tokenizer for LLaMA-based LLMs", | ||
@@ -5,0 +5,0 @@ "main": "llama-tokenizer.js", |
@@ -55,3 +55,3 @@ # 🦙 llama-tokenizer-js 🦙 | ||
Special use case: decode only selected individual tokens, without including beginning of prompt token and preceeding space: | ||
Note that special "beginning of sentence" token and preceding space are added by default when encoded (and correspondingly expected when decoding). These affect token count. There may be some use cases where you don't want to add these. You can pass additional boolean parameters in these use cases. For example, if you want to decode an individual token: | ||
@@ -58,0 +58,0 @@ ``` |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
683775
2980