Skip to content

Instantly share code, notes, and snippets.

@pertschuk
Last active December 4, 2019 01:25
Show Gist options
  • Save pertschuk/e56bf0ab1afc8cddb4838a09c4f98650 to your computer and use it in GitHub Desktop.
Save pertschuk/e56bf0ab1afc8cddb4838a09c4f98650 to your computer and use it in GitHub Desktop.
sed 's/ /|n /' $DATA_DIR/collection.tsv | \
sed "s/:/ /g" | sed "s/,/ /g" | sed "s/\./ /g" | \
tr '[:upper:]' '[:lower:]' | stmr | \
vw -i bio_model --ngram n2 --skips n1 --predictions $DATA_DIR/preds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment