Spaces:
Running
Running
File size: 6,614 Bytes
7d1c75c 10addeb 88d1cd8 10addeb 88d1cd8 10addeb e272d17 abf6c6b 10addeb a10b560 10addeb dc9ea50 10addeb dc9ea50 10addeb 7d1c75c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>NTv3 — Foundation Models for Long-Range Genomics</title>
<meta name="description" content="NTv3 companion hub: PyTorch notebooks for inference, fine-tuning, interpretation, and sequence generation on NTv3 models hosted on Hugging Face." />
<style>
:root {
--bg: #0b1020;
--card: rgba(255, 255, 255, 0.06);
--text: rgba(255, 255, 255, 0.92);
--muted: rgba(255, 255, 255, 0.65);
--link: #7dd3fc;
--border: rgba(255, 255, 255, 0.12);
--shadow: 0 10px 30px rgba(0,0,0,0.35);
--radius: 18px;
--mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
--sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
body {
margin: 0;
font-family: var(--sans);
color: var(--text);
background:
radial-gradient(1200px 800px at 10% 10%, rgba(125, 211, 252, 0.12), transparent 60%),
radial-gradient(1200px 800px at 90% 30%, rgba(167, 139, 250, 0.12), transparent 55%),
var(--bg);
min-height: 100vh;
}
.wrap { max-width: 980px; margin: 0 auto; padding: 44px 18px 56px; }
.hero {
display: grid; gap: 14px;
padding: 26px 24px;
border: 1px solid var(--border);
background: var(--card);
box-shadow: var(--shadow);
border-radius: var(--radius);
}
h1 { font-size: 34px; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; color: var(--muted); line-height: 1.5; }
.grid {
margin-top: 18px;
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 14px;
}
.card {
grid-column: span 6;
padding: 18px 18px;
border: 1px solid var(--border);
background: var(--card);
border-radius: var(--radius);
box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}
.card h2 { margin: 0 0 10px 0; font-size: 16px; letter-spacing: 0.01em; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.card li { margin: 8px 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.pillrow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pill {
font-size: 12px;
padding: 6px 10px;
border-radius: 999px;
border: 1px solid var(--border);
background: rgba(255,255,255,0.04);
color: var(--muted);
}
.code {
margin-top: 12px;
padding: 16px 18px;
border-radius: 14px;
border: 1px solid var(--border);
background: rgba(0,0,0,0.3);
font-family: var(--mono);
font-size: 13px;
line-height: 1.6;
overflow-x: auto;
color: rgba(255,255,255,0.9);
white-space: pre;
}
.code code {
font-family: inherit;
font-size: inherit;
color: inherit;
}
.footer { margin-top: 22px; color: var(--muted); font-size: 13px; }
@media (max-width: 860px) {
.card { grid-column: span 12; }
h1 { font-size: 28px; }
}
</style>
</head>
<body>
<div class="wrap">
<div class="hero">
<h1>NTv3 — Foundation Models for Long-Range Genomics</h1>
<p>
This Space is the companion hub for <strong>NTv3</strong> models: runnable notebooks for inference, fine-tuning, interpretation, and sequence generation.
</p>
<div class="pillrow">
<span class="pill">Long-context genomics</span>
<span class="pill">Torch notebooks</span>
<span class="pill">Inference • Fine-tune • Interpret • Generate</span>
</div>
</div>
<div class="grid">
<div class="card">
<h2>Notebooks</h2>
<ul>
<li><a href="https://huggingface.co/spaces/InstaDeepAI/ntv3/tree/main/notebooks" target="_blank" rel="noopener">Browse notebooks folder</a></li>
<li><a href="https://huggingface.co/spaces/InstaDeepAI/ntv3/blob/main/notebooks/00_quickstart_inference.ipynb" target="_blank" rel="noopener">00 — Quickstart inference</a></li>
<li><a href="https://huggingface.co/spaces/InstaDeepAI/ntv3/blob/main/notebooks/01_tracks_prediction.ipynb" target="_blank" rel="noopener">01 — Tracks prediction</a></li>
<li>02 — Genome annotation / segmentation</li>
<li>03 — Fine-tune a head</li>
<li>04 — Model interpretation</li>
<li>05 — Sequence generation</li>
</ul>
</div>
<div class="card">
<h2>Models</h2>
<ul>
<li>Pretrained checkpoints:
<div style="margin-top: 8px; margin-left: 0;">
<div><a href="https://huggingface.co/InstaDeepAI/ntv3_8M_7downsample_pretrained_le_1mb"><code>InstaDeepAI/ntv3_8M_7downsample_pretrained_le_1mb</code></a></div>
<div><a href="https://huggingface.co/InstaDeepAI/ntv3_106M_7downsample_pretrained_le_1mb"><code>InstaDeepAI/ntv3_106M_7downsample_pretrained_le_1mb</code></a></div>
<div><a href="https://huggingface.co/InstaDeepAI/ntv3_650M_7downsample_pretrained_le_1mb"><code>InstaDeepAI/ntv3_650M_7downsample_pretrained_le_1mb</code></a></div>
</div>
</li>
<li>Post-trained checkpoints:
<div style="margin-top: 8px; margin-left: 0;">
<div><a href="https://huggingface.co/InstaDeepAI/ntv3_650M_7downsample_post_trained_1mb"><code>InstaDeepAI/ntv3_650M_7downsample_post_trained_1mb</code></a></div>
<div><a href="https://huggingface.co/InstaDeepAI/ntv3_106M_7downsample_post_trained_1mb"><code>InstaDeepAI/ntv3_106M_7downsample_post_trained_1mb</code></a></div>
</div>
</li>
</ul>
</div>
<div class="card">
<h2>Model usage (to update)</h2>
<p>Here is a quick example of how to use NTv3 models.</p>
<div class="code"><code>from transformers import pipeline
pipe = pipeline(
task="ntv3-tracks",
model="InstaDeepAI/ntv3_106M_7downsample_post_trained_1mb",
trust_remote_code=True,
device="cuda",
torch_dtype=torch.bfloat16,
)</code></div>
</div>
<div class="card">
<h2>Links</h2>
<ul>
<li>Paper: (add link)</li>
<li><a href="https://github.com/instadeepai/nucleotide-transformer">JAX training code</a></li>
</ul>
</div>
</div>
<p class="footer">
© instadeep-ai — NTv3 companion Space.
</p>
</div>
</body>
</html>
|