This file contains hidden or 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
| site '*://*.youtube.com/*' { | |
| unmap j | |
| unmap k | |
| unmap l | |
| unmap < | |
| unmap > | |
| } | |
| let blacklists = ["*://mail.google.com/*","https://keycode.info/*","http://localhost/*"] |
This file contains hidden or 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
| [Trace - 01:37:28 PM] Sending request 'textDocument/hover - (337)'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/translate.py" | |
| }, | |
| "position": { | |
| "line": 79, | |
| "character": 4 | |
| } | |
| } |
This file contains hidden or 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
| [Trace - 12:41:40 PM] Sending request 'initialize - (3495)'. | |
| Params: { | |
| "processId": 6514, | |
| "rootPath": "/home/will/", | |
| "rootUri": "file:///home/will/", | |
| "capabilities": { | |
| "workspace": { | |
| "workspaceEdit": { | |
| "documentChanges": true, | |
| "resourceOperations": [ |
This file contains hidden or 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
| [Trace - 12:41:21 PM] Sending request 'initialize - (3489)'. | |
| Params: { | |
| "processId": 6514, | |
| "rootPath": "/home/will/", | |
| "rootUri": "file:///home/will/", | |
| "capabilities": { | |
| "workspace": { | |
| "workspaceEdit": { | |
| "documentChanges": true, | |
| "resourceOperations": [ |
This file contains hidden or 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
| import torch | |
| from torchtext import data | |
| import numpy as np | |
| from torch.autograd import Variable | |
| def nopeak_mask(size, opt): | |
| np_mask = np.triu(np.ones((1, size, size)), | |
| k=1).astype('uint8') | |
| np_mask = Variable(torch.from_numpy(np_mask) == 0) |
This file contains hidden or 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
| [Trace - 12:30:03 PM] Sending request 'textDocument/hover - (3450)'. | |
| Params: { | |
| "textDocument": { | |
| "uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Batch.py" | |
| }, | |
| "position": { | |
| "line": 14, | |
| "character": 0 | |
| } | |
| } |
Naming axis in tensors (Thu Jan 10 2019)
- Tensor Considered Harmful
- Part I (http://nlp.seas.harvard.edu/NamedTensor)
- Part II http://nlp.seas.harvard.edu/NamedTensor2
- First discussion on the topic : [Proposal] Named Axes/Dimensions or Tensor Shape Annotations · Issue #4164 · pytorch/pytorch (pytorch/pytorch#4164)
- Repo : harvardnlp/namedtensor: Proof of concept for a dynamic named tensor for pytorch (https://github.com/harvardnlp/namedtensor)
- Discussion:
- [D] Tensor Considered Harmful (A polemic against numpy / pytorch and a proposal for a named tensor) : MachineLearning (https://www.reddit.com/r/MachineLearning/comments/accmek/d_tensor_considered_harmful_a_polemic_against/)
- Tensor considered harmful | Hacker News (https://news.ycombinator.com/item?id=18823777)
- harvardnlp on Twitter: “”Tensor Considered Harmful” (https://t.co/iueFvrYT6O). A polemic against numpy / pytorch and a proposal for a named tensor (https://t.co/MVBUm7O
Naming axis in tensors (Thu Jan 10 2019)
- Tensor Considered Harmful
- Part I (http://nlp.seas.harvard.edu/NamedTensor)
- Part II http://nlp.seas.harvard.edu/NamedTensor2
- First discussion on the topic : [Proposal] Named Axes/Dimensions or Tensor Shape Annotations · Issue #4164 · pytorch/pytorch (pytorch/pytorch#4164)
- Repo : harvardnlp/namedtensor: Proof of concept for a dynamic named tensor for pytorch (https://github.com/harvardnlp/namedtensor)
- Discussion:
- [D] Tensor Considered Harmful (A polemic against numpy / pytorch and a proposal for a named tensor) : MachineLearning (https://www.reddit.com/r/MachineLearning/comments/accmek/d_tensor_considered_harmful_a_polemic_against/)
- Tensor considered harmful | Hacker News (https://news.ycombinator.com/item?id=18823777)
- harvardnlp on Twitter: “”Tensor Considered Harmful” (https://t.co/iueFvrYT6O). A polemic against numpy / pytorch and a proposal for a named tensor (https://t.co/MVBUm7OyBq). (Ne