tabby/crates/ctranslate2-bindings
Meng Zhang fd1baff8d5
feat: support stop sequences [TAB-52] (#212)
* refactor: pass step and string token to callback

* add token to callback

* add stop regexp

* implement stop words logic

* pass token_ids from inference

* improve effiency of regexp match with reversed regex

* fmt

* add typescript and javascript stop words

* add cache for stop words regexp
2023-06-06 23:28:58 +00:00
..
CTranslate2@d4b6f3849a feat: support early stop [TAB-51] (#208) 2023-06-06 12:46:17 +00:00
cmake support static linking of ctranslate2 (#148) 2023-05-26 21:34:31 -07:00
include feat: support stop sequences [TAB-52] (#212) 2023-06-06 23:28:58 +00:00
src feat: support stop sequences [TAB-52] (#212) 2023-06-06 23:28:58 +00:00
.gitignore support static linking of ctranslate2 (#148) 2023-05-26 21:34:31 -07:00
CMakeLists.txt support static linking of ctranslate2 (#148) 2023-05-26 21:34:31 -07:00
Cargo.toml feat: support stop sequences [TAB-52] (#212) 2023-06-06 23:28:58 +00:00
build.rs refactor: rust nightly format (#197) 2023-06-05 14:17:07 -07:00