Skip to content

Commit e4542e1

Browse files
updated numbers on tokenizer and improved profile
1 parent 631ca61 commit e4542e1

4 files changed

Lines changed: 35 additions & 11 deletions

File tree

‎images/tobias.png‎

272 KB
Loading

‎lectures/lec_01_introduction.qmd‎

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,19 @@ format:
1111

1212
# [About this Course]{.flow} {.title}
1313

14-
## About me
15-
16-
:::{.incremental}
17-
- **Field:** Optimizing and simulating complex systems
18-
- **Languages:** of choice: Julia, Python and Rust
19-
- **Interest:** Modeling, Simulations, Machine Learning
20-
- **Teaching:** OR, Algorithms, and Programming
21-
- **Contact:** [vlcek@beyondsimulations.com](mailto:vlcek@beyondsimulations.com)
14+
## About Me
15+
16+
::: {.columns}
17+
::: {.column width="25%"}
18+
![](../images/tobias.png){width=3.125in style="display:block;margin:auto;" fig-alt="Portrait photo of the lecturer, Dr. Tobias Vlćek, smiling, with glasses and a dark blazer."}
19+
:::
20+
::: {.column width="75%"}
21+
- **Field:** Optimizing & simulating complex systems
22+
- **Languages of choice:** Julia, Python and Rust
23+
- **Interests:** Modeling, simulations, machine learning
24+
- **Teaching:** OR, algorithms, programming & mathematics
25+
- **More:** [tobiasvlcek.com](https://tobiasvlcek.com)
26+
:::
2227
:::
2328

2429
. . .

‎lectures/lec_06_modules.qmd‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The course chatbot and every AI tool you will use run on one:
7474

7575
- Text is broken into [tokens]{.highlight}, chunks of text mapped to numbers
7676
- Common words are one token; rarer words split into pieces: "un-", "break", "-able"
77-
- The Mistral models we use have a vocabulary of about **1,000,000** different tokens
77+
- The Mistral models we use have a vocabulary of about **131,000** different tokens
7878
- That is also why famous models fail at "count the r's in *strawberry*": they see a token like `straw` plus a token like `berry`, never the letters
7979

8080
## It guesses the next token

‎styles.scss‎

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ $lec-code-inline: #4B7282 !default; // 4.61:1
6969

7070
// Quarto's slide grey ($text-muted, body colour lightened 30 %: #7C8998) is
7171
// 3.51:1 on the page ground. Footer, slide number, slide blockquotes and
72-
// asides take a darker grey.
73-
$lec-slide-muted: #697480 !default; // 4.70:1 / 4.60:1 on #FCFBF8
72+
// asides take a darker grey. It has to hold on the section slides too, which
73+
// sit on `codeline`: #697480 was 4.70:1 on the page and 4.21:1 there.
74+
$lec-slide-muted: #646C76 !default; // page 5.24:1 / 5.14:1, codeline 4.71:1 / 4.63:1
7475

7576
// ── Callouts ──────────────────────────────────────────────────────────────
7677
$lec-callout-note: #FCCF9C !default; // = oneLight
@@ -613,6 +614,24 @@ body.quarto-light {
613614
color: $lec-slide-muted;
614615
}
615616

617+
// Footer and slide number while a `.loud-slide` is showing. Both belong to the
618+
// deck, not to the slide, so the slide's colours never reached them: the grey
619+
// above is 1.08:1 on the accent ground and the link red 1.68:1. They take the
620+
// slide's own light text colour, 4.36:1, the most this ground allows. A slide
621+
// in a stack that is not showing keeps its `.present`, so the stack is checked
622+
// as well. The printed deck gets the same from create_pdf.py (`on-dark-bg`).
623+
.reveal:has(.slides > section.present.loud-slide,
624+
.slides > section.present > section.present.loud-slide) {
625+
.footer, .footer a:any-link, .slide-number {
626+
color: $brand-lighter;
627+
}
628+
// The menu icon is an SVG with the link red painted in (1.68:1 here), so
629+
// `color` does not reach it; the filter turns it white.
630+
.slide-menu-button .fa-bars::before {
631+
filter: brightness(0) invert(1);
632+
}
633+
}
634+
616635
// Document pages without a TOC (quizzes, exams with `toc: false`) get Quarto's
617636
// `fullcontent` grid, which drops the right margin column and centres the body,
618637
// so the text jumps right compared with every page that has a TOC. Give those

0 commit comments

Comments
 (0)