Skip to content

Instantly share code, notes, and snippets.

View epwalsh's full-sized avatar

Pete Walsh epwalsh

  • Central Oregon
  • 12:06 (UTC -07:00)
  • X @epwalsh
View GitHub Profile
@epwalsh
epwalsh / partial_config.jsonnet
Created February 12, 2019 16:27
AllenNLP learning rate schedulers
{
"trainer": {
"cuda_device": 0,
"learning_rate_scheduler": {
"type": "triangular",
// total number of epochs, should match the trainner param `num_epochs` below
"num_epochs": 80,
// increase LR linearly for 20 epochs
"warm_up": 20,
// then decrease LR linearly for 30 epochs
@epwalsh
epwalsh / pull_requests.md
Last active February 22, 2019 18:10
How to make a PR to an open source project without pissing everyone off

Initial setup

Step 1: Fork the repo.

Step 2: Clone your fork locally.

git clone https://github.com/USERNAME/REPO.git
@epwalsh
epwalsh / scrape.sh
Created June 5, 2016 21:41
Python + R libraries to WordCloud
find ~/ISU-DMC/dmc2016 -name '*.h' -o -name '*.R' > RFILES
find ~/ISU-DMC/dmc2016 -name '*.h' -o -name '*.py' > PYFILES