Add pydantic models to GBNF grammar generator. For "Instructor" library like use of llama.cpp models. #4883
Create pydantic-models-to-grammar.py
5becef98
Added some comments for usage
ebca51be
ggerganov
approved these changes
on 2024-01-12
Refactored Grammar Generator
2b42f525
Update pydantic_models_to_grammar.py
aa57604c
Update pydantic-models-to-grammar-examples.py
641214b8
Renamed module and imported it.
3507238c
Update pydantic-models-to-grammar.py
149d00ff
Renamed file and fixed grammar generator issue.
5f719de7
ggerganov
merged
52ee4540
into master 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub