Skip to content

Instantly share code, notes, and snippets.

ereday / White-Male-Names.csv
Created Dec 16, 2018 — forked from mbejda/White-Male-Names.csv
Dataset of ~40,000 white (Caucasian) male names for NLP training and analysis. The names have been retrieved from US public inmate records. (last name, first name,gender,race).
View White-Male-Names.csv
We can't make this file beautiful and searchable because it's too large.
last name, first name,gender,race
aaron, billy r ,m,white
aaron, charles d ,m,white
aaron, clarence d ,m,white
aaron, justin c ,m,white
aaron, roy s ,m,white
aaron, william l ,m,white
aaronson, cary ,m,white
abate, manuel j ,m,white
ereday /
Created Oct 5, 2018 — forked from Tushar-N/
How to use pad_packed_sequence in pytorch
import torch
import torch.nn as nn
from torch.autograd import Variable
from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequence
import torch.nn.functional as F
import numpy as np
import itertools
def flatten(l):
return list(itertools.chain.from_iterable(l))
View gist:0d269f88a2862168b42a36aac2796db1
byobu keybindings can be user defined in /usr/share/byobu/keybindings/ (or within .screenrc if byobu-export was used). The common key bindings
F2 - Create a new window
F3 - Move to previous window
F4 - Move to next window