rishhh commited on
Commit
77a43a4
·
verified ·
1 Parent(s): 206752a

Upload 13 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ assets/clap-planning.png filter=lfs diff=lfs merge=lfs -text
37
+ assets/toploss-sasp.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,10 +1,80 @@
1
  ---
2
- title: About
3
- emoji: ⚡
4
- colorFrom: pink
5
- colorTo: yellow
6
  sdk: static
7
- pinned: false
 
 
 
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Rishabh Patil
3
+ emoji: 🔎
4
+ colorFrom: indigo
5
+ colorTo: blue
6
  sdk: static
7
+ pinned: true
8
+ short_description: AI engineer and researcher. Models, data, papers.
9
+ tags:
10
+ - portfolio
11
+ - claim-verification
12
+ - text-to-sql
13
  ---
14
 
15
+ <p align="center">
16
+ <img alt="Rishabh Patil. AI engineer and researcher, co-founder and CEO of Valuren." src="https://huggingface.co/spaces/rishhh/about/resolve/main/assets/banner-auto.svg" width="100%">
17
+ </p>
18
+
19
+ <p align="center">
20
+ <a href="https://huggingface.co/rishhh"><img alt="Follow me on Hugging Face" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/follow-me-on-HF-sm.svg"></a>
21
+ <a href="https://www.linkedin.com/in/rishabh-ashok-patil/"><img alt="LinkedIn" src="https://img.shields.io/badge/LinkedIn-0A66C2?style=flat-square"></a>
22
+ <a href="https://github.com/MrRobotop"><img alt="GitHub" src="https://img.shields.io/badge/GitHub-MrRobotop-24292f?style=flat-square&logo=github&logoColor=white"></a>
23
+ <a href="https://orcid.org/0009-0007-0868-9673"><img alt="ORCID" src="https://img.shields.io/badge/ORCID-A6CE39?style=flat-square&logo=orcid&logoColor=white"></a>
24
+ <a href="https://www.rishabhpatil.com"><img alt="Website" src="https://img.shields.io/badge/rishabhpatil.com-24292f?style=flat-square"></a>
25
+ </p>
26
+
27
+ AI engineer and researcher in London. Co-founder and CEO of [Valuren](https://www.linkedin.com/company/valuren/), which gives fashion and luxury brands digital product passports. I work on verification for AI: checking claims against evidence, evaluating LLM systems, and planning safely in learned latent spaces.
28
+
29
+ The page at the top of this Space pulls live download numbers from the Hub API.
30
+
31
+ ## VeriSci: scientific claim verification
32
+
33
+ <a href="https://huggingface.co/spaces/rishhh/verisci-claim-space"><img alt="Open the live demo in Hugging Face Spaces" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/open-in-hf-spaces-sm.svg"></a>
34
+ <a href="https://huggingface.co/rishhh/verisci-claim-verifier-retrieval-adapted-seed123"><img alt="Release verifier downloads, live" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fmodels%2Frishhh%2Fverisci-claim-verifier-retrieval-adapted-seed123%3Fexpand%255B%255D%3DdownloadsAllTime&query=%24.downloadsAllTime&label=verifier%20downloads&logo=huggingface&style=flat-square&color=2a78d6"></a>
35
+ <a href="https://huggingface.co/rishhh/verisci-scifact-e5-retriever"><img alt="Retriever downloads, live" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fmodels%2Frishhh%2Fverisci-scifact-e5-retriever%3Fexpand%255B%255D%3DdownloadsAllTime&query=%24.downloadsAllTime&label=retriever%20downloads&logo=huggingface&style=flat-square&color=2a78d6"></a>
36
+
37
+ Paste a scientific claim and get SUPPORTS, REFUTES or NOT ENOUGH INFO, with the sentences that justify the label.
38
+
39
+ <img alt="VeriSci pipeline: claim, retrieve with BM25 and a fine-tuned e5 retriever, select evidence sentences, verify with a calibrated DeBERTa model, return a label with evidence. Retriever Recall@5 0.867. Verifier accuracy 0.905, macro-F1 0.874, calibration error 0.024. End to end on SciFact validation: 0.691 accuracy, 0.653 macro-F1." src="https://huggingface.co/spaces/rishhh/about/resolve/main/assets/verisci-auto.svg" width="100%">
40
+
41
+ | Piece | Repo |
42
+ | :-- | :-- |
43
+ | Live demo | [verisci-claim-space](https://huggingface.co/spaces/rishhh/verisci-claim-space) (may take a minute to wake if idle) |
44
+ | Release verifier | [verisci-claim-verifier-retrieval-adapted-seed123](https://huggingface.co/rishhh/verisci-claim-verifier-retrieval-adapted-seed123) |
45
+ | Retriever | [verisci-scifact-e5-retriever](https://huggingface.co/rishhh/verisci-scifact-e5-retriever) |
46
+ | Ablations | Seeded variants of evidence selection (joint, evidence-gated, hard-negative, contradiction-adapted), each with its own model card |
47
+
48
+ ## SchemaSage-SQL: safe text-to-SQL
49
+
50
+ <a href="https://huggingface.co/rishhh/schemasage-sql-qwen3-4b-clean-balanced-200"><img alt="Model on Hugging Face" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/model-on-hf-sm.svg"></a>
51
+ <a href="https://huggingface.co/datasets/rishhh/schemasage-sql-clean-text2sql"><img alt="Dataset on Hugging Face" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/dataset-on-hf-sm.svg"></a>
52
+ <a href="https://huggingface.co/rishhh/schemasage-sql-qwen3-4b-clean-balanced-200"><img alt="Release model downloads, live" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fmodels%2Frishhh%2Fschemasage-sql-qwen3-4b-clean-balanced-200%3Fexpand%255B%255D%3DdownloadsAllTime&query=%24.downloadsAllTime&label=model%20downloads&logo=huggingface&style=flat-square&color=2a78d6"></a>
53
+ <a href="https://huggingface.co/datasets/rishhh/schemasage-sql-clean-text2sql"><img alt="Dataset downloads, live" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fdatasets%2Frishhh%2Fschemasage-sql-clean-text2sql%3Fexpand%255B%255D%3DdownloadsAllTime&query=%24.downloadsAllTime&label=dataset%20downloads&logo=huggingface&style=flat-square&color=2a78d6"></a>
54
+
55
+ QLoRA adapters on Qwen3-4B that write read-only SQL grounded in the schema you give them, with a safety layer that refuses destructive requests.
56
+
57
+ <img alt="SchemaSage-SQL release baseline on 64 cleaned held-out examples: 100% SQL parse validity, 98.3% schema adherence, 0% unsafe queries, 100% correct refusals. QLoRA on Qwen3-4B-Instruct-2507, trained on 111,444 cleaned examples, 10,862 of them refusals." src="https://huggingface.co/spaces/rishhh/about/resolve/main/assets/schemasage-auto.svg" width="100%">
58
+
59
+ | Piece | Repo |
60
+ | :-- | :-- |
61
+ | Release baseline | [schemasage-sql-qwen3-4b-clean-balanced-200](https://huggingface.co/rishhh/schemasage-sql-qwen3-4b-clean-balanced-200) |
62
+ | Larger candidate | [schemasage-sql-qwen3-4b-clean-balanced-8k-600-v2](https://huggingface.co/rishhh/schemasage-sql-qwen3-4b-clean-balanced-8k-600-v2): better exact match and execution accuracy, missed one blocked refusal, so not shipped |
63
+ | Dataset | [schemasage-sql-clean-text2sql](https://huggingface.co/datasets/rishhh/schemasage-sql-clean-text2sql) |
64
+ | Code | [github.com/MrRobotop/schemasage-sql](https://github.com/MrRobotop/schemasage-sql) |
65
+
66
+ ## Research code
67
+
68
+ | Project | What it is | Links |
69
+ | :-- | :-- | :-- |
70
+ | [toploss](https://github.com/MrRobotop/toploss) | Five optimiser-free PyTorch regularisers that rebuild SAM-style flat-minima effects as loss penalties | <img alt="PyPI version" src="https://img.shields.io/pypi/v/toploss?style=flat-square&label=PyPI&color=2a78d6"> [Preprint](https://doi.org/10.5281/zenodo.20497841) |
71
+ | [clap-family](https://github.com/MrRobotop/clap-family) | Conservative Lapse-Action Planning for safe latent trajectory optimisation, 72 tests | <img alt="PyPI version" src="https://img.shields.io/pypi/v/clap-family?style=flat-square&label=PyPI&color=2a78d6"> [Preprint](https://doi.org/10.5281/zenodo.20467271) |
72
+ | [micro-world-model](https://github.com/MrRobotop/micro-world-model) | Hierarchical JEPA world model that plans in latent space without reconstruction or reward | [Preprint](https://doi.org/10.5281/zenodo.20480620) |
73
+ | [ariadne-eval](https://github.com/MrRobotop/ariadne-eval) | Tracing and scoring for multi-step LLM agents, 285 tests | <img alt="Tests, live status" src="https://img.shields.io/github/actions/workflow/status/MrRobotop/ariadne-eval/tests.yml?style=flat-square&label=tests"> |
74
+ | [evalforge](https://github.com/MrRobotop/evalforge) | LLM evaluation with bootstrapped confidence intervals and a CI regression gate, 538 tests | <img alt="Tests, live status" src="https://img.shields.io/github/actions/workflow/status/MrRobotop/evalforge/tests.yml?style=flat-square&label=tests"> |
75
+
76
+ ## Background
77
+
78
+ MSc Artificial Intelligence, University of St Andrews (dissertation on dependent types for machine learning, supervised by Dr Edwin Brady). BSc Artificial Intelligence, VU Amsterdam.
79
+
80
+ [GitHub](https://github.com/MrRobotop) · [LinkedIn](https://www.linkedin.com/in/rishabh-ashok-patil/) · [ORCID](https://orcid.org/0009-0007-0868-9673) · [Website](https://www.rishabhpatil.com) · [Email](mailto:rishabh.a.patil@outlook.com)
assets/banner-auto.svg ADDED
assets/banner-dark.svg ADDED
assets/banner-light.svg ADDED
assets/clap-planning.png ADDED

Git LFS Details

  • SHA256: 3e34652f4b0a28d2822a9f9aac433d9b0f59e0580e41881b2e375c12df809051
  • Pointer size: 131 Bytes
  • Size of remote file: 139 kB
assets/schemasage-auto.svg ADDED
assets/schemasage-dark.svg ADDED
assets/schemasage-light.svg ADDED
assets/toploss-sasp.png ADDED

Git LFS Details

  • SHA256: e9be75ca21ca246d26ab0ec4a967229d86423346fc0463d3f1efa9d67cb31e83
  • Pointer size: 131 Bytes
  • Size of remote file: 127 kB
assets/verisci-auto.svg ADDED
assets/verisci-dark.svg ADDED
assets/verisci-light.svg ADDED
index.html CHANGED
@@ -1,19 +1,383 @@
1
  <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
  <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>Rishabh Patil: models, data and research</title>
7
+ <meta name="description" content="AI engineer and researcher in London. Co-founder and CEO of Valuren. Claim verification, safe text-to-SQL, LLM evaluation and world models, with live download numbers from the Hugging Face Hub.">
8
+ <style>
9
+ :root {
10
+ color-scheme: light;
11
+ --bg: #ffffff; --surface: #f6f8fa; --panel: #ffffff; --border: #d0d7de;
12
+ --ink: #1f2328; --ink2: #59636e; --muted: #6e7781; --grid: #d8dee4; --track: #cde2fb;
13
+ --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --other: #8c959f;
14
+ --goodtext: #006300; --good: #0ca30c; --link: #0969da; --focus: #2a78d6;
15
+ --shadow: 0 8px 24px rgba(31, 35, 40, 0.12);
16
+ }
17
+ @media (prefers-color-scheme: dark) {
18
+ :root:where(:not([data-theme="light"])) {
19
+ color-scheme: dark;
20
+ --bg: #0d1117; --surface: #161b22; --panel: #0d1117; --border: #30363d;
21
+ --ink: #f0f6fc; --ink2: #9198a1; --muted: #848d97; --grid: #30363d; --track: #104281;
22
+ --s1: #3987e5; --s2: #d95926; --s3: #199e70; --other: #6e7781;
23
+ --goodtext: #0ca30c; --good: #0ca30c; --link: #4493f8; --focus: #3987e5;
24
+ --shadow: 0 8px 24px rgba(1, 4, 9, 0.6);
25
+ }
26
+ }
27
+ :root[data-theme="dark"] {
28
+ color-scheme: dark;
29
+ --bg: #0d1117; --surface: #161b22; --panel: #0d1117; --border: #30363d;
30
+ --ink: #f0f6fc; --ink2: #9198a1; --muted: #848d97; --grid: #30363d; --track: #104281;
31
+ --s1: #3987e5; --s2: #d95926; --s3: #199e70; --other: #6e7781;
32
+ --goodtext: #0ca30c; --good: #0ca30c; --link: #4493f8; --focus: #3987e5;
33
+ --shadow: 0 8px 24px rgba(1, 4, 9, 0.6);
34
+ }
35
+ * { box-sizing: border-box; }
36
+ html { -webkit-text-size-adjust: 100%; }
37
+ body {
38
+ margin: 0; background: var(--bg); color: var(--ink);
39
+ font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
40
+ }
41
+ main { max-width: 880px; margin: 0 auto; padding: 24px 16px 56px; }
42
+ a { color: var(--link); text-decoration: none; }
43
+ a:hover { text-decoration: underline; }
44
+ a:focus-visible, [tabindex]:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
45
+ h2 { font-size: 1.3rem; line-height: 1.3; margin: 44px 0 6px; }
46
+ h3 { font-size: 1.05rem; margin: 0 0 4px; }
47
+ p { margin: 0 0 12px; }
48
+ .art { display: block; width: 100%; height: auto; }
49
+ .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; padding: 0; list-style: none; }
50
+ .chips a {
51
+ display: inline-block; padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px;
52
+ color: var(--ink); background: var(--surface); font-size: 0.9rem;
53
+ }
54
+ .chips a:hover { text-decoration: none; border-color: var(--ink2); }
55
+ .lead { color: var(--ink2); font-size: 1.04rem; }
56
+ .card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px 22px 18px; }
57
+ .cardhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 12px; }
58
+ .cardhead h3 { margin: 0; font-size: 1rem; }
59
+ .status { color: var(--muted); font-size: 0.82rem; }
60
+ .status .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--muted); vertical-align: 1px; }
61
+ .status.live .dot { background: var(--good); }
62
+ .kpis { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 16px; align-items: end; }
63
+ .hero .value { font-size: 3rem; line-height: 1.05; font-weight: 600; letter-spacing: -0.5px; }
64
+ .tile .value { font-size: 1.75rem; line-height: 1.1; font-weight: 600; }
65
+ .label { color: var(--ink2); font-size: 0.92rem; }
66
+ .delta { font-size: 0.9rem; color: var(--ink2); margin-top: 2px; }
67
+ .delta strong { color: var(--goodtext); }
68
+ .delta svg { vertical-align: -1px; margin-right: 4px; }
69
+ .rule { border: 0; border-top: 1px solid var(--grid); margin: 20px 0 16px; }
70
+ .legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 10px; padding: 0; list-style: none; font-size: 0.85rem; color: var(--ink2); }
71
+ .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -0.5px; }
72
+ .chart { position: relative; }
73
+ .row { padding: 4px 0 6px; border-radius: 6px; cursor: default; }
74
+ .row:hover .bar, .row:focus-visible .bar { filter: brightness(1.12); }
75
+ .row .name { font-size: 0.84rem; color: var(--ink2); overflow-wrap: anywhere; line-height: 1.35; }
76
+ .row .name .kind { color: var(--muted); }
77
+ .barline { display: flex; align-items: center; gap: 8px; height: 16px; }
78
+ .bar { height: 12px; border-radius: 0 4px 4px 0; flex: none; min-width: 3px; }
79
+ .val { font-size: 0.84rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
80
+ .c-VeriSci { background: var(--s1); } .c-SchemaSage { background: var(--s2); } .c-Other { background: var(--other); }
81
+ .tooltip {
82
+ position: absolute; z-index: 5; pointer-events: none; min-width: 180px; max-width: 280px;
83
+ background: var(--panel); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow);
84
+ padding: 10px 12px; font-size: 0.84rem; opacity: 0; transition: opacity 0.12s;
85
+ }
86
+ .tooltip.on { opacity: 1; }
87
+ .tooltip .tv { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
88
+ .tooltip .tl { color: var(--ink2); }
89
+ .tooltip .key { display: inline-block; width: 12px; height: 2px; margin-right: 6px; vertical-align: 3px; }
90
+ details { margin-top: 12px; }
91
+ summary { cursor: pointer; color: var(--ink2); font-size: 0.9rem; }
92
+ .table-wrap { overflow-x: auto; margin-top: 10px; border: 1px solid var(--border); border-radius: 10px; }
93
+ table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
94
+ th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--grid); vertical-align: top; }
95
+ th { background: var(--panel); font-weight: 600; }
96
+ td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
97
+ tr:last-child td { border-bottom: 0; }
98
+ .links { margin: 10px 0 0; padding-left: 20px; color: var(--ink2); }
99
+ .links li { margin: 2px 0; }
100
+ .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
101
+ .project { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
102
+ .project .fig { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; border-radius: 8px; border: 1px solid var(--border); background: #ffffff; }
103
+ .project p { color: var(--ink2); font-size: 0.92rem; margin: 0; }
104
+ .badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
105
+ .badges img { height: 20px; }
106
+ .compact { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
107
+ .compact li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; }
108
+ .compact .meta { color: var(--ink2); font-size: 0.92rem; }
109
+ footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--grid); color: var(--muted); font-size: 0.85rem; }
110
+ .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
111
+ @media (max-width: 720px) {
112
+ .kpis { grid-template-columns: 1fr 1fr 1fr; }
113
+ .hero { grid-column: 1 / -1; }
114
+ .hero .value { font-size: 2.5rem; }
115
+ .grid { grid-template-columns: 1fr; }
116
+ .card { padding: 18px 16px 14px; }
117
+ }
118
+ @media (prefers-reduced-motion: reduce) { .tooltip { transition: none; } }
119
+ </style>
120
+ </head>
121
+ <body>
122
+ <main>
123
+ <header>
124
+ <img class="art" data-art="banner" src="assets/banner-auto.svg" width="1000" height="250"
125
+ alt="Rishabh Patil. AI engineer and researcher, co-founder and CEO of Valuren.">
126
+ <ul class="chips">
127
+ <li><a href="https://huggingface.co/rishhh" target="_blank" rel="noopener noreferrer">Hugging Face</a></li>
128
+ <li><a href="https://github.com/MrRobotop" target="_blank" rel="noopener noreferrer">GitHub</a></li>
129
+ <li><a href="https://www.linkedin.com/in/rishabh-ashok-patil/" target="_blank" rel="noopener noreferrer">LinkedIn</a></li>
130
+ <li><a href="https://orcid.org/0009-0007-0868-9673" target="_blank" rel="noopener noreferrer">ORCID</a></li>
131
+ <li><a href="https://www.rishabhpatil.com" target="_blank" rel="noopener noreferrer">Website</a></li>
132
+ <li><a href="mailto:rishabh.a.patil@outlook.com">Email</a></li>
133
+ </ul>
134
+ <p class="lead">AI engineer and researcher in London. Co-founder and CEO of <a href="https://www.linkedin.com/company/valuren/" target="_blank" rel="noopener noreferrer">Valuren</a>, which gives fashion and luxury brands digital product passports. I work on verification for AI: checking claims against evidence, evaluating LLM systems, and planning safely in learned latent spaces.</p>
135
+ </header>
136
+
137
+ <section aria-labelledby="hub-h">
138
+ <h2 id="hub-h">On the Hub</h2>
139
+ <div class="card">
140
+ <div class="cardhead">
141
+ <h3>Downloads</h3>
142
+ <span class="status" id="status"><span class="dot"></span><span id="status-text">Loading live numbers</span></span>
143
+ </div>
144
+ <div class="kpis">
145
+ <div class="hero">
146
+ <div class="value" id="k-total">2,788</div>
147
+ <div class="label">downloads, all time</div>
148
+ <div class="delta" id="k-delta"><svg width="12" height="10" viewBox="0 0 12 10" aria-hidden="true"><path d="M6 0l6 10H0z" fill="var(--good)"/></svg><strong id="k-d30">+308</strong> in the last 30 days</div>
149
+ </div>
150
+ <div class="tile"><div class="value" id="k-models">28</div><div class="label">models</div></div>
151
+ <div class="tile"><div class="value" id="k-datasets">1</div><div class="label" id="k-datasets-l">dataset</div></div>
152
+ <div class="tile"><div class="value" id="k-spaces">1</div><div class="label" id="k-spaces-l">Space</div></div>
153
+ </div>
154
+ <hr class="rule">
155
+ <div class="cardhead"><h3>Most downloaded repos</h3><span class="status">Hover or tab through the bars for 30-day numbers</span></div>
156
+ <ul class="legend" id="legend"></ul>
157
+ <div class="chart" id="chart" role="list" aria-label="Most downloaded repos, all time"></div>
158
+ <details>
159
+ <summary>Table view of every repo</summary>
160
+ <div class="table-wrap"><table>
161
+ <thead><tr><th>Repo</th><th>Type</th><th class="num">All time</th><th class="num">Last 30 days</th></tr></thead>
162
+ <tbody id="table"></tbody>
163
+ </table></div>
164
+ </details>
165
+ </div>
166
+ </section>
167
+
168
+ <section aria-labelledby="v-h">
169
+ <h2 id="v-h">VeriSci: scientific claim verification</h2>
170
+ <p>Paste a scientific claim and get SUPPORTS, REFUTES or NOT ENOUGH INFO, with the sentences that justify the label.</p>
171
+ <img class="art" data-art="verisci" src="assets/verisci-auto.svg" width="840" height="372"
172
+ alt="VeriSci pipeline: claim, retrieve with BM25 and a fine-tuned e5 retriever, select evidence sentences, verify with a calibrated DeBERTa model, return a label with evidence. Retriever Recall@5 0.867. Verifier accuracy 0.905, macro-F1 0.874, calibration error 0.024. End to end on SciFact validation: 0.691 accuracy, 0.653 macro-F1.">
173
+ <ul class="links">
174
+ <li><a href="https://huggingface.co/spaces/rishhh/verisci-claim-space" target="_blank" rel="noopener noreferrer">Live demo</a> (may take a minute to wake if idle)</li>
175
+ <li><a href="https://huggingface.co/rishhh/verisci-claim-verifier-retrieval-adapted-seed123" target="_blank" rel="noopener noreferrer">Release verifier</a> and <a href="https://huggingface.co/rishhh/verisci-scifact-e5-retriever" target="_blank" rel="noopener noreferrer">retriever</a></li>
176
+ <li>Seeded ablations of evidence selection, each with its own model card</li>
177
+ </ul>
178
+ </section>
179
+
180
+ <section aria-labelledby="s-h">
181
+ <h2 id="s-h">SchemaSage-SQL: safe text-to-SQL</h2>
182
+ <p>QLoRA adapters on Qwen3-4B that write read-only SQL grounded in the schema you give them, with a safety layer that refuses destructive requests.</p>
183
+ <img class="art" data-art="schemasage" src="assets/schemasage-auto.svg" width="840" height="246"
184
+ alt="SchemaSage-SQL release baseline on 64 cleaned held-out examples: 100% SQL parse validity, 98.3% schema adherence, 0% unsafe queries, 100% correct refusals. QLoRA on Qwen3-4B-Instruct-2507, trained on 111,444 cleaned examples, 10,862 of them refusals.">
185
+ <ul class="links">
186
+ <li><a href="https://huggingface.co/rishhh/schemasage-sql-qwen3-4b-clean-balanced-200" target="_blank" rel="noopener noreferrer">Release baseline</a>; the <a href="https://huggingface.co/rishhh/schemasage-sql-qwen3-4b-clean-balanced-8k-600-v2" target="_blank" rel="noopener noreferrer">larger candidate</a> scored higher on exact match and execution accuracy but missed one blocked refusal, so it was not shipped</li>
187
+ <li><a href="https://huggingface.co/datasets/rishhh/schemasage-sql-clean-text2sql" target="_blank" rel="noopener noreferrer">Dataset</a> and <a href="https://github.com/MrRobotop/schemasage-sql" target="_blank" rel="noopener noreferrer">code</a></li>
188
+ </ul>
189
+ </section>
190
+
191
+ <section aria-labelledby="r-h">
192
+ <h2 id="r-h">Research code</h2>
193
+ <p>Each library pairs installable code with a first-author preprint.</p>
194
+ <div class="grid">
195
+ <article class="project">
196
+ <img class="fig" src="assets/toploss-sasp.png" width="1600" height="589" loading="lazy"
197
+ alt="SASP results: test cross-entropy over 120 epochs against the baseline, and Hessian trace at convergence, about 171 for the baseline against about 100 with SASP.">
198
+ <h3><a href="https://github.com/MrRobotop/toploss" target="_blank" rel="noopener noreferrer">toploss</a></h3>
199
+ <p>Five optimiser-free PyTorch regularisers that rebuild SAM, cautious weight decay and AdEMAMix as loss penalties. SASP cut the Hessian trace 41% at +15% wall-clock, against +107% for SAM (three seeds, CPU).</p>
200
+ <div class="badges">
201
+ <img alt="PyPI version" src="https://img.shields.io/pypi/v/toploss?style=flat-square&amp;label=PyPI&amp;color=2a78d6">
202
+ <img alt="CI, live status" src="https://img.shields.io/github/actions/workflow/status/MrRobotop/toploss/ci.yaml?style=flat-square&amp;label=CI">
203
+ <a href="https://doi.org/10.5281/zenodo.20497841" target="_blank" rel="noopener noreferrer">Preprint</a>
204
+ </div>
205
+ </article>
206
+ <article class="project">
207
+ <img class="fig" src="assets/clap-planning.png" width="1280" height="877" loading="lazy"
208
+ alt="CLAP planning in a two-dimensional latent field: the trajectory reaches the safe target region and dwells there, avoiding a reward trap and an unsafe zone.">
209
+ <h3><a href="https://github.com/MrRobotop/clap-family" target="_blank" rel="noopener noreferrer">clap-family</a></h3>
210
+ <p>Conservative Lapse-Action Planning: reach the best safe region of a latent space, then stay there. Seven planner variants, 72 tests.</p>
211
+ <div class="badges">
212
+ <img alt="PyPI version" src="https://img.shields.io/pypi/v/clap-family?style=flat-square&amp;label=PyPI&amp;color=2a78d6">
213
+ <img alt="Checks, live status" src="https://img.shields.io/github/check-runs/MrRobotop/clap-family/HEAD?style=flat-square&amp;label=checks">
214
+ <a href="https://doi.org/10.5281/zenodo.20467271" target="_blank" rel="noopener noreferrer">Preprint</a>
215
+ </div>
216
+ </article>
217
+ </div>
218
+ <ul class="compact">
219
+ <li><a href="https://github.com/MrRobotop/micro-world-model" target="_blank" rel="noopener noreferrer"><strong>micro-world-model</strong></a> · <a href="https://doi.org/10.5281/zenodo.20480620" target="_blank" rel="noopener noreferrer">preprint</a><br><span class="meta">Hierarchical JEPA world model that plans in a 256-dimensional latent space with no reconstruction, no reward and no EMA target.</span></li>
220
+ <li><a href="https://github.com/MrRobotop/ariadne-eval" target="_blank" rel="noopener noreferrer"><strong>ariadne-eval</strong></a><br><span class="meta">Trajectory-level tracing and scoring for multi-step, tool-using agents. 285 tests, mypy-strict.</span></li>
221
+ <li><a href="https://github.com/MrRobotop/evalforge" target="_blank" rel="noopener noreferrer"><strong>evalforge</strong></a><br><span class="meta">LLM evaluation with bootstrapped confidence intervals, calibrated LLM-as-judge and a CI regression gate. 538 tests.</span></li>
222
+ </ul>
223
+ </section>
224
+
225
+ <section aria-labelledby="b-h">
226
+ <h2 id="b-h">Background</h2>
227
+ <p>MSc Artificial Intelligence, University of St Andrews (dissertation on dependent types for machine learning, supervised by Dr Edwin Brady). BSc Artificial Intelligence, VU Amsterdam. Before Valuren I co-founded RelAIable, an AI consultancy in Amsterdam, as Chief AI Officer.</p>
228
+ </section>
229
+
230
+ <footer>
231
+ <p id="foot">Download numbers come live from the Hugging Face Hub API. If it can't be reached, the page shows a snapshot from 8 Oct 2026.</p>
232
+ </footer>
233
+ </main>
234
+ <div class="tooltip" id="tip" role="status" aria-live="polite"></div>
235
+ <script>
236
+ (() => {
237
+ "use strict";
238
+ const USER = "rishhh";
239
+ const SNAPSHOT = {"date":"2026-10-08","dateLabel":"8 Oct 2026","spaces":1,"repos":[{"id":"rishhh/schemasage-sql-qwen3-4b-smoke","type":"model","all":3,"d30":0},{"id":"rishhh/schemasage-sql-qwen3-4b-longer-200","type":"model","all":57,"d30":4},{"id":"rishhh/schemasage-sql-qwen3-4b-clean-200","type":"model","all":43,"d30":5},{"id":"rishhh/schemasage-sql-qwen3-4b-clean-balanced-200","type":"model","all":132,"d30":6},{"id":"rishhh/schemasage-sql-qwen3-4b-clean-balanced-8k-600","type":"model","all":33,"d30":4},{"id":"rishhh/schemasage-sql-qwen3-4b-clean-balanced-8k-600-v2","type":"model","all":135,"d30":4},{"id":"rishhh/verisci-claim-verifier","type":"model","all":55,"d30":0},{"id":"rishhh/verisci-claim-verifier-sentence-nli","type":"model","all":63,"d30":27},{"id":"rishhh/verisci-claim-verifier-sentence-nli-refute","type":"model","all":44,"d30":14},{"id":"rishhh/verisci-claim-verifier-sentence-nli-seed123","type":"model","all":419,"d30":25},{"id":"rishhh/verisci-scifact-e5-retriever","type":"model","all":320,"d30":61},{"id":"rishhh/verisci-claim-verifier-retrieval-aware-seed123","type":"model","all":83,"d30":53},{"id":"rishhh/verisci-claim-verifier-retrieval-adapted-seed123","type":"model","all":941,"d30":13},{"id":"rishhh/verisci-claim-verifier-dense-adapted-seed123","type":"model","all":99,"d30":14},{"id":"rishhh/verisci-claim-verifier-claim-aggregator-seed123","type":"model","all":0,"d30":0},{"id":"rishhh/verisci-claim-verifier-claim-aggregator-holdout-safe-seed123","type":"model","all":0,"d30":0},{"id":"rishhh/verisci-claim-verifier-joint-evidence-seed123","type":"model","all":56,"d30":17},{"id":"rishhh/verisci-claim-verifier-joint-evidence-selector-seed123","type":"model","all":46,"d30":15},{"id":"rishhh/verisci-claim-verifier-learned-selector-joint-seed123","type":"model","all":0,"d30":0},{"id":"rishhh/verisci-claim-verifier-refutes-hard-selector-joint-seed123","type":"model","all":0,"d30":0},{"id":"rishhh/verisci-claim-verifier-constrained-selector-joint-seed123","type":"model","all":0,"d30":0},{"id":"rishhh/verisci-claim-verifier-hard-negative-selector-joint-seed123","type":"model","all":0,"d30":0},{"id":"rishhh/verisci-claim-verifier-contradiction-adapted-joint-seed123","type":"model","all":0,"d30":0},{"id":"rishhh/verisci-scifact-sentence-reranker-seed123","type":"model","all":0,"d30":0},{"id":"rishhh/verisci-claim-verifier-evidence-gated-joint-seed123","type":"model","all":0,"d30":0},{"id":"rishhh/verisci-claim-verifier-selective-evidence-gated-joint-seed123","type":"model","all":0,"d30":0},{"id":"rishhh/verisci-claim-verifier-learned-selector-base-joint-seed123","type":"model","all":0,"d30":0},{"id":"rishhh/verisci-claim-verifier-learned-selector-nli-warm-joint-seed123","type":"model","all":0,"d30":0},{"id":"rishhh/schemasage-sql-clean-text2sql","type":"dataset","all":259,"d30":46}]};
240
+ const PROJECTS = [["VeriSci", "verisci"], ["SchemaSage", "schemasage"]];
241
+ const root = document.documentElement;
242
+
243
+ // Hugging Face passes ?__theme=light|dark to Space iframes; follow it when present.
244
+ const asked = new URLSearchParams(location.search).get("__theme");
245
+ if (asked === "light" || asked === "dark") root.dataset.theme = asked;
246
+ const dark = matchMedia("(prefers-color-scheme: dark)");
247
+ const theme = () => (root.dataset.theme === "light" || root.dataset.theme === "dark")
248
+ ? root.dataset.theme : (dark.matches ? "dark" : "light");
249
+ const swapArt = () => document.querySelectorAll("img[data-art]").forEach((img) => {
250
+ img.src = `assets/${img.dataset.art}-${theme()}.svg`;
251
+ });
252
+ swapArt();
253
+ dark.addEventListener("change", swapArt);
254
+
255
+ const fmt = (n) => Number(n || 0).toLocaleString("en-GB");
256
+ const projectOf = (id) => {
257
+ const name = id.split("/").pop().toLowerCase();
258
+ const hit = PROJECTS.find(([, prefix]) => name.startsWith(prefix));
259
+ return hit ? hit[0] : "Other";
260
+ };
261
+ const el = (tag, cls, text) => {
262
+ const node = document.createElement(tag);
263
+ if (cls) node.className = cls;
264
+ if (text !== undefined) node.textContent = text;
265
+ return node;
266
+ };
267
+ const plural = (n, word) => (n === 1 ? word : word + "s");
268
+
269
+ async function getJSON(url) {
270
+ const res = await fetch(url, { headers: { Accept: "application/json" } });
271
+ if (!res.ok) throw new Error(`${res.status} ${url}`);
272
+ return res.json();
273
+ }
274
+
275
+ async function load() {
276
+ const q = "&limit=1000&expand%5B%5D=downloadsAllTime&expand%5B%5D=downloads";
277
+ try {
278
+ const [models, datasets, spaces] = await Promise.all([
279
+ getJSON(`https://huggingface.co/api/models?author=${USER}${q}`),
280
+ getJSON(`https://huggingface.co/api/datasets?author=${USER}${q}`),
281
+ getJSON(`https://huggingface.co/api/spaces?author=${USER}&limit=1000`),
282
+ ]);
283
+ const repos = [
284
+ ...models.map((m) => ({ id: m.id, type: "model", all: m.downloadsAllTime || 0, d30: m.downloads || 0 })),
285
+ ...datasets.map((d) => ({ id: d.id, type: "dataset", all: d.downloadsAllTime || 0, d30: d.downloads || 0 })),
286
+ ];
287
+ render({ repos, spaces: spaces.length, live: true });
288
+ } catch (err) {
289
+ render({ repos: SNAPSHOT.repos, spaces: SNAPSHOT.spaces, live: false });
290
+ }
291
+ }
292
+
293
+ function render({ repos, spaces, live }) {
294
+ const models = repos.filter((r) => r.type === "model").length;
295
+ const datasets = repos.filter((r) => r.type === "dataset").length;
296
+ const total = repos.reduce((s, r) => s + r.all, 0);
297
+ const d30 = repos.reduce((s, r) => s + r.d30, 0);
298
+ document.getElementById("k-total").textContent = fmt(total);
299
+ document.getElementById("k-d30").textContent = "+" + fmt(d30);
300
+ document.getElementById("k-models").textContent = fmt(models);
301
+ document.getElementById("k-datasets").textContent = fmt(datasets);
302
+ document.getElementById("k-datasets-l").textContent = plural(datasets, "dataset");
303
+ document.getElementById("k-spaces").textContent = fmt(spaces);
304
+ document.getElementById("k-spaces-l").textContent = plural(spaces, "Space");
305
+ const status = document.getElementById("status");
306
+ status.classList.toggle("live", live);
307
+ document.getElementById("status-text").textContent = live
308
+ ? "Live from the Hugging Face Hub"
309
+ : `Snapshot from ${SNAPSHOT.dateLabel}`;
310
+
311
+ const sorted = [...repos].sort((a, b) => b.all - a.all || a.id.localeCompare(b.id));
312
+ const top = sorted.filter((r) => r.all > 0).slice(0, 10);
313
+ const max = Math.max(1, ...top.map((r) => r.all));
314
+
315
+ const used = [...new Set(top.map((r) => projectOf(r.id)))];
316
+ const order = ["VeriSci", "SchemaSage", "Other"].filter((p) => used.includes(p));
317
+ const legend = document.getElementById("legend");
318
+ legend.replaceChildren(...order.map((p) => {
319
+ const li = el("li");
320
+ li.append(el("i", `c-${p}`), document.createTextNode(p));
321
+ return li;
322
+ }));
323
+
324
+ const chart = document.getElementById("chart");
325
+ chart.replaceChildren(...top.map((r) => {
326
+ const project = projectOf(r.id);
327
+ const name = r.id.split("/").pop();
328
+ const row = el("div", "row");
329
+ row.setAttribute("role", "listitem");
330
+ row.tabIndex = 0;
331
+ row.setAttribute("aria-label", `${name}, ${r.type}, ${fmt(r.all)} downloads all time, ${fmt(r.d30)} in the last 30 days`);
332
+ const label = el("div", "name");
333
+ label.append(document.createTextNode(name));
334
+ if (r.type === "dataset") label.append(el("span", "kind", " (dataset)"));
335
+ const line = el("div", "barline");
336
+ const bar = el("div", `bar c-${project}`);
337
+ bar.style.width = `calc((100% - 64px) * ${(r.all / max).toFixed(4)})`;
338
+ line.append(bar, el("span", "val", fmt(r.all)));
339
+ row.append(label, line);
340
+ const show = (x, y) => showTip(r, project, x, y);
341
+ row.addEventListener("pointermove", (e) => show(e.clientX, e.clientY));
342
+ row.addEventListener("pointerleave", hideTip);
343
+ row.addEventListener("focus", () => { const b = row.getBoundingClientRect(); show(b.left + 24, b.bottom); });
344
+ row.addEventListener("blur", hideTip);
345
+ return row;
346
+ }));
347
+
348
+ const tbody = document.getElementById("table");
349
+ tbody.replaceChildren(...sorted.map((r) => {
350
+ const tr = el("tr");
351
+ const a = el("a", "", r.id.split("/").pop());
352
+ a.href = `https://huggingface.co/${r.type === "dataset" ? "datasets/" : ""}${r.id}`;
353
+ a.target = "_blank"; a.rel = "noopener noreferrer";
354
+ const name = el("td"); name.append(a);
355
+ tr.append(name, el("td", "", r.type), el("td", "num", fmt(r.all)), el("td", "num", fmt(r.d30)));
356
+ return tr;
357
+ }));
358
+ }
359
+
360
+ const tip = document.getElementById("tip");
361
+ function showTip(r, project, x, y) {
362
+ const v = el("div", "tv", `${fmt(r.all)} downloads`);
363
+ const l1 = el("div", "tl", `${fmt(r.d30)} in the last 30 days`);
364
+ const l2 = el("div", "tl");
365
+ const key = el("span", `key c-${project}`);
366
+ l2.append(key, document.createTextNode(`${project} ${r.type}`));
367
+ tip.replaceChildren(v, l1, l2);
368
+ tip.classList.add("on");
369
+ const w = tip.offsetWidth, h = tip.offsetHeight;
370
+ const left = Math.min(window.innerWidth - w - 8, Math.max(8, x + 14)) + window.scrollX;
371
+ const top = (y + h + 20 > window.innerHeight ? y - h - 12 : y + 16) + window.scrollY;
372
+ tip.style.left = `${left}px`;
373
+ tip.style.top = `${top}px`;
374
+ }
375
+ function hideTip() { tip.classList.remove("on"); }
376
+
377
+ render({ repos: SNAPSHOT.repos, spaces: SNAPSHOT.spaces, live: false });
378
+ document.getElementById("status-text").textContent = "Loading live numbers";
379
+ load();
380
+ })();
381
+ </script>
382
+ </body>
383
  </html>