Skip to content

Instantly share code, notes, and snippets.

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 saimadhu-polamuri/e4390653f4f8ba61714d41184223d738 to your computer and use it in GitHub Desktop.
Save saimadhu-polamuri/e4390653f4f8ba61714d41184223d738 to your computer and use it in GitHub Desktop.
# Model configurations
optimizer = nlp.begin_training()
batch_size = 5
epochs = 10
# Training the model
train_model(nlp, train_data, optimizer, batch_size, epochs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment