Skip to content

Instantly share code, notes, and snippets.

@JeremiahKamama
Created July 9, 2021 06:52
Show Gist options
  • Select an option

  • Save JeremiahKamama/b062a17dac985dfa56dcec6cfdb57888 to your computer and use it in GitHub Desktop.

Select an option

Save JeremiahKamama/b062a17dac985dfa56dcec6cfdb57888 to your computer and use it in GitHub Desktop.
max_tokens = np.mean(num_tokens) + 2 * np.std(num_tokens)
max_tokens = int(max_tokens)
max_tokens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment