- torch-grammar VS outlines
- torch-grammar VS guidance
- torch-grammar VS lmql
- torch-grammar VS Constrained-Text-Generation-Studio
- torch-grammar VS Constrained-Text-Genera
- torch-grammar VS json-schema-spec
- torch-grammar VS relm
- torch-grammar VS jsonformer
- torch-grammar VS llama.cpp
- torch-grammar VS llm-mlc
Torch-grammar Alternatives
Similar projects and alternatives to torch-grammar
-
guidance
Discontinued A guidance language for controlling large language models. [Moved to: https://github.com/guidance-ai/guidance] (by microsoft)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Constrained-Text-Generation-Studio
Code repo for "Most Language Models can be Poets too: An AI Writing Assistant and Constrained Text Generation Studio" at the (CAI2) workshop, jointly held at (COLING 2022)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
torch-grammar reviews and mentions
-
Show HN: LLMs can generate valid JSON 100% of the time
Yes! This is closer to the approach I took in my port of llama.cpp's grammar support to PyTorch: https://github.com/Shopify/torch-grammar/blob/main/torch_gra... ... it generates an tensor mapping each PDA stack to a map of which tokens are acceptable from that state. It seems like a much better way to do it.
-
Llama: Add Grammar-Based Sampling
I implemented this for PyTorch too at https://github.com/Shopify/torch-grammar
Stats
The primary programming language of torch-grammar is Python.
Popular Comparisons
Sponsored