Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.
Python calibrationclassificationdecision-modelhuggingfacejevmodernbertmultilingualnlppythonpytorchroutingtyped-decisionszero-shot
ci: use per-commit concurrency group for pushes to main (#399)
Raj Ojhab750d1701d1d
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 7a9cca5f..0026c5d1 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -9,10 +9,9 @@ permissions:contents: readconcurrency:- group: ci-${{ github.ref }}- # Cancel outdated pull request runs. On main, let a started run finish: merges land minutes- # apart, and cancelling there left whole bursts of merges without a result of their own. A- # newer push still replaces a run that is queued and has not started.+ group: ci-${{ github.event_name == 'pull_request' && github.ref || github.sha }}+ # Cancel outdated pull request runs. On main, use a per-commit group so each push+ # gets its own run and started runs finish without cancelling or being cancelled by adjacent merges.cancel-in-progress: ${{ github.event_name == 'pull_request' }}env:diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.ymlindex 419757d2..73db252b 100644--- a/.github/workflows/docker.yml+++ b/.github/workflows/docker.yml@@ -5,9 +5,9 @@ on:push:branches: [main]-# Cancel outdated pull request runs; let runs on main finish.+# Cancel outdated pull request runs; on main, run per commit.concurrency:- group: docker-${{ github.ref }}+ group: docker-${{ github.event_name == 'pull_request' && github.ref || github.sha }}cancel-in-progress: ${{ github.event_name == 'pull_request' }}permissions:diff --git a/.github/workflows/security.yml b/.github/workflows/security.ymlindex a0d111b2..7dd34698 100644--- a/.github/workflows/security.yml+++ b/.github/workflows/security.yml@@ -7,9 +7,9 @@ on:schedule:- cron: "17 6 * * 1" # Monday morning: catch CVEs disclosed since the last push-# Cancel outdated pull request runs; let runs on main finish.+# Cancel outdated pull request runs; on main, run per commit.concurrency:- group: security-${{ github.ref }}+ group: security-${{ github.event_name == 'pull_request' && github.ref || github.sha }}cancel-in-progress: ${{ github.event_name == 'pull_request' }}# Read-only by default. Jobs that need more ask for it explicitly.