-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* regex now compiled using regex-automata crate not python interegular pkg. * regex now compiled using regex-automata crate not python interegular pkg. * SPEED. we now compute the FSM index lazily, among other optimizations. * troubleshooting * maybe fix? * more fixes * that didnt work.. * fix * fix * fix.. idek anymore * may be it will work * may be it will work * i think it works now. this shit should not be this difficult.. * it works now. * save point before cargo fix cmd * rollback point. remove commit if not needed * final + working
- Loading branch information
1 parent
2046b58
commit 564b60d
Showing
18 changed files
with
2,878 additions
and
401 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
from .fsm import RegexFSM, FSMState, FSM | ||
from .tokenizer_fsm_patch import TransformerTokenizer as FsmTokenizer | ||
from .fsm_utils import create_fsm_index_end_to_end #, LazyFSMIndex | ||
|
||
__all__ = ["RegexFSM", "FSMState", "FSM", "FsmTokenizer"] | ||
from .regex import create_fsm_index_tokenizer, FSMState | ||
|
||
|
||
|
||
__all__ = [ "FsmTokenizer", "create_fsm_index_tokenizer", "create_fsm_index_end_to_end", "FSMState"] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.