HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
Shopify
torch-grammar
Python2023–2023
Shopify / torch-grammar · Archived

torch-grammar

Discover this repository through its Hacker News conversations.

2Distinct people
3Mentions
0Explicit recommenders
68GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A public description has not been verified.

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by day3 dated mentions

Observed mentions: 2023-07-22 00:17:42 UTC to 2023-08-14 21:30:37 UTC.

0122023-07-22 00:00:00 UTC to 2023-07-23 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJul 222023-07-23 00:00:00 UTC to 2023-07-24 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-24 00:00:00 UTC to 2023-07-25 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-25 00:00:00 UTC to 2023-07-26 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-26 00:00:00 UTC to 2023-07-27 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-27 00:00:00 UTC to 2023-07-28 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-28 00:00:00 UTC to 2023-07-29 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-29 00:00:00 UTC to 2023-07-30 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-30 00:00:00 UTC to 2023-07-31 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-31 00:00:00 UTC to 2023-08-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-01 00:00:00 UTC to 2023-08-02 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-02 00:00:00 UTC to 2023-08-03 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsAug 22023-08-03 00:00:00 UTC to 2023-08-04 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-04 00:00:00 UTC to 2023-08-05 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-05 00:00:00 UTC to 2023-08-06 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-06 00:00:00 UTC to 2023-08-07 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-07 00:00:00 UTC to 2023-08-08 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-08 00:00:00 UTC to 2023-08-09 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-09 00:00:00 UTC to 2023-08-10 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-10 00:00:00 UTC to 2023-08-11 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-11 00:00:00 UTC to 2023-08-12 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-12 00:00:00 UTC to 2023-08-13 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-13 00:00:00 UTC to 2023-08-14 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-14 00:00:00 UTC to 2023-08-15 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 commentsAug 14

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jul 222023-07-22 00:00:00 UTC2023-07-23 00:00:00 UTC101
Jul 232023-07-23 00:00:00 UTC2023-07-24 00:00:00 UTC000
Jul 242023-07-24 00:00:00 UTC2023-07-25 00:00:00 UTC000
Jul 252023-07-25 00:00:00 UTC2023-07-26 00:00:00 UTC000
Jul 262023-07-26 00:00:00 UTC2023-07-27 00:00:00 UTC000
Jul 272023-07-27 00:00:00 UTC2023-07-28 00:00:00 UTC000
Jul 282023-07-28 00:00:00 UTC2023-07-29 00:00:00 UTC000
Jul 292023-07-29 00:00:00 UTC2023-07-30 00:00:00 UTC000
Jul 302023-07-30 00:00:00 UTC2023-07-31 00:00:00 UTC000
Jul 312023-07-31 00:00:00 UTC2023-08-01 00:00:00 UTC000
Aug 12023-08-01 00:00:00 UTC2023-08-02 00:00:00 UTC000
Aug 22023-08-02 00:00:00 UTC2023-08-03 00:00:00 UTC000
Aug 32023-08-03 00:00:00 UTC2023-08-04 00:00:00 UTC000
Aug 42023-08-04 00:00:00 UTC2023-08-05 00:00:00 UTC000
Aug 52023-08-05 00:00:00 UTC2023-08-06 00:00:00 UTC000
Aug 62023-08-06 00:00:00 UTC2023-08-07 00:00:00 UTC000
Aug 72023-08-07 00:00:00 UTC2023-08-08 00:00:00 UTC000
Aug 82023-08-08 00:00:00 UTC2023-08-09 00:00:00 UTC000
Aug 92023-08-09 00:00:00 UTC2023-08-10 00:00:00 UTC000
Aug 102023-08-10 00:00:00 UTC2023-08-11 00:00:00 UTC000
Aug 112023-08-11 00:00:00 UTC2023-08-12 00:00:00 UTC000
Aug 122023-08-12 00:00:00 UTC2023-08-13 00:00:00 UTC000
Aug 132023-08-13 00:00:00 UTC2023-08-14 00:00:00 UTC000
Aug 142023-08-14 00:00:00 UTC2023-08-15 00:00:00 UTC202

What Hacker News says

3 sources
I'm not sure how this is different than: https://github.com/1rgs/jsonformer or https://github.com/newhouseb/clownfish or https://github.com/mkuchnik/relm or https://github.com/ggerganov/llama.cpp/pull/1773 or https://github.com/Shopify/torch-grammar Overall there are a ton of these logit based guidance systems, the reason they don't get tons of traction is the SOTA models are behind REST APIs that don't enable this fine-grained approach. Those models perform so much better that people generally settle for just re-requesting until they get the correct format (and with GPT-4 that ends up being a fairly rare occurrence in my experience)
In Show HN: LLMs can generate valid JSON 100% of the time

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.