Commit Graph

4 Commits

Author SHA1 Message Date
kingbri
f631dd6ff7 Templates: Switch to Jinja2
Jinja2 is a lightweight template parser that's used in Transformers
for parsing chat completions. It's much more efficient than Fastchat
and can be imported as part of requirements.

Also allows for unblocking Pydantic's version.

Users now have to provide their own template if needed. A separate
repo may be usable for common prompt template storage.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-18 23:53:47 -05:00
kingbri
59729e2a4a Tests: Fix linting
Also change how wheel_test works for safe import testing rather than
trying to import the package which can cause system issues.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-13 23:05:50 -05:00
kingbri
161c9d2c19 Tests: Fix wheel test
Fastchat is named fschat from the package's point of view.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-08 01:15:24 -05:00
kingbri
9f34af4906 Tests: Create
Add a few tests for the user to check if stuff works.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-06 00:53:42 -05:00