Skip to content

Conversation

narenoai
Copy link
Contributor

@narenoai narenoai commented Feb 7, 2025

Summary

Updating this cookbook with the following changes:

  1. Use tiktoken for tokenizer
  2. Use gpt4o as the mode
  3. Increase the chunk size to reflect the higher token limit
  4. Add code snippet to run the translations parallelly

Motivation

The cookbook is a year old that uses an older model, lower chunk size and a different tokenizer. Updated it to reflect the current ecosystem of models, tokenizer and token limits.

Updating this cookbook with the following changes:

1. Use tiktoken for tokenizer
2. Use gpt4o as the mode
3. Increase the chunk size to reflect the higher token limit
4. Add code snippet to run the translations parallelly
Copy link
Contributor

@phundal-openai phundal-openai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, great work Naren

@phundal-openai phundal-openai merged commit 3951f73 into openai:main Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants