teaching a transformer to understand how far apart (common) cities are.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
city_distances.csv: check generate_data.py
|
|
|
|
bash -c 'time python generate_data.py'
|
|
|
|
|
|
|
|
train: check train.py
|
|
|
|
bash -c 'time python train.py'
|
|
|
|
|
|
|
|
eval: check eval.py
|
|
|
|
bash -c 'time python eval.py'
|
|
|
|
|
|
|
|
lint:
|
|
|
|
isort --profile=black .
|
|
|
|
black .
|
|
|
|
flake8 --max-line-length=88 .
|
|
|
|
|
|
|
|
check: lint
|
|
|
|
@echo "Checking for unstaged or untracked changes..."
|
|
|
|
@git diff-index --quiet HEAD -- || { echo "Unstaged or untracked changes detected!"; exit 1; }
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf output/
|
|
|
|
rm -rf checkpoints/
|