%%html
<script>
function code_toggle() {
if (code_shown){
$('div.input').hide('500');
$('#toggleButton').val('Show Code')
} else {
$('div.input').show('500');
$('#toggleButton').val('Hide Code')
}
code_shown = !code_shown
}
$( document ).ready(function(){
code_shown=false;
$('div.input').hide()
});
</script>
<form action="javascript:code_toggle()"><input type="submit" id="toggleButton" value="Show Code"></form>
%load_ext tikzmagic
Not so simple for neural models.
t-SNE for dimensionality reduction (van der Maaten and Hinton, 2009)
word2vec:
Train a simple linear classifier on top of BERT
(from Liu et al., 2019)
(from Liu et al., 2019)
Probing by masked language modelling (no extra parameters!)