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

Update internal model configs to support default tokenizer_pad_token and chat_template by model type #1078

Merged
merged 7 commits into from
Jan 13, 2025

Conversation

nikg4
Copy link
Collaborator

@nikg4 nikg4 commented Jan 11, 2025

Description

-- Update internal model configs to support default tokenizer_pad_token and chat_template by model type
-- Add gpt2 config for tokenizer_pad_token
-- Move is_custom_model() helper function into a different location

Related issues

Towards OPE-752

Before submitting

  • This PR only changes documentation. (You can ignore the following checks in that case)
  • Did you read the contributor guideline Pull Request guidelines?
  • Did you link the issue(s) related to this PR in the section above?
  • Did you add / update tests where needed?

Reviewers

At least one review from a member of oumi-ai/oumi-staff is required.

Copy link

linear bot commented Jan 11, 2025

OPE-752

@nikg4 nikg4 marked this pull request as ready for review January 11, 2025 23:56
@nikg4 nikg4 merged commit 4dd96e6 into main Jan 13, 2025
2 checks passed
@nikg4 nikg4 deleted the xrdaukar/chat-template-better-cfg branch January 13, 2025 20:37
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.

4 participants