Skip to content

Instantly share code, notes, and snippets.

@icoxfog417
Last active February 22, 2019 08:27
Show Gist options
  • Save icoxfog417/caeeca7beb18190f6e5080668cf9c848 to your computer and use it in GitHub Desktop.
Save icoxfog417/caeeca7beb18190f6e5080668cf9c848 to your computer and use it in GitHub Desktop.
chariot_demo3.py
for batch in dp(train_data).preprocess().iterate(batch_size=32, epoch=10):
model.train_on_batch(batch["review"], batch["polarity"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment