-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodel_taxonomy3.html
More file actions
1280 lines (1151 loc) · 39.9 KB
/
model_taxonomy3.html
File metadata and controls
1280 lines (1151 loc) · 39.9 KB
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GenAI Model Taxonomy Playground</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
:root {
font-size: 16px;
--bg: #f7f8fb;
--navy: #13294b;
--navy-soft: #1f3d7a;
--orange: #e84a27;
--panel: #ffffff;
--panel-border: rgba(19, 41, 75, 0.12);
--panel-shadow: 0 18px 40px rgba(19, 41, 75, 0.08);
--text: #1f2933;
--muted: #5f6c80;
--accent-soft: rgba(232, 74, 39, 0.1);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Lexend', system-ui, sans-serif;
background: linear-gradient(180deg, var(--bg) 0%, #eef1f7 100%);
color: var(--text);
min-height: 100vh;
display: flex;
flex-direction: column;
}
header {
padding: 2.75rem 5vw 2.5rem;
display: grid;
gap: 1.1rem;
background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 65%, #1d478b 100%);
color: #f7f9ff;
position: relative;
overflow: hidden;
}
header p {
color: rgba(247, 249, 255, 0.82);
}
header::after {
content: "";
position: absolute;
inset: 15% 15% auto;
height: 200px;
background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 65%);
filter: blur(45px);
z-index: 0;
}
header > * {
position: relative;
z-index: 1;
}
h1 {
font-size: clamp(2.4rem, 4vw + 1.2rem, 4rem);
margin: 0;
line-height: 1.05;
letter-spacing: -0.02em;
}
h2 {
font-size: 1.6rem;
margin-bottom: 0.35rem;
color: var(--navy);
}
p {
margin: 0;
color: var(--muted);
line-height: 1.6;
}
main {
padding: 0 5vw 5rem;
display: grid;
gap: 2rem;
}
.pill-tray {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-top: 0.75rem;
}
.tag-pill {
background: rgba(255, 255, 255, 0.2);
color: #f7f9ff;
border-radius: 999px;
padding: 0.4rem 0.85rem;
font-size: 0.9rem;
display: inline-flex;
align-items: center;
gap: 0.35rem;
border: 1px solid rgba(255, 255, 255, 0.3);
}
.tag-pill svg {
width: 1rem;
height: 1rem;
stroke-width: 1.5;
}
.panel {
background: var(--panel);
border-radius: 22px;
padding: 1.9rem;
border: 1px solid var(--panel-border);
box-shadow: var(--panel-shadow);
position: relative;
overflow: hidden;
}
.panel h2 {
margin-top: 0;
}
.panel-grid {
display: grid;
gap: 1.8rem;
}
@media (min-width: 1200px) {
.panel-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
.gallery-grid {
display: grid;
gap: 1.2rem;
}
@media (min-width: 900px) {
.gallery-grid {
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
}
.model-card {
background: #fefefe;
border: 1px solid rgba(19, 41, 75, 0.12);
padding: 1.3rem;
border-radius: 18px;
display: grid;
gap: 0.85rem;
position: relative;
min-height: 220px;
box-shadow: 0 16px 30px rgba(19, 41, 75, 0.08);
}
.model-card::after {
content: attr(data-year);
position: absolute;
top: 1rem;
right: 1rem;
font-size: 0.85rem;
color: var(--navy);
background: rgba(19, 41, 75, 0.08);
padding: 0.35rem 0.6rem;
border-radius: 999px;
}
.model-card h3 {
margin: 0;
font-size: 1.2rem;
letter-spacing: -0.01em;
color: var(--navy);
}
.model-card ul {
margin: 0;
padding-left: 1.1rem;
color: var(--muted);
font-size: 0.95rem;
}
.filters {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin: 1rem 0 1.5rem;
}
.filter-chip {
border: 1px solid rgba(19, 41, 75, 0.18);
padding: 0.45rem 0.85rem;
border-radius: 12px;
background: rgba(19, 41, 75, 0.04);
cursor: pointer;
transition: all 0.2s ease;
font-size: 0.92rem;
color: var(--navy);
}
.filter-chip.active {
background: rgba(232, 74, 39, 0.12);
color: var(--orange);
border-color: rgba(232, 74, 39, 0.35);
box-shadow: 0 8px 18px rgba(232, 74, 39, 0.2);
}
.controls {
display: grid;
gap: 1.4rem;
}
@media (min-width: 900px) {
.controls {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
.control-card {
background: rgba(19, 41, 75, 0.04);
border: 1px solid var(--panel-border);
padding: 1.2rem 1.35rem;
border-radius: 16px;
display: grid;
gap: 0.85rem;
}
.control-card strong {
font-weight: 600;
color: var(--navy);
}
.control-card label {
font-size: 0.92rem;
color: var(--muted);
}
select, input[type="range"] {
width: 100%;
padding: 0.65rem;
border-radius: 12px;
border: 1px solid rgba(19, 41, 75, 0.25);
background: #f8f9fb;
color: var(--text);
font-family: inherit;
}
.range-value {
font-weight: 600;
font-size: 1.05rem;
color: var(--navy);
}
.lineage-path {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
align-items: center;
margin-top: 0.5rem;
}
.lineage-node {
padding: 0.4rem 0.7rem;
border-radius: 999px;
background: rgba(19, 41, 75, 0.08);
border: 1px solid rgba(19, 41, 75, 0.18);
font-size: 0.9rem;
color: var(--navy);
}
.lineage-node.current {
background: rgba(232, 74, 39, 0.14);
color: var(--orange);
font-weight: 600;
border-color: rgba(232, 74, 39, 0.4);
}
.arrow {
color: rgba(19, 41, 75, 0.4);
font-size: 1rem;
}
.term-grid {
display: grid;
gap: 1.2rem;
}
@media (min-width: 1000px) {
.term-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
.term-card {
background: #f8f9fb;
border: 1px solid rgba(19, 41, 75, 0.12);
padding: 1.1rem;
border-radius: 16px;
position: relative;
overflow: hidden;
box-shadow: 0 12px 24px rgba(19, 41, 75, 0.08);
}
.term-card::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(232, 74, 39, 0.08), transparent 60%);
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
.term-card:hover::before {
opacity: 1;
}
.term-card h3 {
margin-top: 0;
margin-bottom: 0.35rem;
color: var(--navy);
}
.term-card p {
font-size: 0.95rem;
color: var(--muted);
}
.term-card .tip {
margin-top: 0.75rem;
font-size: 0.82rem;
color: var(--orange);
display: inline-block;
border: 1px solid rgba(232, 74, 39, 0.35);
padding: 0.35rem 0.6rem;
border-radius: 999px;
background: rgba(232, 74, 39, 0.08);
}
.scenario-pills {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
}
.scenario-pill {
border-radius: 999px;
border: 1px solid rgba(19, 41, 75, 0.18);
background: rgba(19, 41, 75, 0.05);
color: var(--navy);
padding: 0.5rem 1.1rem;
cursor: pointer;
transition: all 0.2s ease;
font-size: 0.95rem;
}
.scenario-pill.active {
background: rgba(232, 74, 39, 0.14);
color: var(--orange);
box-shadow: 0 10px 20px rgba(232, 74, 39, 0.18);
border-color: rgba(232, 74, 39, 0.35);
font-weight: 600;
}
.scenario-content {
margin-top: 1.1rem;
display: grid;
gap: 0.9rem;
}
.scenario-content ul {
margin: 0;
padding-left: 1.1rem;
color: var(--muted);
font-size: 0.95rem;
}
.scenario-highlight {
font-size: 1rem;
color: var(--orange);
background: rgba(232, 74, 39, 0.1);
padding: 0.75rem 1rem;
border-radius: 12px;
border: 1px solid rgba(232, 74, 39, 0.28);
}
.tab-header {
display: flex;
flex-direction: column;
gap: 1rem;
}
@media (min-width: 900px) {
.tab-header {
flex-direction: row;
align-items: flex-end;
justify-content: space-between;
}
}
.tab-intro {
margin: 0.4rem 0 0;
color: rgba(19, 41, 75, 0.75);
}
.tab-buttons {
display: flex;
gap: 0.6rem;
flex-wrap: wrap;
}
.tab-button {
border: 1px solid rgba(19, 41, 75, 0.18);
background: #ffffff;
color: var(--navy);
border-radius: 999px;
padding: 0.55rem 1.1rem;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
}
.tab-button.active {
background: var(--navy);
color: #ffffff;
border-color: var(--navy);
box-shadow: 0 12px 24px rgba(19, 41, 75, 0.18);
}
.tab-content {
display: none;
margin-top: 1.5rem;
}
.tab-content.active {
display: block;
}
.tab-description {
margin-bottom: 1.25rem;
color: var(--muted);
}
.drag-drop-container {
display: grid;
gap: 1.5rem;
}
@media (min-width: 1000px) {
.drag-drop-container {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
.draggable-list,
.dropzone-list {
display: grid;
gap: 0.75rem;
}
.drag-item {
padding: 0.6rem 0.9rem;
border-radius: 12px;
border: 1px solid rgba(19, 41, 75, 0.18);
background: #ffffff;
box-shadow: 0 10px 22px rgba(19, 41, 75, 0.1);
cursor: grab;
font-weight: 600;
color: var(--navy);
user-select: none;
}
.drag-item:active {
cursor: grabbing;
}
.drag-item.assigned {
opacity: 0.4;
cursor: not-allowed;
}
.dropzone {
border: 2px dashed rgba(19, 41, 75, 0.2);
border-radius: 14px;
padding: 0.9rem 1rem;
background: rgba(19, 41, 75, 0.05);
min-height: 96px;
display: grid;
gap: 0.45rem;
transition: border-color 0.2s ease, background 0.2s ease;
}
.dropzone strong {
color: var(--navy);
font-size: 0.95rem;
}
.dropzone p {
margin: 0;
font-size: 0.9rem;
color: var(--muted);
}
.drop-placeholder {
font-style: italic;
color: rgba(19, 41, 75, 0.55);
}
.dropzone.filled {
border-style: solid;
border-color: rgba(232, 74, 39, 0.35);
background: rgba(232, 74, 39, 0.08);
}
.dropzone.drag-over {
border-color: var(--navy);
background: rgba(19, 41, 75, 0.12);
}
.dropzone.correct {
border-color: rgba(36, 148, 79, 0.6);
background: rgba(36, 148, 79, 0.12);
}
.dropzone.incorrect {
border-color: rgba(232, 74, 39, 0.6);
background: rgba(232, 74, 39, 0.15);
}
.check-button {
margin-top: 1.5rem;
padding: 0.7rem 1.45rem;
border-radius: 12px;
border: none;
background: var(--navy);
color: #ffffff;
font-weight: 600;
cursor: pointer;
transition: background 0.2s ease, transform 0.2s ease;
}
.check-button:hover {
background: #0f1e3b;
transform: translateY(-1px);
}
.match-feedback {
margin-top: 1rem;
font-weight: 600;
color: var(--navy);
}
footer {
padding: 2rem 5vw 3rem;
color: var(--muted);
font-size: 0.9rem;
text-align: center;
border-top: 1px solid rgba(19, 41, 75, 0.12);
background: rgba(255, 255, 255, 0.6);
}
a {
color: var(--orange);
}
</style>
</head>
<body>
<header>
<h1>GenAI Model Taxonomy Playground</h1>
<p>Explore the ecosystems, training recipes, architectures, and lineages that shape today's generative AI landscape. Mix and match filters, follow family trees, and translate technical terminology into practical classroom language.</p>
<div class="pill-tray">
<span class="tag-pill">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M12 6v6l4 2" />
</svg>
Timeline Explorer
</span>
<span class="tag-pill">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M4 6h16M4 12h10M4 18h7" />
</svg>
Taxonomy Filters
</span>
<span class="tag-pill">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M5 12l5 5L20 7" />
</svg>
Classroom Scenarios
</span>
<span class="tag-pill">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M12 2l7 7-7 7-7-7 7-7z" />
</svg>
Lineage Visualizer
</span>
</div>
</header>
<main>
<section class="panel">
<h2>Interactive Model Gallery</h2>
<p>Activate filters from any taxonomy dimension to watch the gallery reorganize in real time. This helps students see how the same model can be categorized through training strategy, architecture, or organizational lineage.</p>
<div class="filters" id="filters"></div>
<div class="gallery-grid" id="gallery"></div>
</section>
<section class="panel-grid">
<section class="panel">
<h2>Control Deck</h2>
<div class="controls">
<div class="control-card">
<strong>Model Lineage Explorer</strong>
<label for="lineage-select">Choose a model to view its ancestry and successors.</label>
<select id="lineage-select"></select>
<div class="lineage-path" id="lineage-path"></div>
</div>
<div class="control-card">
<strong>Release Timeline</strong>
<label for="timeline-slider">Slide to focus on models released through a specific year.</label>
<input type="range" id="timeline-slider" min="2017" max="2025" value="2025" />
<div class="range-value">Showing models released up to <span id="timeline-value">2025</span></div>
</div>
</div>
</section>
<section class="panel">
<h2>Scenario Composer</h2>
<p>Pick a classroom scenario to surface the most relevant model traits and conversation starters. Each option offers quick prompts for educators to ground jargon in practical use cases.</p>
<div class="scenario-pills" id="scenario-pills"></div>
<div class="scenario-content" id="scenario-content"></div>
</section>
</section>
<section class="panel">
<div class="tab-header">
<div>
<h2>Learning Activities</h2>
<p class="tab-intro">Choose an activity to help learners connect terminology with real-world reasoning tasks.</p>
</div>
<div class="tab-buttons">
<button class="tab-button active" data-tab="terminology">Terminology Playground</button>
<button class="tab-button" data-tab="model-match">Model Match Drag & Drop</button>
</div>
</div>
<div class="tab-content active" id="terminology-tab">
<p>Hover over a card to reveal design cues and analogies that make these technical ideas memorable for new AI explorers.</p>
<div class="term-grid" id="term-grid"></div>
</div>
<div class="tab-content" id="model-match-tab">
<p class="tab-description">Drag the model name that best matches each classroom-friendly hint. Click a hint to clear it if you want to try again.</p>
<div class="drag-drop-container">
<div class="draggable-list" id="model-draggables" aria-label="Model names to drag"></div>
<div class="dropzone-list" id="model-dropzones" aria-label="Drop targets with hints"></div>
</div>
<button class="check-button" id="check-matches">Check my matches</button>
<div class="match-feedback" id="match-feedback"></div>
</div>
</section>
</main>
<footer>
Designed to help students and educators build intuition about generative AI systems. Updated May 2024. Crafted by the CITL innovation sandbox.
</footer>
<script>
const models = [
{
name: 'GPT-4o',
family: 'OpenAI GPT',
architecture: 'Decoder Transformer',
training: ['Supervised Fine-Tuning', 'Reinforcement Learning from Human Feedback', 'Multimodal Alignment'],
frameworks: ['OpenAI API', 'Azure OpenAI'],
releaseYear: 2024,
lineage: ['GPT-1', 'GPT-2', 'GPT-3', 'GPT-4', 'GPT-4o'],
spotlight: 'Balanced for reasoning, tutoring, and multimodal storytelling.'
},
{
name: 'GPT-3.5',
family: 'OpenAI GPT',
architecture: 'Decoder Transformer',
training: ['Supervised Fine-Tuning', 'Reinforcement Learning from Human Feedback'],
frameworks: ['OpenAI API', 'Azure OpenAI'],
releaseYear: 2022,
lineage: ['GPT-1', 'GPT-2', 'GPT-3', 'GPT-3.5'],
spotlight: 'Fast response model ideal for brainstorming and formative feedback.'
},
{
name: 'Claude 3 Opus',
family: 'Anthropic Claude',
architecture: 'Constitutional Transformer',
training: ['Constitutional AI', 'Contrastive Preference Optimization'],
frameworks: ['Anthropic Console', 'Amazon Bedrock'],
releaseYear: 2024,
lineage: ['Claude 1', 'Claude 2', 'Claude 3', 'Claude 3 Opus'],
spotlight: 'Excels at safety-sensitive tutoring and long-form reasoning.'
},
{
name: 'Claude 3 Haiku',
family: 'Anthropic Claude',
architecture: 'Constitutional Transformer',
training: ['Constitutional AI', 'Contrastive Preference Optimization'],
frameworks: ['Anthropic Console', 'Amazon Bedrock'],
releaseYear: 2024,
lineage: ['Claude 1', 'Claude 2', 'Claude 3 Haiku'],
spotlight: 'Lightweight and fast—great for on-the-fly classroom checks for understanding.'
},
{
name: 'Gemini 1.5 Pro',
family: 'Google Gemini',
architecture: 'Multimodal Mixture-of-Experts',
training: ['Distillation', 'Reinforcement Learning from Human Feedback'],
frameworks: ['Google AI Studio', 'Vertex AI'],
releaseYear: 2024,
lineage: ['PaLM', 'PaLM 2', 'Gemini 1.0', 'Gemini 1.5 Pro'],
spotlight: 'Powerful multimodal reasoning across text, images, and video.'
},
{
name: 'Gemini 1.5 Flash',
family: 'Google Gemini',
architecture: 'Multimodal Mixture-of-Experts',
training: ['Distillation', 'Reinforcement Learning from Human Feedback'],
frameworks: ['Google AI Studio', 'Vertex AI'],
releaseYear: 2024,
lineage: ['PaLM', 'PaLM 2', 'Gemini 1.0', 'Gemini 1.5 Flash'],
spotlight: 'Optimized for cost-efficient classroom pilots and rapid prototyping.'
},
{
name: 'Llama 3 70B',
family: 'Meta Llama',
architecture: 'Decoder Transformer',
training: ['Supervised Fine-Tuning', 'RLHF', 'Continual Pretraining'],
frameworks: ['Hugging Face', 'AWS Bedrock'],
releaseYear: 2024,
lineage: ['LLaMA 1', 'LLaMA 2', 'Llama 3 70B'],
spotlight: 'Open-weights option for institutions building bespoke tutors.'
},
{
name: 'Mistral Large',
family: 'Mistral AI',
architecture: 'Dense Transformer',
training: ['Instruction Tuning', 'Preference Optimization'],
frameworks: ['Mistral API', 'Azure AI Studio'],
releaseYear: 2024,
lineage: ['Mistral 7B', 'Mixtral 8x7B', 'Mistral Large'],
spotlight: 'European-born model with strong multilingual capabilities.'
},
{
name: 'Mixtral 8x7B',
family: 'Mistral AI',
architecture: 'Mixture-of-Experts Transformer',
training: ['Instruction Tuning', 'Sparse Activation Routing'],
frameworks: ['Hugging Face', 'Mistral API'],
releaseYear: 2023,
lineage: ['Mistral 7B', 'Mixtral 8x7B'],
spotlight: 'Hybrid approach combining efficiency with high quality responses.'
},
{
name: 'Stable Diffusion XL',
family: 'Stability AI',
architecture: 'Latent Diffusion',
training: ['Text-to-Image Alignment', 'Human-in-the-loop Curation'],
frameworks: ['ComfyUI', 'Hugging Face'],
releaseYear: 2023,
lineage: ['Stable Diffusion 1.4', 'Stable Diffusion 2.0', 'Stable Diffusion XL'],
spotlight: 'Image-first model illustrating how diffusion differs from transformers.'
},
{
name: 'DALL·E 3',
family: 'OpenAI DALL·E',
architecture: 'Diffusion-Transformer Hybrid',
training: ['Text-to-Image Alignment', 'Reinforcement Learning from Human Feedback'],
frameworks: ['OpenAI API', 'Microsoft Designer'],
releaseYear: 2023,
lineage: ['DALL·E', 'DALL·E 2', 'DALL·E 3'],
spotlight: 'Demonstrates how language-guided imagery expands beyond text-only models.'
}
];
const terminology = [
{
term: 'Model Family',
definition: 'A group of models sharing a core design philosophy, training data inheritance, or research team.',
analogy: 'Think of it as a franchise—each sequel adds new abilities but keeps the recognizable DNA.'
},
{
term: 'Architecture',
definition: 'The blueprint describing how a model processes information (transformer, diffusion, mixture-of-experts, etc.).',
analogy: 'Like deciding if your classroom is arranged in rows, pods, or a makerspace—it shapes how work flows.'
},
{
term: 'Training Strategy',
definition: 'The process that teaches the model how to behave, including supervised fine-tuning, RLHF, or constitutional AI.',
analogy: 'Professional development plans for AI: mentorship, coaching cycles, and ongoing refinement.'
},
{
term: 'Framework Ecosystem',
definition: 'Platforms and tools that provide access to the model, from APIs to hosted notebooks and cloud consoles.',
analogy: 'The learning management system and classroom tech stack supporting your instruction.'
},
{
term: 'Lineage',
definition: 'The family tree tracing which earlier models paved the way for a current release.',
analogy: 'A genealogy project for algorithms—spot the grandparent breakthroughs that changed the field.'
},
{
term: 'Multimodal',
definition: 'A capability where the model understands or generates more than text, such as images, audio, or video.',
analogy: 'Like a student presentation that mixes slides, storytelling, and live demos.'
},
{
term: 'Mixture-of-Experts',
definition: 'A technique that routes inputs to specialized subnetworks, combining their outputs for efficiency and accuracy.',
analogy: 'Inviting multiple specialists into a project-based class and calling on them only when needed.'
},
{
term: 'Constitutional AI',
definition: 'A training approach where models critique and refine their own responses using a written set of principles.',
analogy: 'Students using a rubric to peer review and revise their own work before submitting.'
},
{
term: 'Instruction Tuning',
definition: 'Fine-tuning on examples of good instructions and responses so the model follows directions more faithfully.',
analogy: 'Modeling “I do, we do, you do” for AI—plenty of exemplars before independent practice.'
}
];
const modelMatch = [
{
model: 'GPT-4o',
hint: 'OpenAI release that pairs extended context with audio and vision for lively tutoring demos.'
},
{
model: 'Claude 3 Haiku',
hint: 'Anthropic model tuned for fast, budget-friendly classroom checks for understanding.'
},
{
model: 'Llama 3 70B',
hint: 'Open-weight option from Meta that universities can fine-tune for campus-specific copilots.'
},
{
model: 'Gemini 1.5 Flash',
hint: 'Google multimodal tier designed for cost-efficient prototyping and quick multimedia responses.'
}
];
const scenarios = {
'Creative Writing Studio': {
highlight: 'Spotlight narrative-friendly models and talk about multimodal storytelling.',
recommendations: ['GPT-4o', 'Claude 3 Opus', 'DALL·E 3'],
conversation: [
'Compare how decoder transformers and diffusion models handle tone and imagery.',
'Discuss why RLHF matters for collaborative creative drafting.',
'Ask students to storyboard a multi-modal scene using text + visuals.'
]
},
'STEM Problem Solvers': {
highlight: 'Emphasize reasoning depth, tool use, and safety frameworks for lab scenarios.',
recommendations: ['Gemini 1.5 Pro', 'GPT-4o', 'Claude 3 Opus'],
conversation: [
'Contrast mixture-of-experts routing with dense transformer processing.',
'Explain how constitutional AI adds safety guardrails for lab simulations.',
'Explore how multimodal models interpret charts, diagrams, and code snippets.'
]
},
'Student Help Desk': {
highlight: 'Prioritize responsiveness, cost efficiency, and available deployment frameworks.',
recommendations: ['Claude 3 Haiku', 'GPT-3.5', 'Gemini 1.5 Flash'],
conversation: [
'Debate API vs. on-premise hosting using open models like Llama 3.',
'Discuss why distillation enables lighter models for quick answers.',
'Have students design escalation flow for tricky questions.'
]
},
'Makerspace & Robotics': {
highlight: 'Connect open-weight models with customization potential and hardware integrations.',
recommendations: ['Llama 3 70B', 'Mixtral 8x7B', 'Stable Diffusion XL'],
conversation: [
'Compare licensing implications of open vs. closed families.',
'Map how instruction tuning and fine-tuning differ for hands-on projects.',
'Prototype a vision + language workflow for robotics narration.'
]
}
};
const filters = document.getElementById('filters');
const gallery = document.getElementById('gallery');
const timelineSlider = document.getElementById('timeline-slider');
const timelineValue = document.getElementById('timeline-value');
const lineageSelect = document.getElementById('lineage-select');
const lineagePath = document.getElementById('lineage-path');
const scenarioPills = document.getElementById('scenario-pills');
const scenarioContent = document.getElementById('scenario-content');
const termGrid = document.getElementById('term-grid');
const tabButtons = document.querySelectorAll('.tab-button');
const tabContents = document.querySelectorAll('.tab-content');
const draggableList = document.getElementById('model-draggables');
const dropzoneList = document.getElementById('model-dropzones');
const checkMatchesButton = document.getElementById('check-matches');
const matchFeedback = document.getElementById('match-feedback');
let dropzoneElements = [];
let activeDragModel = '';
const filterDimensions = {
Family: models.map(m => m.family),
Architecture: models.map(m => m.architecture),
Training: models.flatMap(m => m.training),
Framework: models.flatMap(m => m.frameworks)
};
const uniqueValues = {};
Object.entries(filterDimensions).forEach(([dimension, values]) => {
uniqueValues[dimension] = [...new Set(values)].sort();
});
const activeFilters = {
Family: new Set(),
Architecture: new Set(),
Training: new Set(),
Framework: new Set()
};
function createFilterChips() {
Object.entries(uniqueValues).forEach(([dimension, values]) => {
const groupLabel = document.createElement('div');
groupLabel.innerHTML = `<strong>${dimension}</strong>`;
groupLabel.style.width = '100%';
filters.appendChild(groupLabel);
values.forEach(value => {
const chip = document.createElement('button');
chip.className = 'filter-chip';
chip.textContent = value;
chip.dataset.dimension = dimension;
chip.dataset.value = value;
chip.addEventListener('click', () => toggleFilter(chip));
filters.appendChild(chip);
});
});
}
function toggleFilter(chip) {
const { dimension, value } = chip.dataset;
const set = activeFilters[dimension];
if (set.has(value)) {
set.delete(value);
chip.classList.remove('active');
} else {
set.add(value);
chip.classList.add('active');
}
renderGallery();
}
function matchesFilters(model) {
return Object.entries(activeFilters).every(([dimension, selected]) => {
if (selected.size === 0) return true;
if (dimension === 'Family') return selected.has(model.family);
if (dimension === 'Architecture') return selected.has(model.architecture);
if (dimension === 'Training') return model.training.some(t => selected.has(t));
if (dimension === 'Framework') return model.frameworks.some(f => selected.has(f));
return true;
});
}
function renderGallery() {
const cutoff = parseInt(timelineSlider.value, 10);
gallery.innerHTML = '';
models
.filter(model => model.releaseYear <= cutoff)
.filter(matchesFilters)
.sort((a, b) => b.releaseYear - a.releaseYear)
.forEach(model => {
const card = document.createElement('article');
card.className = 'model-card';
card.dataset.year = model.releaseYear;
card.innerHTML = `
<h3>${model.name}</h3>
<p>${model.spotlight}</p>
<ul>
<li><strong>Family</strong>: ${model.family}</li>
<li><strong>Architecture</strong>: ${model.architecture}</li>
<li><strong>Training</strong>: ${model.training.join(', ')}</li>
<li><strong>Frameworks</strong>: ${model.frameworks.join(', ')}</li>
</ul>
`;
gallery.appendChild(card);
});