- Beyond Paragraphs: NLP for Long Sequences - Overview | Resources | Lecture
- Event-Centric Natural Language Processing - Overview | Resources | Lecture
- Towards Reproducible Machine Learning Research in NLP - Overview | Resources | Lecture
- Zero- and Few-Shot NLP with Pretrained Language Models - Overview | Resources | Lecture
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
class POSTagLemmatizer: | |
"""Wrapper around NLTK's WordNetLemmatizer that takes into | |
account token's POS tag.""" | |
ABBR_TO_TAG = { | |
"n": ["NN", "NNS", "NNP", "NNPS"], | |
"v": ["VB", "VBD", "VBG", "VBN", "VBP", "VBZ"], | |
"r": ["RB", "RBR", "RBS"], | |
"a": ["JJ", "JJR", "JJS"], | |
} |
- Matt Holiday's Go class
- Learn Go with Tests
- Go generics the hard way
- ArdanLabs' Go Training Materials
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
import time | |
import scipy as sp | |
import numpy as np | |
def benchmark(decomp, shapes, *, n_experiments=10): | |
def get_fn_name(fn): | |
return f"{fn.__module__}.{fn.__name__}" |