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 random | |
| from itertools import chain, cycle, islice | |
| import torch.utils.data as data | |
| import matplotlib.pyplot as plt | |
| from matplotlib.patches import Rectangle | |
| import time | |
| import torch | |
| import numpy as np |
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
| # required by (\ SHELL COMMANDS \) | |
| SHELL:=/bin/bash | |
| VIRT_ENV_FOLDER = ~/.local/share/virtualenvs/xnli | |
| SOURCE_VIRT_ENV = source $(VIRT_ENV_FOLDER)/bin/activate | |
| .PHONY: train | |
| train: | |
| ( \ |