Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Back to guidance #30

Merged
merged 20 commits into from
Sep 1, 2024
Merged

Back to guidance #30

merged 20 commits into from
Sep 1, 2024

Conversation

parkervg
Copy link
Owner

@parkervg parkervg commented Sep 1, 2024

This PR moves away from outlines and back to guidance for the underlying constrained decoding. This improves runtime of executing BlendSQL queries, and allows us to execute ingredients with greater guarantees on the output format by interleaving text + generations.

Additional changes:

  • Moved to pyproject.toml format (away from setuptools.py)
  • Added AnthropicLLM, removed LlamaCpp

From now on, I use the HuggingFaceTB/SmolLM-135M model for benchmarks.

Before:

Task Average Runtime # Unique Queries
financials 0.0427749 7
rugby 3.54232 4
national_parks 2.63405 5
1966_nba_draft 3.65771 2

After:

Task Average Runtime # Unique Queries
financials 0.0487881 7
rugby 0.909974 4
national_parks 2.13209 5
1966_nba_draft 1.39948 2

@parkervg parkervg merged commit 36262c1 into main Sep 1, 2024
18 checks passed
@parkervg parkervg deleted the back-to-guidance branch September 1, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant