Skip to content

Instantly share code, notes, and snippets.

@Nithilaa
Created July 31, 2021 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nithilaa/d5c3f895b62604d088c915858603b000 to your computer and use it in GitHub Desktop.
Save Nithilaa/d5c3f895b62604d088c915858603b000 to your computer and use it in GitHub Desktop.
# try Compose & Sometimes
# make offline augmentation + pseudo label from my best ensemble
# re-train
text = "What is your recommended book on Bayesian Statistics?"
aug = naf.Sequential([
aug_bert,aug_w2v
])
aug.augment(text, n=10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment