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

Added Gemma #267

Merged
merged 7 commits into from
Feb 21, 2024
Merged

Added Gemma #267

merged 7 commits into from
Feb 21, 2024

Conversation

tgaddair
Copy link
Contributor

No description provided.

Copy link
Contributor

@geoffreyangus geoffreyangus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 🚢 🚢

@arnavgarg1
Copy link
Contributor

Amazing!

@@ -487,8 +487,7 @@ def __init__(self, schema: str, tokenizer: PreTrainedTokenizerBase):

self.tokenizer = self.adapt_tokenizer(tokenizer)

regex_string = build_regex_from_object(schema)
regex_string = '[\\n ]*' + regex_string # Hack to allow preceding whitespace
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heads up @jeffreyftang I had to remove this to make it work with Outlines 0.0.32.

@magdyksaleh
Copy link
Collaborator

amazing!

@tgaddair tgaddair merged commit 1ade8b8 into main Feb 21, 2024
1 check failed
@tgaddair tgaddair deleted the gemma branch February 21, 2024 20:44
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.

4 participants