Commit Graph
26 Commits
Author SHA1 Message Date
Michael Poutre ef3f66ef91 refactor/fix: More fixes to align with clip changes in base 2023-11-13 19:47:56 -08:00
Michael Poutre 2f115352ec refactor/fix(SD1): Update for changes to clip handling
Fix end token calculation for long prompts
2023-11-13 19:47:56 -08:00
Michael Poutre 55cc09b0be feat(SDXL): Initial stab at SDXL 2023-11-13 19:47:56 -08:00
Michael Poutre fee9c56abd refactor: Rename repo to match github 2023-08-30 18:44:11 -07:00
Michael Poutre bcc083f2fa fix: Use typing.List for backwards compatibility 2023-08-30 18:09:10 -07:00
Michael Poutre bdb4d00910 fix(tokenizer): Fix issue when prompt is just an action, and has no tree 2023-08-25 18:59:28 -07:00
Michael Poutre 3fc1a7d7b9 minor comment change 2023-08-25 00:06:17 -07:00
Michael Poutre f66eeb8117 tokenizer: Use SegOrAction 2023-08-25 00:06:17 -07:00
Michael Poutre c4769a797b My -> PromptLang 2023-08-25 00:06:17 -07:00
Michael Poutre 0fdc4244f1 Remove final references to TokenDict 2023-08-25 00:06:17 -07:00
Michael Poutre fc3560be65 refactor: Move core action stuff to lib/action 2023-08-25 00:06:17 -07:00
Michael Poutre 833a027486 refactor: Move PromptSegment to parser module 2023-08-25 00:06:17 -07:00
Michael Poutre 6b8a1ea243 Initial Switch to Lark parser 2023-08-25 00:06:17 -07:00
Michael Poutre 07cec3f68f refactor: Add SegOrAction type 2023-08-25 00:06:17 -07:00
Michael Poutre 7ced8b7533 Initial working commit 2023-08-25 00:06:17 -07:00
Michael Poutre c6dc33a9ae Switch to build_prompt_segment to allow manual creation of prompt segs 2023-08-25 00:06:17 -07:00
Michael Poutre 110da543ed Update regex to capture embeddings properly 2023-08-25 00:06:17 -07:00
Michael Poutre 21eecda007 Switch to using PromptSegment to represent text chunks also add tokens 2023-08-25 00:06:17 -07:00
Michael Poutre 235a681f70 Tokenizer and parser completed 2023-08-25 00:06:17 -07:00
Michael Poutre 0ef03276d5 formatting: Minor formatting clean up 2023-08-20 17:59:13 -07:00
Michael Poutre 76d9544157 refactor(Tokenizer): Cleanup nudge start/end detection 2023-08-20 17:51:49 -07:00
Michael Poutre 90a9314e43 refactor: Move actions into module 2023-08-20 15:34:08 -07:00
Michael Poutre 915e08e006 chore: Cleanup some old comments 2023-08-20 14:42:30 -07:00
Michael Poutre 265d5c3557 feat: Add support for arithmetic ops 2023-08-19 18:44:42 -07:00
Michael Poutre 088400f3fa Switch to tokenDict class 2023-08-19 18:44:42 -07:00
Michael Poutre bf164f4238 Initial 2 2023-08-19 18:44:41 -07:00