The notebook in this repository contains utility functions which I found useful for my research. At the moment, it contains:
- Accuracy in Pytorch
- Precision, Recall, F1 in Pytorch
- Setting seeds
- Gradient Clipping
- BERT Word Embeddings
Example usage and unit tests are specified in the notebook.
I've added the environment.yml
for reproducibility of the notebook. However, I've tried to keep each cell self-contained such that users only need to install the dependencies in the cell.
Feel free to use them for your own research (ง︡'-'︠)ง.