Playground
Type a time expression (en / es / fr / de). The model runs in your browser and produces the IR, the SQLite & Postgres predicates, and the exact dates — resolved by running the SQL in real SQLite (sql.js).
loading model…
last 7 daysin March 2024next monday at 12:30last friday of this monthfirst day of the monthúltimo miércoles de 2027el arranque del mesle premier jeudi de mainächsten Montaga fortnight agoin 3 daysevery weekday
relative expressions resolve against this date (default today)
How it works
tokenize → int8 ONNX (one pass) → argmax the classification heads →
compose the skeleton → a deterministic layer fills the numbers/months/dates from your text
(materialize) → the renderers turn the IR into SQL / a JS range. Model:
ceritium/sundial-encoder-full · code on
GitHub.