Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for chatgpt-4o-latest #58

Merged
merged 2 commits into from
Jan 8, 2025
Merged

Add support for chatgpt-4o-latest #58

merged 2 commits into from
Jan 8, 2025

Conversation

gjtorikian
Copy link
Collaborator

@gjtorikian gjtorikian commented Jan 8, 2025

zurawiki/tiktoken-rs#85 added a catch-all chatgpt-4o-latest model -> tokenizer mapping, so it should probably be added here too.

More importantly, this PR also updates the rb-sys build dependency, so issues like #32 and #34 should be resolved.

Lastly, after talking to @IAPark, I realized it would be easier to just publish the gems generated by the cross-compile GitHub Action; so I've updated script/release to just accept a run ID:

TIKTOKEN_PUBLISH_KEY=rubygems_... script/release --run-id 1234

That should minimize (if not outright eliminate) build discrepancies .

@gjtorikian gjtorikian merged commit 57d8a77 into main Jan 8, 2025
18 checks passed
@gjtorikian gjtorikian deleted the add-new-new branch January 8, 2025 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant