-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified plot_attention to ignore padding
- Loading branch information
Showing
10 changed files
with
301 additions
and
1,163 deletions.
There are no files selected for viewing
761 changes: 161 additions & 600 deletions
761
amazon_reviews_classification_HAN/notebooks/05_Visualizing_Attention.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 3 additions & 7 deletions
10
amazon_reviews_classification_HAN/notebooks/figures/pred_neg_real_neg_sent_attn.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
<font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #cdecc7"> xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad liked it online and saw all the rave reviews </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #cbeac4"> xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad but it did nt seem to fit well on me </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #a4da9e"> xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad so i returned it ! </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #ebf7e7"> xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #f1faee"> xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #f3faf0"> xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #f4fbf1"> xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad </span></br> | ||
size="3"; span class="barcode"; style="color: black; background-color: #abdda5"> i am not happy with this xxmaj yvette xxmaj women xxmaj exercise bra . </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #c2e7bb"> xxmaj it is not comfortable at all . </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #bbe4b4"> xxmaj it rubs in all the wrong places . </span></br> |
171 changes: 31 additions & 140 deletions
171
amazon_reviews_classification_HAN/notebooks/figures/pred_neg_real_neg_word_attn.html
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 3 additions & 7 deletions
10
amazon_reviews_classification_HAN/notebooks/figures/pred_neg_real_pos_sent_attn.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
<font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #fb6d4d"> xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxmaj these beads are cute . </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #fdcebb"> xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxmaj you have a variety of sizes and colors . </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #fdd2bf"> xxpad xxpad xxpad xxpad xxpad xxpad xxpad i have made several keychains and bracelets and everyone just loved them . </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #ffece4"> xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #ffefe8"> xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #fff0e9"> xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #fff0e9"> xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad xxpad </span></br> | ||
size="3"; span class="barcode"; style="color: black; background-color: #fc8b6b"> xxmaj great flops for summer ! </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #fcb398"> after 1 summer of regular use ) because they become xxup crazy slippery on wet sidewalk / parking lot . </span></br><font face="monospace" | ||
size="3"; span class="barcode"; style="color: black; background-color: #fdd1be"> i jammed my toe into a curb by accident with my last pair . </span></br> |
Oops, something went wrong.