-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize tokenizer and simplify str_lookup prototype
- new method to initialize tokenizer with a given vocab_size - removed voacb_size from the arguments of build_tokenizer - applied the changes in run.c, runq.c, test.c - pass the tokenizer object to str_lookup - helps to easily follow - "oh! we will be checking for the string in the Tokenizer" - passes: unit test (test.c) - passes: integration test (./run stories15M.bin on Mackbook M1>
- Loading branch information
1 parent
b3c4b6c
commit bffee1f
Showing
3 changed files
with
36 additions
and
27 deletions.
There are no files selected for viewing
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
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