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

Docs: Add constrained decoding tutorial #2614

Merged
merged 21 commits into from
Dec 28, 2024

Conversation

shuaills
Copy link
Contributor

Motivation

Improve documentation clarity around grammar backends.
related to #2505

Modifications

Added constraint decoding tutorial with EBNF examples

Checklist

  • Format your code according to the Contributor Guide.
  • Add unit tests as outlined in the Contributor Guide.
  • Update documentation as needed, including docstrings or example tutorials.

@zhyncs zhyncs added the documentation Improvements or additions to documentation label Dec 27, 2024
@zhaochenyang20
Copy link
Collaborator

Make sure you have include the contents in your tutorial:

#2609

@zhaochenyang20 zhaochenyang20 changed the title Doc/constrained decoding Docs: Add constrained decoding tutorial Dec 28, 2024
docs/backend/openai_api_completions.ipynb Outdated Show resolved Hide resolved
docs/backend/constrained_decoding.ipynb Outdated Show resolved Hide resolved
docs/backend/constrained_decoding.ipynb Outdated Show resolved Hide resolved
docs/backend/constrained_decoding.ipynb Outdated Show resolved Hide resolved
docs/backend/constrained_decoding.ipynb Outdated Show resolved Hide resolved
docs/backend/constrained_decoding.ipynb Outdated Show resolved Hide resolved
docs/backend/constrained_decoding.ipynb Outdated Show resolved Hide resolved
docs/backend/constrained_decoding.ipynb Outdated Show resolved Hide resolved
docs/backend/constrained_decoding.ipynb Outdated Show resolved Hide resolved
docs/backend/constrained_decoding.ipynb Outdated Show resolved Hide resolved
docs/backend/constrained_decoding.ipynb Outdated Show resolved Hide resolved
docs/backend/constrained_decoding.ipynb Outdated Show resolved Hide resolved
@zhaochenyang20
Copy link
Collaborator

@shuaills Great job. And welcome to SGLang!

@zhaochenyang20 zhaochenyang20 merged commit 239c9d4 into sgl-project:main Dec 28, 2024
2 checks passed
zhaochenyang20 added a commit that referenced this pull request Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants