Update README.md
Browse files
README.md
CHANGED
|
@@ -3,7 +3,7 @@ license: apache-2.0
|
|
| 3 |
---
|
| 4 |
# Instinct-1-1B
|
| 5 |
|
| 6 |
-
*Instinct-1-1B is a fully reproducible, from-scratch trained 1B parameter language model trained on
|
| 7 |
|
| 8 |
**Instinct-1-1B** is a 1 Billion parameter Large Language Model built from scratch under the **AutonomousX** organization.
|
| 9 |
|
|
@@ -27,6 +27,8 @@ This model was developed by **Rohit Yadav**, a **B.Tech 3rd year student from NI
|
|
| 27 |
|
| 28 |
Validation was performed using **rolling validation shards of the dataset**.
|
| 29 |
|
|
|
|
|
|
|
| 30 |
---
|
| 31 |
|
| 32 |
## Architecture Details
|
|
@@ -55,7 +57,7 @@ Training pipeline includes:
|
|
| 55 |
* Checkpointing and validation during training
|
| 56 |
* Rolling validation shard evaluation
|
| 57 |
|
| 58 |
-
The model was trained on **85B tokens**
|
| 59 |
|
| 60 |
---
|
| 61 |
|
|
@@ -250,40 +252,122 @@ output_ids = generate(params, input_ids, 200)
|
|
| 250 |
print("\n=== GENERATED TEXT ===\n")
|
| 251 |
print(tokenizer.decode(output_ids[0].tolist()))
|
| 252 |
```
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
---
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 263 |
Dr. B.R. Ambedkar National Institute of Technology (NIT) Jalandhar, India
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 264 |
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
*Github: https://github.com/YADAV1825*
|
| 270 |
-
|
| 271 |
-
Research interests include:
|
| 272 |
-
|
| 273 |
-
* Large Language Models
|
| 274 |
-
* MultiModal Pipelines
|
| 275 |
-
* Systems Programming
|
| 276 |
-
* AI Infrastructure
|
| 277 |
-
* Distributed Training
|
| 278 |
-
|
| 279 |
-
---
|
| 280 |
-
|
| 281 |
-
## Organization
|
| 282 |
|
| 283 |
-
|
|
|
|
|
|
|
|
|
|
| 284 |
|
| 285 |
-
|
|
|
|
|
|
|
| 286 |
|
| 287 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 288 |
|
| 289 |
-
|
|
|
|
| 3 |
---
|
| 4 |
# Instinct-1-1B
|
| 5 |
|
| 6 |
+
*Instinct-1-1B is a fully reproducible, from-scratch trained 1B parameter language model trained on 20B tokens of PILE using TPU v4 infrastructure.*
|
| 7 |
|
| 8 |
**Instinct-1-1B** is a 1 Billion parameter Large Language Model built from scratch under the **AutonomousX** organization.
|
| 9 |
|
|
|
|
| 27 |
|
| 28 |
Validation was performed using **rolling validation shards of the dataset**.
|
| 29 |
|
| 30 |
+

|
| 31 |
+
|
| 32 |
---
|
| 33 |
|
| 34 |
## Architecture Details
|
|
|
|
| 57 |
* Checkpointing and validation during training
|
| 58 |
* Rolling validation shard evaluation
|
| 59 |
|
| 60 |
+
The model was trained on **20B tokens** and it's is a checkpoint of final version trained on **85B tokens** in total
|
| 61 |
|
| 62 |
---
|
| 63 |
|
|
|
|
| 252 |
print("\n=== GENERATED TEXT ===\n")
|
| 253 |
print(tokenizer.decode(output_ids[0].tolist()))
|
| 254 |
```
|
| 255 |
+
<div id="autonomousx-profile-sections" style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; width: 100%; display: flex; flex-direction: column; gap: 24px; margin: 30px 0;">
|
| 256 |
+
|
| 257 |
+
<style>
|
| 258 |
+
#autonomousx-profile-sections * { box-sizing: border-box; }
|
| 259 |
+
|
| 260 |
+
.ax-card {
|
| 261 |
+
position: relative;
|
| 262 |
+
overflow: hidden;
|
| 263 |
+
width: 100%;
|
| 264 |
+
padding: 25px;
|
| 265 |
+
border-radius: 12px;
|
| 266 |
+
border: 1px solid #e5e7eb;
|
| 267 |
+
background: #ffffff;
|
| 268 |
+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
|
| 269 |
+
text-align: left;
|
| 270 |
+
}
|
| 271 |
+
|
| 272 |
+
@keyframes diagonalShimmer {
|
| 273 |
+
0% { transform: translateX(-150%) skewX(-15deg); }
|
| 274 |
+
50% { transform: translateX(150%) skewX(-15deg); }
|
| 275 |
+
100% { transform: translateX(150%) skewX(-15deg); }
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
+
.ax-card::before {
|
| 279 |
+
content: "";
|
| 280 |
+
position: absolute;
|
| 281 |
+
top: 0;
|
| 282 |
+
left: 0;
|
| 283 |
+
width: 100%;
|
| 284 |
+
height: 100%;
|
| 285 |
+
background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(139, 92, 246, 0.05) 40%, rgba(236, 72, 153, 0.1) 50%, rgba(139, 92, 246, 0.05) 60%, rgba(255, 255, 255, 0) 100%);
|
| 286 |
+
animation: diagonalShimmer 5s infinite ease-in-out;
|
| 287 |
+
pointer-events: none;
|
| 288 |
+
z-index: 1;
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
.ax-card-content { position: relative; z-index: 2; }
|
| 292 |
+
|
| 293 |
+
.ax-card h1 { margin: 0 0 4px 0; font-size: 14px; color: #6b7280; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
|
| 294 |
+
.ax-card h2 { margin: 0 0 16px 0; font-size: 32px; color: #8b5cf6; font-weight: 800; letter-spacing: -0.5px; }
|
| 295 |
+
|
| 296 |
+
/* The new dark interior box */
|
| 297 |
+
.ax-dark-box {
|
| 298 |
+
background: #0f172a;
|
| 299 |
+
color: #e2e8f0;
|
| 300 |
+
padding: 20px;
|
| 301 |
+
border-radius: 8px;
|
| 302 |
+
margin-top: 15px;
|
| 303 |
+
border: 1px solid #1e293b;
|
| 304 |
+
}
|
| 305 |
+
|
| 306 |
+
.ax-dark-box p { margin: 0 0 12px 0; font-size: 15px; line-height: 1.6; }
|
| 307 |
+
.ax-dark-box a { color: #a78bfa; text-decoration: none; font-weight: 600; }
|
| 308 |
+
.ax-dark-box a:hover { color: #d946ef; text-decoration: underline; }
|
| 309 |
+
|
| 310 |
+
.ax-icon { margin-right: 8px; font-style: normal; }
|
| 311 |
+
.ax-highlight-text { color: #f472b6; font-weight: 700; }
|
| 312 |
+
|
| 313 |
+
.ax-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
|
| 314 |
+
.ax-badge { background: #1e293b; color: #cbd5e1; padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; border: 1px solid #334155; }
|
| 315 |
+
</style>
|
| 316 |
+
|
| 317 |
+
<div class="ax-card">
|
| 318 |
+
<div class="ax-card-content">
|
| 319 |
+
<h1>Author</h1>
|
| 320 |
+
<h2>Rohit Yadav</h2>
|
| 321 |
+
|
| 322 |
+
<div class="ax-dark-box">
|
| 323 |
+
<p>
|
| 324 |
+
<strong>B.Tech 3rd Year</strong><br>
|
| 325 |
Dr. B.R. Ambedkar National Institute of Technology (NIT) Jalandhar, India
|
| 326 |
+
</p>
|
| 327 |
+
|
| 328 |
+
<p>
|
| 329 |
+
<span class="ax-icon">📧</span> E-mail: <a href="mailto:yrohit1825@gmail.com">yrohit1825@gmail.com</a><br>
|
| 330 |
+
<span class="ax-icon">🔗</span> LinkedIn: <a href="https://www.linkedin.com/in/rohit-yadav-25535b256/" target="_blank">Rohit Yadav</a><br>
|
| 331 |
+
<span class="ax-icon">💻</span> Github: <a href="https://github.com/YADAV1825" target="_blank">YADAV1825</a>
|
| 332 |
+
</p>
|
| 333 |
+
|
| 334 |
+
<p class="ax-highlight-text" style="margin-top: 16px;">
|
| 335 |
+
🚀 I am actively seeking Internships and Collaborations!
|
| 336 |
+
</p>
|
| 337 |
+
|
| 338 |
+
<div style="margin-top: 20px;">
|
| 339 |
+
<h3 style="font-size: 13px; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 10px 0;">Research Interests</h3>
|
| 340 |
+
<div class="ax-badges">
|
| 341 |
+
<span class="ax-badge">Large Language Models</span>
|
| 342 |
+
<span class="ax-badge">MultiModal Pipelines</span>
|
| 343 |
+
<span class="ax-badge">Systems Programming</span>
|
| 344 |
+
<span class="ax-badge">AI Infrastructure</span>
|
| 345 |
+
<span class="ax-badge">Distributed Training</span>
|
| 346 |
+
</div>
|
| 347 |
+
</div>
|
| 348 |
+
</div>
|
| 349 |
+
</div>
|
| 350 |
+
</div>
|
| 351 |
|
| 352 |
+
<div class="ax-card">
|
| 353 |
+
<div class="ax-card-content">
|
| 354 |
+
<h1>Organization</h1>
|
| 355 |
+
<h2 style="color: #3b82f6;">AutonomousX</h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 356 |
|
| 357 |
+
<div class="ax-dark-box">
|
| 358 |
+
<p>
|
| 359 |
+
<strong>AutonomousX</strong> focuses on open-source contributions aimed at building Large Language Models from scratch using custom training pipelines.
|
| 360 |
+
</p>
|
| 361 |
|
| 362 |
+
<p>
|
| 363 |
+
Our work explores different training configurations including optimizers, datasets, and scalable TPU training using <strong>JAX and pmap</strong>. The goal is to provide transparent and reproducible implementations so that researchers, students, and developers can understand how modern LLMs are trained end-to-end.
|
| 364 |
+
</p>
|
| 365 |
|
| 366 |
+
<p style="margin-bottom: 0;">
|
| 367 |
+
Due to the current scarcity of complete beginner-friendly guides for training LLMs on TPUs, especially using JAX, AutonomousX aims to bridge this gap by publishing full training pipelines, scripts, and documentation for the open-source community.
|
| 368 |
+
</p>
|
| 369 |
+
</div>
|
| 370 |
+
</div>
|
| 371 |
+
</div>
|
| 372 |
|
| 373 |
+
</div>
|