Skip to content

Commit

Permalink
Notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Bourgeois committed Feb 11, 2019
1 parent 0aac250 commit cd88399
Show file tree
Hide file tree
Showing 12 changed files with 22,553 additions and 7,050 deletions.
Binary file added notebook/BERT-100k_epochs_top100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added notebook/BERT-freq-100k_epochs_top100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added notebook/BERT-freq-200k_epochs_top100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,107 changes: 1,107 additions & 0 deletions notebook/Inspect Attention - Var Naming.ipynb

Large diffs are not rendered by default.

20 changes: 16 additions & 4 deletions notebook/Inspect Attention.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"metadata": {},
"outputs": [],
"source": [
"path = '../funcname_magret/pretraining_output/eval_results_att.txt'"
"path = '../sparse/cls_output/attention_results.tsv'"
]
},
{
Expand All @@ -43,11 +43,23 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 6,
"metadata": {},
"outputs": [],
"outputs": [
{
"data": {
"text/plain": [
"(1155, 1)"
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"vocab = pd.read_csv('../funcname_magret/vocab-code.txt', header=None)"
"vocab = pd.read_csv('../sparse/vocab-code.txt', header=None)\n",
"vocab.shape"
]
},
{
Expand Down
Loading

0 comments on commit cd88399

Please sign in to comment.