We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 934149d commit b395985Copy full SHA for b395985
content/course/NLP/04_word2vec/index.qmd
@@ -304,7 +304,10 @@ Vous pouvez essayer de faire vous-même les nuages ci-dessous
304
ou cliquer sur la ligne ci-dessous pour afficher le code ayant
305
généré les figures :
306
307
-{{< spoiler text="Cliquer pour afficher le code" >}}
+::: {.cell .markdown}
308
+```{=html}
309
+<details><summary><code>Cliquer pour afficher le code</code> 👇</summary>
310
+```
311
312
```{python}
313
def plot_top_words(initials, ax, n_words=20):
@@ -336,8 +339,11 @@ plot_top_words('HPL', ax = axs[1])
336
339
plot_top_words('MWS', ax = axs[2])
337
340
```
338
341
342
343
+</details>
344
345
+:::
346
-{{< /spoiler >}}
347
348
349
#| eval: false
0 commit comments